feat(quiz): scaffold Next.js app and build coffee personality quiz

- Bootstrap Next.js 15 project with TypeScript, Tailwind, and App Router
- Build full quiz with 5 pop culture questions mapping to 3 personalities
- Implement percentage-based results display with ranked breakdown
- Apply warm/cozy earthy palette inspired by Claude homepage aesthetic
- Components: QuizQuestion, QuizResults with hover states and progress bar

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-07 11:01:05 +07:00
co-authored by Claude Sonnet 4.6
parent 1854878ff1
commit d5be8b854d
19 changed files with 7209 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
## Getting Started
First, run the development server:
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
## Learn More
To learn more about Next.js, take a look at the following resources:
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
## Deploy on Vercel
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
@@ -0,0 +1,96 @@
type Option = {
text: string;
personality: 'zen' | 'nightOwl' | 'socialButterfly';
};
type Props = {
question: string;
options: Option[];
current: number;
total: number;
onSelect: (personality: Option['personality']) => void;
};
export default function QuizQuestion({ question, options, current, total, onSelect }: Props) {
return (
<div style={{
background: 'var(--card)',
borderRadius: '20px',
padding: '48px 44px',
boxShadow: '0 4px 24px rgba(61, 43, 26, 0.08)',
border: '1px solid var(--border)',
maxWidth: '520px',
width: '100%',
}}>
{/* Progress */}
<div style={{ marginBottom: '32px' }}>
<div style={{
display: 'flex',
justifyContent: 'space-between',
alignItems: 'center',
marginBottom: '10px',
}}>
<span style={{ fontSize: '12px', letterSpacing: '1.5px', textTransform: 'uppercase', color: 'var(--muted)', fontWeight: 600 }}>
Your Coffee Personality
</span>
<span style={{ fontSize: '13px', color: 'var(--muted)' }}>
{current} of {total}
</span>
</div>
<div style={{ height: '3px', background: 'var(--border)', borderRadius: '99px', overflow: 'hidden' }}>
<div style={{
height: '100%',
width: `${(current / total) * 100}%`,
background: 'linear-gradient(90deg, var(--accent), #a0785a)',
borderRadius: '99px',
transition: 'width 0.4s ease',
}} />
</div>
</div>
{/* Question */}
<h2 style={{
fontSize: '22px',
fontWeight: 500,
lineHeight: 1.4,
color: 'var(--foreground)',
marginBottom: '28px',
}}>
{question}
</h2>
{/* Options */}
<div style={{ display: 'flex', flexDirection: 'column', gap: '10px' }}>
{options.map((option, i) => (
<button
key={i}
onClick={() => onSelect(option.personality)}
style={{
border: '1.5px solid var(--border)',
borderRadius: '12px',
padding: '16px 20px',
textAlign: 'left',
fontSize: '15px',
color: 'var(--foreground)',
background: 'transparent',
cursor: 'pointer',
transition: 'all 0.18s ease',
width: '100%',
fontFamily: 'inherit',
}}
onMouseEnter={e => {
(e.currentTarget as HTMLButtonElement).style.borderColor = 'var(--accent)';
(e.currentTarget as HTMLButtonElement).style.background = 'var(--accent-light)';
}}
onMouseLeave={e => {
(e.currentTarget as HTMLButtonElement).style.borderColor = 'var(--border)';
(e.currentTarget as HTMLButtonElement).style.background = 'transparent';
}}
>
{option.text}
</button>
))}
</div>
</div>
);
}
@@ -0,0 +1,149 @@
type PersonalityKey = 'zen' | 'nightOwl' | 'socialButterfly';
type Scores = Record<PersonalityKey, number>;
type Props = {
scores: Scores;
onReset: () => void;
};
const personalities: Record<PersonalityKey, { name: string; coffee: string; tagline: string }> = {
zen: {
name: 'Zen Minimalist',
coffee: 'Black Coffee, Single Origin',
tagline: 'Simple. Clean. Perfect.',
},
nightOwl: {
name: 'Night Owl',
coffee: 'Red Eye',
tagline: 'Sleep is optional.',
},
socialButterfly: {
name: 'Social Butterfly',
coffee: 'Cappuccino',
tagline: 'Coffee is better with company.',
},
};
export default function QuizResults({ scores, onReset }: Props) {
const total = Object.values(scores).reduce((a, b) => a + b, 0);
const ranked = (Object.keys(scores) as PersonalityKey[])
.map(key => ({
key,
count: scores[key],
pct: Math.round((scores[key] / total) * 100),
...personalities[key],
}))
.sort((a, b) => b.count - a.count);
const top = ranked[0];
return (
<div style={{
background: 'var(--card)',
borderRadius: '20px',
padding: '48px 44px',
boxShadow: '0 4px 24px rgba(61, 43, 26, 0.08)',
border: '1px solid var(--border)',
maxWidth: '520px',
width: '100%',
}}>
<span style={{
fontSize: '12px',
letterSpacing: '1.5px',
textTransform: 'uppercase',
color: 'var(--muted)',
fontWeight: 600,
}}>
Your Result
</span>
{/* Top result */}
<div style={{
margin: '20px 0 36px',
padding: '28px',
background: 'var(--accent-light)',
border: '1.5px solid var(--accent)',
borderRadius: '16px',
}}>
<div style={{ fontSize: '13px', color: 'var(--muted)', marginBottom: '6px', fontWeight: 500 }}>
You&apos;re a
</div>
<h2 style={{ fontSize: '28px', fontWeight: 600, color: 'var(--foreground)', marginBottom: '4px', lineHeight: 1.2 }}>
{top.name}
</h2>
<div style={{ fontSize: '15px', color: 'var(--accent)', fontWeight: 500, marginBottom: '14px' }}>
{top.pct}% match
</div>
<div style={{ borderTop: '1px solid var(--border)', paddingTop: '14px' }}>
<div style={{ fontSize: '13px', color: 'var(--muted)', marginBottom: '2px' }}>Your coffee</div>
<div style={{ fontSize: '16px', fontWeight: 500, color: 'var(--foreground)', marginBottom: '4px' }}>
{top.coffee}
</div>
<div style={{ fontSize: '14px', color: 'var(--muted)', fontStyle: 'italic' }}>
&ldquo;{top.tagline}&rdquo;
</div>
</div>
</div>
{/* All results */}
<div style={{ marginBottom: '32px' }}>
<div style={{ fontSize: '13px', color: 'var(--muted)', fontWeight: 600, marginBottom: '16px', letterSpacing: '0.5px' }}>
Full breakdown
</div>
<div style={{ display: 'flex', flexDirection: 'column', gap: '16px' }}>
{ranked.map((p, i) => (
<div key={p.key}>
<div style={{ display: 'flex', justifyContent: 'space-between', marginBottom: '6px' }}>
<div>
<span style={{ fontSize: '14px', fontWeight: 500, color: 'var(--foreground)' }}>{p.name}</span>
<span style={{ fontSize: '13px', color: 'var(--muted)', marginLeft: '8px' }}> {p.coffee}</span>
</div>
<span style={{ fontSize: '14px', fontWeight: 600, color: i === 0 ? 'var(--accent)' : 'var(--muted)' }}>
{p.pct}%
</span>
</div>
<div style={{ height: '4px', background: 'var(--border)', borderRadius: '99px', overflow: 'hidden' }}>
<div style={{
height: '100%',
width: `${p.pct}%`,
background: i === 0 ? 'linear-gradient(90deg, var(--accent), #a0785a)' : 'var(--border)',
borderRadius: '99px',
transition: 'width 0.6s ease',
opacity: i === 0 ? 1 : 0.5,
}} />
</div>
</div>
))}
</div>
</div>
<button
onClick={onReset}
style={{
width: '100%',
padding: '14px',
border: '1.5px solid var(--border)',
borderRadius: '12px',
background: 'transparent',
fontSize: '15px',
color: 'var(--muted)',
cursor: 'pointer',
fontFamily: 'inherit',
transition: 'all 0.18s ease',
}}
onMouseEnter={e => {
(e.currentTarget as HTMLButtonElement).style.borderColor = 'var(--accent)';
(e.currentTarget as HTMLButtonElement).style.color = 'var(--foreground)';
}}
onMouseLeave={e => {
(e.currentTarget as HTMLButtonElement).style.borderColor = 'var(--border)';
(e.currentTarget as HTMLButtonElement).style.color = 'var(--muted)';
}}
>
Take it again
</button>
</div>
);
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

+24
View File
@@ -0,0 +1,24 @@
@import "tailwindcss";
:root {
--background: #faf8f4;
--foreground: #3d2b1a;
--card: #fffdf8;
--accent: #c8956a;
--accent-light: rgba(200, 149, 106, 0.1);
--muted: #a0785a;
--border: #e8d9c8;
}
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--font-sans: var(--font-geist-sans);
--font-mono: var(--font-geist-mono);
}
body {
background: var(--background);
color: var(--foreground);
font-family: var(--font-geist-sans), Arial, Helvetica, sans-serif;
}
+34
View File
@@ -0,0 +1,34 @@
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
const geistSans = Geist({
variable: "--font-geist-sans",
subsets: ["latin"],
});
const geistMono = Geist_Mono({
variable: "--font-geist-mono",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Coffee Personality Quiz | Basecamp Coffee",
description: "Discover your coffee personality and find your perfect Basecamp Coffee drink.",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
>
{children}
</body>
</html>
);
}
+175
View File
@@ -0,0 +1,175 @@
'use client';
import { useState } from 'react';
import QuizQuestion from './components/QuizQuestion';
import QuizResults from './components/QuizResults';
type PersonalityKey = 'zen' | 'nightOwl' | 'socialButterfly';
type Stage = 'intro' | 'quiz' | 'results';
const questions = [
{
question: 'Pick a Netflix genre for tonight:',
options: [
{ text: 'A dark, quiet thriller with no jump scares', personality: 'zen' as PersonalityKey },
{ text: "A binge-worthy series you'll watch until 3am", personality: 'nightOwl' as PersonalityKey },
{ text: 'Whatever your group chat is hyped about', personality: 'socialButterfly' as PersonalityKey },
],
},
{
question: 'Your Hogwarts common room vibe:',
options: [
{ text: 'Ravenclaw — books, focus, solitude', personality: 'zen' as PersonalityKey },
{ text: 'Slytherin — ambition, late nights, no rules', personality: 'nightOwl' as PersonalityKey },
{ text: "Hufflepuff — warm, inclusive, everyone's welcome", personality: 'socialButterfly' as PersonalityKey },
],
},
{
question: "You're at a party. Where are you?",
options: [
{ text: 'Stepped outside for some quiet', personality: 'zen' as PersonalityKey },
{ text: 'Still there at 2am helping close the place down', personality: 'nightOwl' as PersonalityKey },
{ text: 'Center of the room, introducing people to each other', personality: 'socialButterfly' as PersonalityKey },
],
},
{
question: 'Your ideal travel style:',
options: [
{ text: 'Solo trip, minimal itinerary, just vibes', personality: 'zen' as PersonalityKey },
{ text: 'Red-eye flight to maximize time at the destination', personality: 'nightOwl' as PersonalityKey },
{ text: 'Group trip, shared Airbnb, chaotic and perfect', personality: 'socialButterfly' as PersonalityKey },
],
},
{
question: 'Pick a superpower:',
options: [
{ text: 'Total mental clarity, always focused', personality: 'zen' as PersonalityKey },
{ text: 'Never need sleep', personality: 'nightOwl' as PersonalityKey },
{ text: 'Everyone immediately likes you', personality: 'socialButterfly' as PersonalityKey },
],
},
];
const initialScores: Record<PersonalityKey, number> = { zen: 0, nightOwl: 0, socialButterfly: 0 };
export default function Home() {
const [stage, setStage] = useState<Stage>('intro');
const [currentQ, setCurrentQ] = useState(0);
const [scores, setScores] = useState({ ...initialScores });
function handleAnswer(personality: PersonalityKey) {
const newScores = { ...scores, [personality]: scores[personality] + 1 };
setScores(newScores);
if (currentQ < questions.length - 1) {
setCurrentQ(currentQ + 1);
} else {
setStage('results');
}
}
function handleReset() {
setStage('intro');
setCurrentQ(0);
setScores({ ...initialScores });
}
return (
<div style={{
minHeight: '100vh',
background: 'linear-gradient(160deg, #faf8f4 0%, #f0e8dc 100%)',
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
justifyContent: 'center',
padding: '32px 20px',
}}>
<div style={{ marginBottom: '40px', textAlign: 'center' }}>
<div style={{
fontSize: '13px',
letterSpacing: '2px',
textTransform: 'uppercase',
color: 'var(--muted)',
fontWeight: 600,
}}>
Basecamp Coffee
</div>
</div>
{stage === 'intro' && (
<div style={{
background: 'var(--card)',
borderRadius: '20px',
padding: '56px 44px',
boxShadow: '0 4px 24px rgba(61, 43, 26, 0.08)',
border: '1px solid var(--border)',
maxWidth: '520px',
width: '100%',
textAlign: 'center',
}}>
<div style={{
fontSize: '13px',
letterSpacing: '1.5px',
textTransform: 'uppercase',
color: 'var(--muted)',
fontWeight: 600,
marginBottom: '20px',
}}>
Discover your coffee identity
</div>
<h1 style={{
fontSize: '34px',
fontWeight: 600,
color: 'var(--foreground)',
lineHeight: 1.2,
marginBottom: '16px',
}}>
What&apos;s your coffee personality?
</h1>
<p style={{
fontSize: '16px',
color: 'var(--muted)',
lineHeight: 1.6,
marginBottom: '40px',
}}>
5 quick questions. We&apos;ll match you with your perfect Basecamp Coffee drink.
</p>
<button
onClick={() => setStage('quiz')}
style={{
background: 'var(--accent)',
color: 'white',
border: 'none',
borderRadius: '12px',
padding: '16px 40px',
fontSize: '16px',
fontWeight: 500,
cursor: 'pointer',
fontFamily: 'inherit',
transition: 'opacity 0.18s ease',
width: '100%',
}}
onMouseEnter={e => { (e.currentTarget as HTMLButtonElement).style.opacity = '0.88'; }}
onMouseLeave={e => { (e.currentTarget as HTMLButtonElement).style.opacity = '1'; }}
>
Find my coffee
</button>
</div>
)}
{stage === 'quiz' && (
<QuizQuestion
question={questions[currentQ].question}
options={questions[currentQ].options}
current={currentQ + 1}
total={questions.length}
onSelect={handleAnswer}
/>
)}
{stage === 'results' && (
<QuizResults scores={scores} onReset={handleReset} />
)}
</div>
);
}
@@ -0,0 +1,18 @@
import { defineConfig, globalIgnores } from "eslint/config";
import nextVitals from "eslint-config-next/core-web-vitals";
import nextTs from "eslint-config-next/typescript";
const eslintConfig = defineConfig([
...nextVitals,
...nextTs,
// Override default ignores of eslint-config-next.
globalIgnores([
// Default ignores of eslint-config-next:
".next/**",
"out/**",
"build/**",
"next-env.d.ts",
]),
]);
export default eslintConfig;
+6
View File
@@ -0,0 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
import "./.next/dev/types/routes.d.ts";
// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
+7
View File
@@ -0,0 +1,7 @@
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
};
export default nextConfig;
File diff suppressed because it is too large Load Diff
+26
View File
@@ -0,0 +1,26 @@
{
"name": "quiz-app",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "eslint"
},
"dependencies": {
"next": "16.1.6",
"react": "19.2.3",
"react-dom": "19.2.3"
},
"devDependencies": {
"@tailwindcss/postcss": "^4",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"eslint": "^9",
"eslint-config-next": "16.1.6",
"tailwindcss": "^4",
"typescript": "^5"
}
}
@@ -0,0 +1,7 @@
const config = {
plugins: {
"@tailwindcss/postcss": {},
},
};
export default config;
+1
View File
@@ -0,0 +1 @@
<svg fill="none" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.5 13.5V5.41a1 1 0 0 0-.3-.7L9.8.29A1 1 0 0 0 9.08 0H1.5v13.5A2.5 2.5 0 0 0 4 16h8a2.5 2.5 0 0 0 2.5-2.5m-1.5 0v-7H8v-5H3v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1M9.5 5V2.12L12.38 5zM5.13 5h-.62v1.25h2.12V5zm-.62 3h7.12v1.25H4.5zm.62 3h-.62v1.25h7.12V11z" clip-rule="evenodd" fill="#666" fill-rule="evenodd"/></svg>

