From bc0fd7fd0268c130883e42929f37f359ebee5b85 Mon Sep 17 00:00:00 2001 From: Aoi Kondo Date: Tue, 2 Jul 2024 13:07:49 +0900 Subject: [PATCH] Major-Update: Change the version and code-name Signed-off-by: Aoi Kondo --- frontend/config.json | 4 +++- frontend/src/components/common/footer/footer.tsx | 3 ++- frontend/src/types/config.d.tsx | 2 ++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/frontend/config.json b/frontend/config.json index 252b0a8..0057030 100644 --- a/frontend/config.json +++ b/frontend/config.json @@ -1,4 +1,6 @@ { "domain":"http://localhost", - "apiPort": 8080 + "apiPort": 8080, + "version": "1.0.0", + "codeName": "Alpha" } diff --git a/frontend/src/components/common/footer/footer.tsx b/frontend/src/components/common/footer/footer.tsx index 62d8eb4..71dd31a 100644 --- a/frontend/src/components/common/footer/footer.tsx +++ b/frontend/src/components/common/footer/footer.tsx @@ -1,9 +1,10 @@ import React from "react"; +import Config from "../../../../config.json"; export default function Footer(){ return ( ) } diff --git a/frontend/src/types/config.d.tsx b/frontend/src/types/config.d.tsx index 12287e7..13c7810 100644 --- a/frontend/src/types/config.d.tsx +++ b/frontend/src/types/config.d.tsx @@ -2,6 +2,8 @@ declare module 'config.json' { interface Config { domain: string; apiPort: number; + version: string; + codename: string; } const value: Config;