From 380b2ae0c2193dc24c3f0ebfb8ab5e6ee50fe3a4 Mon Sep 17 00:00:00 2001 From: masakurapa Date: Fri, 20 Mar 2026 22:07:08 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=95=E3=83=83=E3=82=BF=E3=83=BC=E3=82=B3?= =?UTF-8?q?=E3=83=B3=E3=83=9D=E3=83=BC=E3=83=8D=E3=83=B3=E3=83=88=E8=BF=BD?= =?UTF-8?q?=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/footer_logo.svg | 56 +++++++ src/assets/footer_visual.svg | 9 ++ src/components/Footer.astro | 296 +++++++++++++++++++++++++++++++++++ src/constants/index.ts | 5 + src/layouts/Layout.astro | 29 +++- 5 files changed, 394 insertions(+), 1 deletion(-) create mode 100644 src/assets/footer_logo.svg create mode 100644 src/assets/footer_visual.svg create mode 100644 src/components/Footer.astro create mode 100644 src/constants/index.ts diff --git a/src/assets/footer_logo.svg b/src/assets/footer_logo.svg new file mode 100644 index 0000000..9b76934 --- /dev/null +++ b/src/assets/footer_logo.svg @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/assets/footer_visual.svg b/src/assets/footer_visual.svg new file mode 100644 index 0000000..440e1a1 --- /dev/null +++ b/src/assets/footer_visual.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/components/Footer.astro b/src/components/Footer.astro new file mode 100644 index 0000000..3d43457 --- /dev/null +++ b/src/components/Footer.astro @@ -0,0 +1,296 @@ +--- +import { getRelativeLocaleUrl } from "astro:i18n"; +import FooterLogo from "../assets/footer_logo.svg"; +import OpenInNewIcon from "../assets/icons/open_in_new.svg"; +import XLogo from "../assets/icons/x.svg"; +import { constants } from "../constants"; + +const currentLocale = Astro.currentLocale || "ja"; +--- + + + + diff --git a/src/constants/index.ts b/src/constants/index.ts new file mode 100644 index 0000000..36ba79b --- /dev/null +++ b/src/constants/index.ts @@ -0,0 +1,5 @@ +export const constants = { + pageTitle: "Go Conference 2026", + pageDescription: + "Go Conference is a conference for Go programming language users.", +} as const; diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 9600036..ba8a0ac 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -1,5 +1,7 @@ --- import GlobalStyles from "../components/GlobalStyles.astro"; +import Footer from "../components/Footer.astro"; +import FooterVisual from "../assets/footer_visual.svg"; const currentLocale = Astro.currentLocale; --- @@ -22,7 +24,13 @@ const currentLocale = Astro.currentLocale; /> - +
+ +
+ @@ -33,4 +41,23 @@ const currentLocale = Astro.currentLocale; width: 100%; height: 100%; } + + .footer-area { + display: flex; + flex-direction: column; + gap: 4px; + } + + .footer-visual { + display: block; + width: 100%; + height: 300px; + } + + @media (max-width: 1100px) { + .footer-visual { + height: auto; + min-height: 81px; + } + }