From 98a9af0db5a148a681e14e3cab2079eb94956ed2 Mon Sep 17 00:00:00 2001 From: wappon28dev Date: Mon, 1 Apr 2024 22:36:19 +0900 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20About=20=E3=83=9A=E3=83=BC=E3=82=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/lib/config.ts | 11 ++- client/src/lib/services/api.ts | 2 +- client/src/pages/about/index.astro | 131 ++++++++++++++++++----------- 3 files changed, 93 insertions(+), 51 deletions(-) diff --git a/client/src/lib/config.ts b/client/src/lib/config.ts index fc22e3f..1708fb7 100644 --- a/client/src/lib/config.ts +++ b/client/src/lib/config.ts @@ -23,4 +23,13 @@ export const INFO = { url: "https://9u3rc.us", assets: "https://assets.9u3rc.us/web", }, -}; + about: { + fields: [ + "モーショングラフィックス", + "グラフィックデザイン", + "MV", + "ライブ演出", + ], + tools: ["Adobe After Effects", "Adobe Illustrator"], + }, +} as const; diff --git a/client/src/lib/services/api.ts b/client/src/lib/services/api.ts index 34520c0..715c314 100644 --- a/client/src/lib/services/api.ts +++ b/client/src/lib/services/api.ts @@ -2,7 +2,7 @@ import type { AppType } from "@api/index"; import { hc } from "hono/client"; const ENDPOINT = import.meta.env.PUBLIC_CLIENT_API_ENDPOINT; -const ACCESS_TOKEN = import.meta.env.PUBLIC_CLIENT_API_ACCESS_TOKEN; +// const ACCESS_TOKEN = import.meta.env.PUBLIC_CLIENT_API_ACCESS_TOKEN; if (ENDPOINT == null) { throw new Error("PUBLIC_CLIENT_API_ENDPOINT is not defined"); diff --git a/client/src/pages/about/index.astro b/client/src/pages/about/index.astro index fa9cfce..889b5f6 100644 --- a/client/src/pages/about/index.astro +++ b/client/src/pages/about/index.astro @@ -4,7 +4,8 @@ import Marker from "@client/components/Marker.astro"; import BaseLayout from "@client/layouts/BaseLayout.astro"; import { INFO } from "@client/lib/config"; import { Image } from "astro:assets"; -import { styled as p } from "panda/jsx"; +import { css } from "panda/css"; +import { VStack, styled as p } from "panda/jsx"; import iconInstagram from "~/assets/images/icons/instagram.svg"; import iconVimeo from "~/assets/images/icons/vimeo.svg"; import iconX from "~/assets/images/icons/x.svg"; @@ -61,56 +62,88 @@ const externalLinks = { mdDown: "10", }} > - - - 9u logo - - + - {INFO.name.jp} + 9u logo + + - - {INFO.addr.email.contact} - - - { - Object.entries(externalLinks).map(([key, { icon, href, alt }]) => ( - - {alt} - - )) - } - - - + {INFO.name.jp} + + {INFO.addr.email.contact} + + + { + Object.entries(externalLinks).map( + ([key, { icon, href, alt }]) => ( + + {alt} + + ), + ) + } + + + + + + お問い合わせの際は Contact からお願いいたします。 + + + 分野 + {INFO.about.fields.join("/")} + + + 主な使用ツール + {INFO.about.tools.join("/")} + + +