From afcbebce28ff3adf4e826a85d4987fd4aa46fbe5 Mon Sep 17 00:00:00 2001 From: Git-Yuya <84259422+Git-Yuya@users.noreply.github.com> Date: Sun, 30 Nov 2025 14:20:11 +0900 Subject: [PATCH 1/5] chore: Update project title (#23) --- index.html | 2 +- src/components/Header.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index c88bad2..e572339 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ - コメントピックアプリ + 講義アンケート分析ダッシュボード
diff --git a/src/components/Header.tsx b/src/components/Header.tsx index d018b9d..fd2afc4 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -18,7 +18,7 @@ export function Header({ showBackButton, onBackClick }: HeaderProps) { )}
- 講義分析システム + 講義アンケート分析ダッシュボード
From 88e2d79ffdcf96252dc95a93152e9578e44700f3 Mon Sep 17 00:00:00 2001 From: Git-Yuya <84259422+Git-Yuya@users.noreply.github.com> Date: Sun, 30 Nov 2025 14:22:31 +0900 Subject: [PATCH 2/5] chore: Update application favicon (#23) --- index.html | 2 +- public/favicon.svg | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 public/favicon.svg diff --git a/index.html b/index.html index e572339..8f24157 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@ - + 講義アンケート分析ダッシュボード diff --git a/public/favicon.svg b/public/favicon.svg new file mode 100644 index 0000000..90fb43d --- /dev/null +++ b/public/favicon.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + From 33934d9ba7c56bfbcfa991b5dfde02159209f204 Mon Sep 17 00:00:00 2001 From: Git-Yuya <84259422+Git-Yuya@users.noreply.github.com> Date: Sun, 30 Nov 2025 14:24:18 +0900 Subject: [PATCH 3/5] chore: Remove unused files (#23) --- public/.gitkeep | 0 src/assets/.gitkeep | 0 src/components/figma/ImageWithFallback.tsx | 27 ---------------------- 3 files changed, 27 deletions(-) delete mode 100644 public/.gitkeep delete mode 100644 src/assets/.gitkeep delete mode 100644 src/components/figma/ImageWithFallback.tsx diff --git a/public/.gitkeep b/public/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/src/assets/.gitkeep b/src/assets/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/src/components/figma/ImageWithFallback.tsx b/src/components/figma/ImageWithFallback.tsx deleted file mode 100644 index dc80d3f..0000000 --- a/src/components/figma/ImageWithFallback.tsx +++ /dev/null @@ -1,27 +0,0 @@ -import React, { useState } from 'react'; - -const ERROR_IMG_SRC = - 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iODgiIGhlaWdodD0iODgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBvcGFjaXR5PSIuMyIgZmlsbD0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIzLjciPjxyZWN0IHg9IjE2IiB5PSIxNiIgd2lkdGg9IjU2IiBoZWlnaHQ9IjU2IiByeD0iNiIvPjxwYXRoIGQ9Im0xNiA1OCAxNi0xOCAzMiAzMiIvPjxjaXJjbGUgY3g9IjUzIiBjeT0iMzUiIHI9IjciLz48L3N2Zz4KCg=='; - -export function ImageWithFallback(props: React.ImgHTMLAttributes) { - const [didError, setDidError] = useState(false); - - const handleError = () => { - setDidError(true); - }; - - const { src, alt, style, className, ...rest } = props; - - return didError ? ( -
-
- Error loading image -
-
- ) : ( - {alt} - ); -} From e0611c1c2142c483b9924f7f96a1f3083c05b885 Mon Sep 17 00:00:00 2001 From: Git-Yuya <84259422+Git-Yuya@users.noreply.github.com> Date: Sun, 30 Nov 2025 14:25:41 +0900 Subject: [PATCH 4/5] chore: Change build output directory from build to dist (#23) --- vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index f1c09ac..6d72920 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -16,7 +16,7 @@ export default defineConfig(({ mode }) => { }, build: { target: 'esnext', - outDir: 'build', + outDir: 'dist', }, server: { proxy: { From 8649b6078a6f1f8d284db60288f4d7f4b99cb107 Mon Sep 17 00:00:00 2001 From: Git-Yuya <84259422+Git-Yuya@users.noreply.github.com> Date: Sun, 30 Nov 2025 14:34:06 +0900 Subject: [PATCH 5/5] docs: Add explanation of application startup URL to README (#23) --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 05f9aa1..57d2dfa 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,8 @@ npm install ``` ### 4. 環境変数の設定 +> **Note:** `mockup`ブランチを使用している場合は、環境変数の設定は不要です。 + `.env.example`をコピーして`.env`ファイルを作成してください。 ```bash cp .env.example .env @@ -34,11 +36,11 @@ cp .env.example .env VITE_API_TARGET="https://your-api-domain.com" ``` -> **Note:** `mockup`ブランチを使用する場合は、`.env`ファイルの設定は不要です。 - ### 5. 開発サーバーの起動 ```bash npm run dev ``` ### 6. ブラウザでURLにアクセス +既定では`http://localhost:5173/`が起動します。
+もし 5173 ポートが使用中の場合は、別ポートに割り当てられることがあります。