Skip to content
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
b8a386c
fix: linter警告対処
Koseeee-27 Feb 21, 2026
e0be75e
feat: 簡易診断の質問と選択肢を決定版に変更
Koseeee-27 Feb 21, 2026
536e997
feat: MBTI画像追加
Koseeee-27 Feb 21, 2026
94c9c0c
feat: 一旦最低限のmbtiの選択のUI作成
Koseeee-27 Feb 21, 2026
c467068
Merge branch 'develop' into feature/diagnosi-ui
Koseeee-27 Feb 21, 2026
53afbda
fix: 画像や音声ファイル場所移動
Koseeee-27 Feb 21, 2026
15aaaa1
feat: 共通ページおよびトップページに背景パターンを追加し、診断コンポーネントとMBTI選択コンポーネントのスタイルをリファクタリングする
Koseeee-27 Feb 21, 2026
409be7f
refactor: BaselineSurvey コンポーネントを更新し、オプションに構造化されたQuestionOption型を使用する…
Koseeee-27 Feb 21, 2026
00536ed
feat: 画像コンポーネントをimgからImageに変更し、サイズ指定を追加
Koseeee-27 Feb 21, 2026
20f58c3
refactor: CSSスタイルの微調整とMBTI選択コンポーネントのコード整形を実施
Koseeee-27 Feb 21, 2026
50307eb
Merge branch 'develop' into feature/diagnosi-ui
Koseeee-27 Feb 21, 2026
8be52f4
fix(frontend): resolve lint warnings in terms game components
ru-se Feb 21, 2026
03a9538
Revert "fix(frontend): resolve lint warnings in terms game components"
ru-se Feb 21, 2026
c706906
style(frontend): MBTI選択コンポーネントのスタイルとテキストを更新し、UIを改善した
Koseeee-27 Feb 22, 2026
162cc94
style(frontend): BaselineSurveyコンポーネントのUIを改善し、質問エリアとプログレスバーのデザインを更新
Koseeee-27 Feb 22, 2026
1aa364e
style(frontend): BaselineSurveyコンポーネントから不要なテキストを削除し、UIを整理する
Koseeee-27 Feb 22, 2026
337d398
style(frontend): 背景修正
Koseeee-27 Feb 22, 2026
7ec821a
style: 背景適応
Koseeee-27 Feb 22, 2026
58bc159
Merge branch 'develop' into feature/diagnosi-ui
Koseeee-27 Feb 22, 2026
33a5234
style(frontend): 背景修正(確認済み)
Koseeee-27 Feb 22, 2026
a01125e
背景のパス修正
ru-se Feb 22, 2026
e1924aa
style(frontend): フォーマット
Koseeee-27 Feb 22, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes
Binary file added frontend/public/images/mbti/ENFJ.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/images/mbti/ENFP.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/images/mbti/ENTJ.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/images/mbti/ENTP.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/images/mbti/ESFJ.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/images/mbti/ESFP.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/images/mbti/ESTJ.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/images/mbti/ESTP.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/images/mbti/INFJ.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/images/mbti/INFP.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/images/mbti/INTJ.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/images/mbti/INTP.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/images/mbti/ISFJ.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/images/mbti/ISFP.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/images/mbti/ISTJ.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/images/mbti/ISTP.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
6 changes: 4 additions & 2 deletions frontend/src/app/diagnosis/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ import DiagnosisFlow from '@/features/diagnosis/components/DiagnosisFlow';

export default function DiagnosisPage() {
return (
<div className="flex min-h-screen flex-col items-center justify-center p-4">
<DiagnosisFlow />
<div className="flex min-h-screen w-full flex-col items-center justify-center bg-page-pattern p-4">
<div className="flex w-full max-w-5xl flex-1 flex-col items-center justify-center">
<DiagnosisFlow />
</div>
</div>
);
}
21 changes: 21 additions & 0 deletions frontend/src/app/globals.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
@import 'tailwindcss';

/* 共通ページ背景: 黄色ベース + 白の水玉模様 */
@utility bg-page-pattern {
background-color: #f0f380;
background-image: radial-gradient(circle, #fff 2px, transparent 2px);
background-size: 20px 20px;
}

/* トップページ用: SVG背景 + 白の水玉オーバーレイ */
@utility bg-top-pattern {
background-image:
radial-gradient(circle, rgba(255, 255, 255, 0.8) 1px, transparent 4px),
url('/images/bg-pattern.svg');
background-size:
16px 16px,
cover;
background-position:
0 0,
center;
background-repeat: repeat, no-repeat;
}

@keyframes fadeInUp {
from {
opacity: 0;
Expand Down
42 changes: 13 additions & 29 deletions frontend/src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'use client';

import Image from 'next/image';
import { useRouter } from 'next/navigation';
import { useState } from 'react';
import type { CSSProperties } from 'react';
Expand Down Expand Up @@ -62,7 +63,7 @@ export default function TopPage() {
const handleStartClick = () => {
setShowExplosion(true);

const audio = new Audio('/start-se.mp3');
const audio = new Audio('/sounds/start-se.mp3');
audio.play().catch(() => {});

setTimeout(() => {
Expand All @@ -75,44 +76,27 @@ export default function TopPage() {
};

return (
<div
className="h-dvh w-full overflow-hidden flex flex-col items-center justify-center"
style={{
backgroundImage: `
radial-gradient(circle, rgba(255,255,255,0.8) 1.0px, transparent 4px),
url('/bg-pattern.svg')
`,
backgroundSize: '16px 16px, cover',
backgroundPosition: '0 0, center',
backgroundRepeat: 'repeat, no-repeat',
}}
>
<div className="flex h-dvh w-full flex-col items-center justify-center overflow-hidden bg-top-pattern">
<div className="flex flex-col items-center gap-[2vh] w-full">
<img
src="/RealYouLogo.png"
<Image
src="/images/RealYouLogo.png"
alt="Real You -本当の私じゃだめですか?-"
className="
max-h-[65vh]
w-auto
object-contain
drop-shadow-2xl
"
width={800}
height={500}
className="max-h-[65vh] w-auto object-contain drop-shadow-2xl"
/>

<div className="relative">
<button
onClick={handleStartClick}
className="transition-all duration-100 ease-out hover:scale-110 active:scale-95 active:opacity-50"
>
<img
src="/StartButton.png"
<Image
src="/images/StartButton.png"
alt="診断スタート"
className="
w-[40vw]
max-w-xs
min-w-[180px]
drop-shadow-md
"
width={320}
height={120}
className="w-[40vw] max-w-xs min-w-[180px] drop-shadow-md"
/>
</button>

Expand Down
6 changes: 3 additions & 3 deletions frontend/src/features/diagnosis/components/BaselineSurvey.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,11 @@ export default function BaselineSurvey() {
<div className="flex flex-col gap-3">
{currentQuestion.options.map((option) => (
<button
key={option}
onClick={() => handleAnswer(option)}
key={option.value}
onClick={() => handleAnswer(option.value)}
className="rounded-lg border-2 border-gray-200 bg-white px-6 py-3 text-left font-medium text-gray-700 transition hover:border-blue-400 hover:bg-blue-50"
>
{option}
{option.label}
</button>
))}
</div>
Expand Down
Loading
Loading