Skip to content

Commit

Permalink
Merge pull request #41 from Dataatti/brand-update
Browse files Browse the repository at this point in the history
First iteration of brand update
  • Loading branch information
PetroSilenius authored Feb 14, 2022
2 parents 25fa4fd + f753fc6 commit 8829273
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 6 deletions.
4 changes: 2 additions & 2 deletions components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ import { Container, Divider, Grid, Link, Paper, Typography } from '@mui/material

const Header = () => {
return (
<Paper sx={{ bgcolor: 'grey.800', color: 'common.white' }}>
<Paper sx={{ color: 'common.black', bgcolor: '#F1F8FF' }}>
<Container>
<Typography align="center" sx={{ p: '20px' }}>
Business Finlandin mukaan sertifiointi on laadun tae kansainvälisessä kaupassa.
Matkailualan monimuotoisuus on kuitenkin mahdollistanut sen, että myös sertifikaatin
tarjoajia on hyvin paljon. Ideana on tuottaa nyt hankalasti ja pirstoutuneena oleva tieto
yhteen paikkaan kaikkien toimijoiden avoimesti saataville.
</Typography>
<Divider sx={{ bgcolor: 'common.white' }} />
<Divider sx={{ borderColor: 'common.black' }} />
<Grid container justifyContent="space-around" sx={{ p: '10px' }}>
<Grid item>
<Link href="https://european-union.europa.eu/index_fi" color="inherit">
Expand Down
11 changes: 8 additions & 3 deletions components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ import { useRouter } from 'next/router';
const Header = () => {
const router = useRouter();
return (
<AppBar position="static" color="inherit">
<AppBar position="static" color="inherit" sx={{ bgcolor: '#222222' }}>
<Container>
<Grid container justifyContent="space-between" alignItems="center">
<Grid item>
<Link href="/" passHref>
<MuiLink underline="none">
<Typography
component="h1"
sx={{ fontWeight: '500', fontSize: '22px', p: '7px', color: 'text.primary' }}
sx={{ fontWeight: '500', fontSize: '22px', p: '7px', color: 'common.white' }}
>
Matkailualan
<br /> sertifikaatit
Expand All @@ -24,7 +24,12 @@ const Header = () => {
{router.pathname !== '/' && (
<Grid item>
<Link href="/" passHref>
<MuiLink data-testid="link-to-search">Yrityshakuun</MuiLink>
<MuiLink
data-testid="link-to-search"
sx={{ color: '#BCE3BF', textDecorationColor: '#BCE3BF' }}
>
Yrityshakuun
</MuiLink>
</Link>
</Grid>
)}
Expand Down
14 changes: 13 additions & 1 deletion theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ import { createTheme } from '@mui/material/styles';
const theme = createTheme({
palette: {
primary: {
main: '#F97C80',
main: '#1D764A',
contrastText: '#DBEEFE',
},
common: {
black: '#2222222',
},
},
typography: {
Expand All @@ -13,7 +17,15 @@ const theme = createTheme({
MuiButton: {
styleOverrides: {
root: {
backgroundColor: '#1D764A',
color: '#FFFFFF',
textTransform: 'none',
'&:hover': {
backgroundColor: '#1D764ACC',
},
'& .MuiSvgIcon-root': {
marginRight: '4px',
}
},
},
},
Expand Down

1 comment on commit 8829273

@vercel
Copy link

@vercel vercel bot commented on 8829273 Feb 14, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.