From 5ead18c94cf02adedcd6e9c9672f6a878ccf0e15 Mon Sep 17 00:00:00 2001 From: Anthony LC Date: Mon, 10 Feb 2025 15:20:07 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=AC(frontend)=20add=20lacking=20button?= =?UTF-8?q?s=20open=20source=20section?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some buttons were lacking in the open source section of the home page. This commit adds them. --- .../src/features/home/assets/github.svg | 26 +++++++++++++++++++ .../features/home/components/HomeBottom.tsx | 25 +++++++++++++++++- 2 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 src/frontend/apps/impress/src/features/home/assets/github.svg diff --git a/src/frontend/apps/impress/src/features/home/assets/github.svg b/src/frontend/apps/impress/src/features/home/assets/github.svg new file mode 100644 index 00000000..7189d446 --- /dev/null +++ b/src/frontend/apps/impress/src/features/home/assets/github.svg @@ -0,0 +1,26 @@ + + + + + + + + + + diff --git a/src/frontend/apps/impress/src/features/home/components/HomeBottom.tsx b/src/frontend/apps/impress/src/features/home/components/HomeBottom.tsx index 7f2dbad9..e5cba926 100644 --- a/src/frontend/apps/impress/src/features/home/components/HomeBottom.tsx +++ b/src/frontend/apps/impress/src/features/home/components/HomeBottom.tsx @@ -1,3 +1,4 @@ +import { Button } from '@openfun/cunningham-react'; import Image from 'next/image'; import { Trans, useTranslation } from 'react-i18next'; import { css } from 'styled-components'; @@ -10,6 +11,7 @@ import { Title } from '@/features/header'; import { useResponsiveStore } from '@/stores'; import SC5 from '../assets/SC5.png'; +import GithubIcon from '../assets/github.svg'; import { HomeSection } from './HomeSection'; @@ -72,7 +74,7 @@ function HomeOpenSource() { - You can easily self-host Docs (check our installation{' '} + You can easily self-hosted Docs (check our installation{' '} + + + + } />