Skip to content

Commit 281406d

Browse files
authored
Merge pull request #319 from aspnetzero/update-public-website-documents
Updated Public Website document
2 parents e075d05 + 2f73864 commit 281406d

7 files changed

Lines changed: 11 additions & 10 deletions

docs/en/Public-Website.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,23 @@ Note that, in development time script files are not minified. When you are publi
1010

1111
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.
1212

13-
<img src="images/frontend-homepage.jpg" alt="Frontend home page" class="img-thumbnail" width="500" height="496" />
13+
<div style="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>
1416

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.
1618

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.
1820

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.
2022

2123
## Layout
2224

2325
Layout of front-end pages are located under **Views/Layout** folder:
2426

25-
<img src="images/frontend-layout-views-core.png" alt="Frontend layout views" class="img-thumbnail" width="193" height="253" />
27+
<img src="images/frontend-layout-views-core.png" alt="Frontend layout views" class="img-thumbnail" />
2628

27-
**\_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.
2930

3031
## New Tenant Registration
3132

@@ -35,15 +36,15 @@ When you click "**New Tenant**" link (at the top right area) you are redirected
3536

3637
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:
3738

38-
<img src="images/tenant-signup-v3.png" alt="Tenant register form" class="img-thumbnail" />
39+
<img src="images/tenant-signup-v4.png" alt="Tenant register form" class="img-thumbnail" />
3940

4041
## Single Sign On
4142

4243
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
4344
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:
4445

45-
<img src="images/public-web-site-login-username.png" alt="public web site login username" class="img-thumbnail" width="256" height="140" />
46+
<img src="images/public-web-site-login-username.png" alt="public web site login username" class="img-thumbnail" />
4647

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.
4849

4950
This configuration is properly set for the development environment. You should change it when you publish your project.
-37 KB
Binary file not shown.
183 KB
Loading
5.8 KB
Loading
70.1 KB
Loading
57 Bytes
Loading
45.7 KB
Loading

0 commit comments

Comments
 (0)