After

Width:  |  Height:  |  Size: 391 B

@@ -0,0 +1 @@
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g clip-path="url(#a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M10.27 14.1a6.5 6.5 0 0 0 3.67-3.45q-1.24.21-2.7.34-.31 1.83-.97 3.1M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16m.48-1.52a7 7 0 0 1-.96 0H7.5a4 4 0 0 1-.84-1.32q-.38-.89-.63-2.08a40 40 0 0 0 3.92 0q-.25 1.2-.63 2.08a4 4 0 0 1-.84 1.31zm2.94-4.76q1.66-.15 2.95-.43a7 7 0 0 0 0-2.58q-1.3-.27-2.95-.43a18 18 0 0 1 0 3.44m-1.27-3.54a17 17 0 0 1 0 3.64 39 39 0 0 1-4.3 0 17 17 0 0 1 0-3.64 39 39 0 0 1 4.3 0m1.1-1.17q1.45.13 2.69.34a6.5 6.5 0 0 0-3.67-3.44q.65 1.26.98 3.1M8.48 1.5l.01.02q.41.37.84 1.31.38.89.63 2.08a40 40 0 0 0-3.92 0q.25-1.2.63-2.08a4 4 0 0 1 .85-1.32 7 7 0 0 1 .96 0m-2.75.4a6.5 6.5 0 0 0-3.67 3.44 29 29 0 0 1 2.7-.34q.31-1.83.97-3.1M4.58 6.28q-1.66.16-2.95.43a7 7 0 0 0 0 2.58q1.3.27 2.95.43a18 18 0 0 1 0-3.44m.17 4.71q-1.45-.12-2.69-.34a6.5 6.5 0 0 0 3.67 3.44q-.65-1.27-.98-3.1" fill="#666"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h16v16H0z"/></clipPath></defs></svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 394 80"><path fill="#000" d="M262 0h68.5v12.7h-27.2v66.6h-13.6V12.7H262V0ZM149 0v12.7H94v20.4h44.3v12.6H94v21h55v12.6H80.5V0h68.7zm34.3 0h-17.8l63.8 79.4h17.9l-32-39.7 32-39.6h-17.9l-23 28.6-23-28.6zm18.3 56.7-9-11-27.1 33.7h17.8l18.3-22.7z"/><path fill="#000" d="M81 79.3 17 0H0v79.3h13.6V17l50.2 62.3H81Zm252.6-.4c-1 0-1.8-.4-2.5-1s-1.1-1.6-1.1-2.6.3-1.8 1-2.5 1.6-1 2.6-1 1.8.3 2.5 1a3.4 3.4 0 0 1 .6 4.3 3.7 3.7 0 0 1-3 1.8zm23.2-33.5h6v23.3c0 2.1-.4 4-1.3 5.5a9.1 9.1 0 0 1-3.8 3.5c-1.6.8-3.5 1.3-5.7 1.3-2 0-3.7-.4-5.3-1s-2.8-1.8-3.7-3.2c-.9-1.3-1.4-3-1.4-5h6c.1.8.3 1.6.7 2.2s1 1.2 1.6 1.5c.7.4 1.5.5 2.4.5 1 0 1.8-.2 2.4-.6a4 4 0 0 0 1.6-1.8c.3-.8.5-1.8.5-3V45.5zm30.9 9.1a4.4 4.4 0 0 0-2-3.3 7.5 7.5 0 0 0-4.3-1.1c-1.3 0-2.4.2-3.3.5-.9.4-1.6 1-2 1.6a3.5 3.5 0 0 0-.3 4c.3.5.7.9 1.3 1.2l1.8 1 2 .5 3.2.8c1.3.3 2.5.7 3.7 1.2a13 13 0 0 1 3.2 1.8 8.1 8.1 0 0 1 3 6.5c0 2-.5 3.7-1.5 5.1a10 10 0 0 1-4.4 3.5c-1.8.8-4.1 1.2-6.8 1.2-2.6 0-4.9-.4-6.8-1.2-2-.8-3.4-2-4.5-3.5a10 10 0 0 1-1.7-5.6h6a5 5 0 0 0 3.5 4.6c1 .4 2.2.6 3.4.6 1.3 0 2.5-.2 3.5-.6 1-.4 1.8-1 2.4-1.7a4 4 0 0 0 .8-2.4c0-.9-.2-1.6-.7-2.2a11 11 0 0 0-2.1-1.4l-3.2-1-3.8-1c-2.8-.7-5-1.7-6.6-3.2a7.2 7.2 0 0 1-2.4-5.7 8 8 0 0 1 1.7-5 10 10 0 0 1 4.3-3.5c2-.8 4-1.2 6.4-1.2 2.3 0 4.4.4 6.2 1.2 1.8.8 3.2 2 4.3 3.4 1 1.4 1.5 3 1.5 5h-5.8z"/></svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

@@ -0,0 +1 @@
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1155 1000"><path d="m577.3 0 577.4 1000H0z" fill="#fff"/></svg>

After

Width:  |  Height:  |  Size: 128 B

@@ -0,0 +1 @@
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill-rule="evenodd" clip-rule="evenodd" d="M1.5 2.5h13v10a1 1 0 0 1-1 1h-11a1 1 0 0 1-1-1zM0 1h16v11.5a2.5 2.5 0 0 1-2.5 2.5h-11A2.5 2.5 0 0 1 0 12.5zm3.75 4.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5M7 4.75a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0m1.75.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5" fill="#666"/></svg>

After

Width:  |  Height:  |  Size: 385 B

+34
View File
@@ -0,0 +1,34 @@
{
"compilerOptions": {
"target": "ES2017",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "react-jsx",
"incremental": true,
"plugins": [
{
"name": "next"
}
],
"paths": {
"@/*": ["./*"]
}
},
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
".next/dev/types/**/*.ts",
"**/*.mts"
],
"exclude": ["node_modules"]
}