You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/Public-Website.md
+11-10Lines changed: 11 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,22 +10,23 @@ Note that, in development time script files are not minified. When you are publi
10
10
11
11
We are ready to run the application using Visual Studio. So, just run the application using Visual Studio and it will display the main page of the Public website project.
12
12
13
-
<imgsrc="images/frontend-homepage.jpg"alt="Frontend home page"class="img-thumbnail"width="500"height="496" />
13
+
<divstyle="text-align: center;">
14
+
<img src="images/frontend-homepage.png" alt="Frontend home page" class="img-thumbnail text-center" width="700" height="398" />
15
+
</div>
14
16
15
-
There are two pages here: **Home Page** and **About**. Contents of these pages are just placeholders and for demo purposes. You can completely remove content and build your page upon your needs. Also, you should change the **logo**with your Company's logo.
17
+
There is one page here: **Home Page**. Content of this page is just placeholders and for demo purposes. You can completely remove content and build your page upon your needs. when you update the **logo**in the ASP.NET Zero application panel, the change will also be reflected on the Public Website.
16
18
17
-
See [metronic front-end theme](http://keenthemes.com/free-bootstrap-templates/multi-purpose-corporate-frontend-themefreebie-corporate-frontend-theme/) for all possibilities and components to build a richer web site.
19
+
See [metronic 8 landing page theme](https://preview.keenthemes.com/metronic8/demo1/landing.html) for all possibilities and components to build a richer web site.
18
20
19
-
Menus are defined in **FrontEndNavigationProvider** class. When you add a new menu item here, it will be automatically shown in the menu. There is a **Login** link at the top right corner. This link takes user to the **Login page** to enter to the **Angular**application. After the login, user will be redirected back to public website.
21
+
There is a **Login** link at the top right corner. This link takes the user to the **Login**page to enter the application. After logging in, the user will be redirected back to the public website. Additionally, there is a language switcher dropdown at the top right corner.
20
22
21
23
## Layout
22
24
23
25
Layout of front-end pages are located under **Views/Layout** folder:
**\_Layout** is the main layout file that includes scripts and styles. Language flags and the menu is rendered in **Header component** which is located under Shared/Components. \_PreFooter is not used but you can add
28
-
it to the \_Layout if you want.
29
+
**\_Layout** is the main layout file that includes scripts and styles. The menu is rendered in **Header component** which is located under Shared/Components.
29
30
30
31
## New Tenant Registration
31
32
@@ -35,15 +36,15 @@ When you click "**New Tenant**" link (at the top right area) you are redirected
35
36
36
37
Actually, this UI is located in the main application. When you pick an edition, you are redirected to the payment or register form depending on the button you clicked. Register form is shown as below:
Public web site has a login integration to the main application. When you click to login button (at the top right area) you are redirected to the main application. If you are already logged then you automatically
43
44
login in the public web site too. If not, you can enter your username and password to login. Then you are redirected back to the public web site and your username is shown at the top right:
44
45
45
-
<imgsrc="images/public-web-site-login-username.png"alt="public web site login username"class="img-thumbnail"width="256"height="140"/>
46
+
<imgsrc="images/public-web-site-login-username.png"alt="public web site login username"class="img-thumbnail" />
46
47
47
-
To make this working, public web site must know URL of Angular app. This is configured in the **appsettings.json** of the **Web.Public** project, set **AdminWebSiteRootAddress** to root URL of the main application.
48
+
To make this working, public web site must know URL of app. This is configured in the **appsettings.json** of the **Web.Public** project, set **AdminWebSiteRootAddress** to root URL of the main application.
48
49
49
50
This configuration is properly set for the development environment. You should change it when you publish your project.
0 commit comments