3 mins read
Part 2: Create your first page using UI Builder
Navigate to UI Builder
- Navigate to Now Experience Framework > Experiences.
- Open the Experience for Panda Tech.
- On the right side of the form, Besides the Admin panel, Click on the (i) Icon to open the Admin panel.
- Click Open UI Builder.
Alternatively,
- Navigate to Now Experience Framework > UI Builder.
- From My experience, Click Panda Tech
Create your first page
- Click on Create a page.
- Fill in the fields, as appropriate.
- Name – Login
- Path – login
- Click Create
- On the Parameters screen, Click ok (We will create page with params later in this series)
Add Container to your page
- Click on the (+) to add your first component
- In search box, type Container and select.
- From the properties window, click on Layout
- Select layout with 8fr 4fr (This will be 2 column layout with 1 column occupying 8 of the grids and other one with 4 grids).
- End result should be something like this.
Add banner text and tagline to the left side of the layout for the login page
- Click (+) to add the component on the left side of the container which is called main by default.
- In search box, type stylized text and select.
- Select the component we just drag and Make sure the properties are listed for the selected component.
- Set the text as Welcome to Panda Tech.
- While stylized text component selected, add one more stylized text in the bottom.
- In the component properties,
- Set the text as Where Pandas meet technology.
- Select HTML tag property as Span.
- Goto Style and copy following snippet.
* { font-size: 20px; }
- Let’s keep this text and all other content we add in the future, in the center. In order to do that, click main from the component structure on the left and select center in Align items property.
- End result should be something like this
Add banner image to the main side of the layout for the login page
- Let’s add a simple image for Panda Tech in db_image.
- Navigate to Images from the platform view.
- Click New.
- Fill in the fields, as appropriate.
- Active – true
- Category – Content management
- Name – panda_tech_login.png
- Upload following image. (Image on the bottom with just Panda)
- From the UI Builder, select the stylized component we added and click (+) on the bottom to add the component after.
- In search box, type image and select.
- Default image should popup.
- From the properties,
- Image source: /panda_tech_login.png
- Fit – Expand to fill
- Position – Center
- Click Save.
- End result should be something like this.
Add a login header text to the sidebar of the layout
- With sidebar selected, In the component properties, select CSS styles and add following snippet.
* { display: flex; flex-direction: column; align-items: center; background-color: whitesmoke; justify-content: center; }
- With sidebar selected, click (+) to add component.
- In search box, type stylized text and select.
- In the component properties,
- Text – Login to proceed
- HTML Tag – Span
- Style
* { font-size: 36px; padding: 30px; font-weight: 600; }
Add a login component to the sidebar of the layout
- With Stylized text selected from the last step, Click (+) to add component after.
- In search box, type login and select.
- Click Save.
- End result should be something like this
Great!! We have created our very first page for the Portal Panda Tech.