feat: oinean pribatutasun politika sartzen du

This commit is contained in:
2022-05-30 22:06:11 +02:00
parent e584bd8fcc
commit ba488c894e
2 changed files with 19 additions and 2 deletions

View File

@@ -2,11 +2,12 @@ import { Link } from 'gatsby';
import { rem } from 'polished'; import { rem } from 'polished';
import React from 'react'; import React from 'react';
import styled from 'styled-components'; import styled from 'styled-components';
import { size } from '../ui/theme'; import { colors, size } from '../ui/theme';
export const Oina: React.VFC = () => ( export const Oina: React.VFC = () => (
<Wrapper> <Wrapper>
<Link to="/lege-oharra">Lege-oharra</Link> <Esteka to="/lege-oharra">Lege oharra</Esteka>
<Esteka to="/pribatutasun-politika">Pribatutasun politika</Esteka>
</Wrapper> </Wrapper>
); );
@@ -15,3 +16,14 @@ const Wrapper = styled.footer`
justify-content: center; justify-content: center;
padding: ${rem(size.base)}; padding: ${rem(size.base)};
`; `;
const Esteka = styled(Link)`
&:not(:last-child) {
margin-right: ${rem(size.mini)};
}
transition: color 500ms ease-out 100ms;
&:hover {
color: ${colors.morea};
}
`;

View File

@@ -104,6 +104,11 @@ const Botoia = styled.a`
cursor: pointer; cursor: pointer;
display: flex; display: flex;
align-items: center; align-items: center;
transition: color 500ms ease-out 100ms;
&:hover {
color: ${colors.morea};
}
`; `;
const GeziaLogo = styled(Gezia)` const GeziaLogo = styled(Gezia)`