From 5ef5706eee6d37d9fd8fb1fde91af7f78b7cc0e1 Mon Sep 17 00:00:00 2001 From: Aitor Urrutia Date: Mon, 17 Jan 2022 14:04:35 +0100 Subject: [PATCH] feat: sare sozialak sartzen ditu --- front/src/pages/index.tsx | 64 ++++++++++++++++++++++++++++++++++++--- 1 file changed, 59 insertions(+), 5 deletions(-) diff --git a/front/src/pages/index.tsx b/front/src/pages/index.tsx index face143..1ed0926 100644 --- a/front/src/pages/index.tsx +++ b/front/src/pages/index.tsx @@ -6,6 +6,9 @@ import { Container } from '../components/Container'; import { GlobalStyles } from '../ui/GlobalStyles'; import { font, media, size } from '../ui/theme'; import LabaLogo from '../assets/logo.svg'; +import InstagramLogo from '../assets/instagram.svg'; +import TwitterLogo from '../assets/twitter.svg'; + import { Helmet } from 'react-helmet'; interface DataProps { @@ -49,10 +52,26 @@ const IndexPage: React.VFC = () => { - -

Gazteluko plaza 2

-

Iruñea

-
+ + +

Gazteluko plaza 2

+

Iruñea

+
+ + + + + + + + + + + + + + +
@@ -79,22 +98,57 @@ const LogoWrapper = styled.div` `} `; +const Kontaktua = styled.div` + display: flex; +`; + +const SareSoziala = styled.li` + width: ${rem(size.base)}; + height: ${rem(size.base)}; + :not(:last-child) { + margin-right: ${rem(size.small)}; + } +`; + +const Instagram = styled(InstagramLogo)` + width: ${rem(size.base)}; + height: ${rem(size.base)}; + path { + fill: white; + } +`; + +const Twitter = styled(TwitterLogo)` + width: ${rem(size.base)}; + height: ${rem(size.base)}; + path { + fill: white; + } +`; + const Logo = styled(LabaLogo)` path { fill: white; } `; +const SareSozialak = styled.ul` + display: flex; + align-items: center; + list-style-type: none; +`; + const Helbidea = styled.address` - align-self: start; border-right: 3px solid white; padding-right: ${rem(size.small)}; + margin-right: ${rem(size.small)}; ${font.tiny()}; `; const Gainburua = styled.header` padding: ${rem(size.tiny)}; display: flex; + align-items: start; justify-content: space-between; margin-bottom: ${rem(size.base)};