From 6e8da4501e0048c011e18689f123eadf8d0f9841 Mon Sep 17 00:00:00 2001 From: HidemaruOwO Date: Tue, 28 Jan 2025 16:52:05 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20update=20README=20(README.md)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index 52a24ac..b3b828b 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,8 @@ A "410 Gone" frontend page for a Federated SNS. [View Demo Page](https://fedi-go ## Usage 💨 +You need to write `src/consts.ts` according to your instance information. + ```bash git clone https://git.v-sli.me/HidemaruOwO/FediGONE.git cd FediGONE @@ -27,6 +29,24 @@ cd dist vercel deploy --prod ``` +
+View `src/consts.ts` + +```ts +export const DOMAIN = "ap.example.tld"; +export const TITLE = "インスタンスの墓標"; +export const DESCRIPTION = `このインスタンスは閉鎖しました。"${DOMAIN}"を支えていただきありがとうございました。`; +export const MAIN_MESSAGE_LINE: string[] = [ + `このインスタンスは滅んでしまったようです。`, + `ここにあるのは、`, + `インスタンスの墓標です。`, +]; +export const NEXT_INSTANCE_URL = "https://new.example.tld"; +export const NEXT_INSTANCE_MESSAGE = "新しいインスタンスに進む"; +``` + +
+ ## Dependencies 🪡 requirements `bun` or `nodejs` for build astro project.