From 9b813998cdfe574f0fd7e06dc329304f625c6420 Mon Sep 17 00:00:00 2001 From: Kalidou Diagne Date: Sun, 10 Nov 2024 03:00:18 +0100 Subject: [PATCH] banner in homepage --- app/[lang]/page.tsx | 39 +++++++++++++++++++ .../images/devcon-7-banner-title-desktop.svg | 4 ++ .../images/devcon-7-banner-title-mobile.svg | 4 ++ 3 files changed, 47 insertions(+) create mode 100644 public/images/devcon-7-banner-title-desktop.svg create mode 100644 public/images/devcon-7-banner-title-mobile.svg diff --git a/app/[lang]/page.tsx b/app/[lang]/page.tsx index b055972a..6465866f 100644 --- a/app/[lang]/page.tsx +++ b/app/[lang]/page.tsx @@ -6,6 +6,7 @@ import PSELogo from "@/public/icons/archstar.webp" import { motion } from "framer-motion" import { siteConfig } from "@/config/site" +import { AppContent } from "@/components/ui/app-content" import { Button } from "@/components/ui/button" import { Label } from "@/components/ui/label" import { Banner } from "@/components/banner" @@ -18,12 +19,50 @@ import { WhatWeDo } from "@/components/sections/WhatWeDo" import { useTranslation } from "../i18n/client" +const Devcon7Banner = () => { + return ( +
+ +
+ Devcon 7 Banner + + Devcon 7 Banner + + BANGKOK, THAILAND // NOVEMBER 2024 + + + SEE THE SCHEDULE + + +
+
+
+ ) +} + export default function IndexPage({ params: { lang } }: any) { const { t } = useTranslation(lang, "homepage") const { t: common } = useTranslation(lang, "common") return (
+ + + + diff --git a/public/images/devcon-7-banner-title-mobile.svg b/public/images/devcon-7-banner-title-mobile.svg new file mode 100644 index 00000000..b2ce5365 --- /dev/null +++ b/public/images/devcon-7-banner-title-mobile.svg @@ -0,0 +1,4 @@ + + + +