From a262dc632870692fa65d32fa5003d5a88b64cc06 Mon Sep 17 00:00:00 2001 From: Skydust Date: Sun, 10 Sep 2023 22:56:29 +0200 Subject: [PATCH] Actual basic footer. Need to add everything tina related. --- assets/img/facebook.svg | 1 + assets/img/instagram.svg | 1 + components/blocks/carousel.tsx | 2 +- components/layout/footer/footer.tsx | 39 ++++++++++++++++------------- components/layout/layout.tsx | 2 +- styles/_styles.scss | 6 +++++ styles/footer.scss | 19 ++++++++++++++ 7 files changed, 51 insertions(+), 19 deletions(-) create mode 100644 assets/img/facebook.svg create mode 100644 assets/img/instagram.svg create mode 100644 styles/footer.scss diff --git a/assets/img/facebook.svg b/assets/img/facebook.svg new file mode 100644 index 0000000..205b3c4 --- /dev/null +++ b/assets/img/facebook.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/img/instagram.svg b/assets/img/instagram.svg new file mode 100644 index 0000000..b3cb954 --- /dev/null +++ b/assets/img/instagram.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/components/blocks/carousel.tsx b/components/blocks/carousel.tsx index f114e47..b88c21c 100644 --- a/components/blocks/carousel.tsx +++ b/components/blocks/carousel.tsx @@ -29,7 +29,7 @@ export const Carousel: PageBlockFunction = ({ data }) => { dynamicHeight={ false } interval={ data.speed || 3000 }> { data?.images?.map(imageUrl => ( -
+
)) } diff --git a/components/layout/footer/footer.tsx b/components/layout/footer/footer.tsx index 12965e6..ef76553 100644 --- a/components/layout/footer/footer.tsx +++ b/components/layout/footer/footer.tsx @@ -1,29 +1,34 @@ import React from "react"; -import Link from "next/link"; -import { FaFacebookF, FaGithub, FaTwitter } from "react-icons/fa"; -import { AiFillInstagram } from "react-icons/ai"; import { Container } from "../../util/container"; -import { RawRenderer } from "./rawRenderer"; import { ObjectField } from "@tinacms/schema-tools/dist/types"; -import TagManager from "react-gtm-module"; +import facebookImage from "../../../assets/img/facebook.svg"; +import instagramImage from "../../../assets/img/instagram.svg"; export const Footer = ({ data, rawData }) => { return ( -