From 1e77205518ec856edd15758b8132305b8cb67337 Mon Sep 17 00:00:00 2001 From: Ben Grant Date: Sat, 20 May 2023 13:03:00 +1000 Subject: [PATCH] Convert download buttons and hide footer in app --- frontend/src/app/page.tsx | 39 +----------- .../DownloadButtons.module.scss | 8 +++ .../DownloadButtons/DownloadButtons.tsx | 61 +++++++++++++++++++ frontend/src/components/Footer/Footer.tsx | 7 ++- 4 files changed, 78 insertions(+), 37 deletions(-) create mode 100644 frontend/src/components/DownloadButtons/DownloadButtons.module.scss create mode 100644 frontend/src/components/DownloadButtons/DownloadButtons.tsx diff --git a/frontend/src/app/page.tsx b/frontend/src/app/page.tsx index 1cb8b63..22a099d 100644 --- a/frontend/src/app/page.tsx +++ b/frontend/src/app/page.tsx @@ -3,6 +3,7 @@ import Link from 'next/link' import Button from '/src/components/Button/Button' import Content from '/src/components/Content/Content' +import DownloadButtons from '/src/components/DownloadButtons/DownloadButtons' import Footer from '/src/components/Footer/Footer' import Header from '/src/components/Header/Header' import { default as P } from '/src/components/Paragraph/Paragraph' @@ -43,45 +44,11 @@ const Page = async () => { {/* @ts-expect-error Async Server Component */} -

Crab Fit helps you fit your event around everyone's schedules. Simply create an event above and send the link to everyone that is participating. Results update live and you will be able to see a heat-map of when everyone is free.
Learn more about how to Crab Fit.

+

Crab Fit helps you fit your event around everyone's schedules. Simply create an event above and send the link to everyone that is participating. Results update live and you will be able to see a heat-map of when everyone is free.
Learn more about how to Crab Fit.