Skip to content

Commit f91c7a8

Browse files
committed
Add styling to header
Add color and size properties to header title Add mail address to contact tab
1 parent ec909b0 commit f91c7a8

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

src/app/AppLayout/AppLayout.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const AppLayout: React.FunctionComponent<IAppLayout> = ({ children }) => {
9595
href='https://imagedirectory.cloud'
9696
alt='Cloud Image Directory'
9797
className='header-section'>
98-
<Title headingLevel='h1' size='lg' className='header-text'>
98+
<Title headingLevel='h1' className="header-title">
9999
Cloud Image Directory
100100
</Title>
101101
</MastheadBrand>

src/app/app.css

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ html, body, #root {
22
height: 100%;
33
}
44

5+
.header-title {
6+
size: lg;
7+
color: white;
8+
}
9+
510
.hero-section {
611
background-color: black;
712
}

src/app/routes.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const routes: AppRouteConfig[] = [
4747
component: <Home title='Cloud Image Directory | Contact Us' />,
4848
exact: true,
4949
label: 'Contact Us',
50-
path: '/contact',
50+
path: 'mailto: contact@imagedirectory.cloud',
5151
},
5252
{
5353
component: <ImageDetails title='Cloud Image Directory | Image Details' />,

0 commit comments

Comments
 (0)