Skip to content

Commit

Permalink
Add styling to header
Browse files Browse the repository at this point in the history
Add color and size properties to header title
Add mail address to contact tab
  • Loading branch information
F-X64 committed Aug 25, 2023
1 parent ec909b0 commit f91c7a8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/AppLayout/AppLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const AppLayout: React.FunctionComponent<IAppLayout> = ({ children }) => {
href='https://imagedirectory.cloud'
alt='Cloud Image Directory'
className='header-section'>
<Title headingLevel='h1' size='lg' className='header-text'>
<Title headingLevel='h1' className="header-title">
Cloud Image Directory
</Title>
</MastheadBrand>
Expand Down
5 changes: 5 additions & 0 deletions src/app/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ html, body, #root {
height: 100%;
}

.header-title {
size: lg;
color: white;
}

.hero-section {
background-color: black;
}
Expand Down
2 changes: 1 addition & 1 deletion src/app/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const routes: AppRouteConfig[] = [
component: <Home title='Cloud Image Directory | Contact Us' />,
exact: true,
label: 'Contact Us',
path: '/contact',
path: 'mailto: contact@imagedirectory.cloud',
},
{
component: <ImageDetails title='Cloud Image Directory | Image Details' />,
Expand Down

0 comments on commit f91c7a8

Please sign in to comment.