From ba488c894e6b0056781fa64ddc1b80bb6229a065 Mon Sep 17 00:00:00 2001 From: Aitor Urrutia Aranburu Date: Mon, 30 May 2022 22:06:11 +0200 Subject: [PATCH] feat: oinean pribatutasun politika sartzen du --- front/src/components/Oina.tsx | 16 ++++++++++++++-- front/src/pages/index.tsx | 5 +++++ 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/front/src/components/Oina.tsx b/front/src/components/Oina.tsx index 39c7b19..e008808 100644 --- a/front/src/components/Oina.tsx +++ b/front/src/components/Oina.tsx @@ -2,11 +2,12 @@ import { Link } from 'gatsby'; import { rem } from 'polished'; import React from 'react'; import styled from 'styled-components'; -import { size } from '../ui/theme'; +import { colors, size } from '../ui/theme'; export const Oina: React.VFC = () => ( - Lege-oharra + Lege oharra + Pribatutasun politika ); @@ -15,3 +16,14 @@ const Wrapper = styled.footer` justify-content: center; 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}; + } +`; diff --git a/front/src/pages/index.tsx b/front/src/pages/index.tsx index 3098693..ed26a59 100644 --- a/front/src/pages/index.tsx +++ b/front/src/pages/index.tsx @@ -104,6 +104,11 @@ const Botoia = styled.a` cursor: pointer; display: flex; align-items: center; + + transition: color 500ms ease-out 100ms; + &:hover { + color: ${colors.morea}; + } `; const GeziaLogo = styled(Gezia)`