@vudovn/antigravity-kit 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +311 -0
- package/bin/index.js +240 -0
- package/package.json +39 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/charts.csv +26 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/colors.csv +97 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/icons.csv +101 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/landing.csv +31 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/products.csv +97 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/prompts.csv +24 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/react.csv +54 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/vue.csv +50 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/styles.csv +59 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/typography.csv +58 -0
- package/templates/.agent/.shared/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
- package/templates/.agent/.shared/ui-ux-pro-max/scripts/__pycache__/core.cpython-312.pyc +0 -0
- package/templates/.agent/.shared/ui-ux-pro-max/scripts/__pycache__/core.cpython-313.pyc +0 -0
- package/templates/.agent/.shared/ui-ux-pro-max/scripts/core.py +245 -0
- package/templates/.agent/.shared/ui-ux-pro-max/scripts/search.py +69 -0
- package/templates/.agent/rules/01-identity.md +17 -0
- package/templates/.agent/rules/02-task-classification.md +36 -0
- package/templates/.agent/rules/03-mode-consulting.md +54 -0
- package/templates/.agent/rules/04-mode-build.md +54 -0
- package/templates/.agent/rules/05-mode-debug.md +66 -0
- package/templates/.agent/rules/06-mode-optimize.md +64 -0
- package/templates/.agent/rules/07-technical-standards.md +61 -0
- package/templates/.agent/rules/08-communication.md +34 -0
- package/templates/.agent/rules/09-checklist.md +45 -0
- package/templates/.agent/rules/10-special-situations.md +81 -0
- package/templates/.agent/skills/accessibility-expert/SKILL.md +430 -0
- package/templates/.agent/skills/ai-sdk-expert/SKILL.md +541 -0
- package/templates/.agent/skills/auth-expert/SKILL.md +105 -0
- package/templates/.agent/skills/cli-expert/SKILL.md +848 -0
- package/templates/.agent/skills/code-review/SKILL.md +424 -0
- package/templates/.agent/skills/css-expert/SKILL.md +401 -0
- package/templates/.agent/skills/database-expert/SKILL.md +324 -0
- package/templates/.agent/skills/devops-expert/SKILL.md +784 -0
- package/templates/.agent/skills/docker-expert/SKILL.md +409 -0
- package/templates/.agent/skills/documentation-expert/SKILL.md +493 -0
- package/templates/.agent/skills/git-expert/SKILL.md +522 -0
- package/templates/.agent/skills/github-actions-expert/SKILL.md +454 -0
- package/templates/.agent/skills/jest-expert/SKILL.md +957 -0
- package/templates/.agent/skills/mongodb-expert/SKILL.md +761 -0
- package/templates/.agent/skills/nestjs-expert/SKILL.md +552 -0
- package/templates/.agent/skills/nextjs-expert/SKILL.md +443 -0
- package/templates/.agent/skills/nodejs-expert/SKILL.md +192 -0
- package/templates/.agent/skills/oracle/SKILL.md +340 -0
- package/templates/.agent/skills/playwright-expert/SKILL.md +214 -0
- package/templates/.agent/skills/postgres-expert/SKILL.md +642 -0
- package/templates/.agent/skills/prisma-expert/SKILL.md +355 -0
- package/templates/.agent/skills/react-expert/SKILL.md +310 -0
- package/templates/.agent/skills/react-performance/SKILL.md +816 -0
- package/templates/.agent/skills/refactoring-expert/SKILL.md +394 -0
- package/templates/.agent/skills/research-expert/SKILL.md +231 -0
- package/templates/.agent/skills/rest-api-expert/SKILL.md +469 -0
- package/templates/.agent/skills/state-management-expert/SKILL.md +157 -0
- package/templates/.agent/skills/testing-expert/SKILL.md +621 -0
- package/templates/.agent/skills/triage-expert/SKILL.md +419 -0
- package/templates/.agent/skills/typescript-expert/SKILL.md +429 -0
- package/templates/.agent/skills/typescript-type/SKILL.md +790 -0
- package/templates/.agent/skills/ui-ux-pro-max/SKILL.md +228 -0
- package/templates/.agent/skills/vite-expert/SKILL.md +785 -0
- package/templates/.agent/skills/vitest-expert/SKILL.md +325 -0
- package/templates/.agent/skills/webpack-expert/SKILL.md +745 -0
- package/templates/.agent/workflows/request.md +82 -0
- package/templates/.agent/workflows/ui-ux-pro-max.md +231 -0
- package/templates/web/README.md +36 -0
- package/templates/web/eslint.config.mjs +18 -0
- package/templates/web/next.config.ts +8 -0
- package/templates/web/package-lock.json +6549 -0
- package/templates/web/package.json +27 -0
- package/templates/web/postcss.config.mjs +7 -0
- package/templates/web/public/favicon.ico +0 -0
- package/templates/web/public/images/antigravity-kit-logo.png +0 -0
- package/templates/web/public/images/claudekit.png +0 -0
- package/templates/web/public/images/logo.png +0 -0
- package/templates/web/src/app/globals.css +276 -0
- package/templates/web/src/app/layout.tsx +55 -0
- package/templates/web/src/app/page.tsx +23 -0
- package/templates/web/src/components/Credits.tsx +162 -0
- package/templates/web/src/components/Features.tsx +92 -0
- package/templates/web/src/components/Footer.tsx +74 -0
- package/templates/web/src/components/Hero.tsx +117 -0
- package/templates/web/src/components/HowItWorks.tsx +96 -0
- package/templates/web/src/components/Navbar.tsx +87 -0
- package/templates/web/src/components/Skills.tsx +182 -0
- package/templates/web/tsconfig.json +34 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Full-Stack Engineer Agent
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Request Handler Workflow
|
|
6
|
+
|
|
7
|
+
When receiving a user request, follow this process:
|
|
8
|
+
|
|
9
|
+
## Step 1: Classify the Task
|
|
10
|
+
|
|
11
|
+
Identify which of the 4 categories the request belongs to:
|
|
12
|
+
|
|
13
|
+
| Icon | Type | Keywords to Detect |
|
|
14
|
+
|:----:|:------------|:-------------------|
|
|
15
|
+
| 🔍 | **CONSULT** | "should", "recommend", "compare", "suggest", "advice" |
|
|
16
|
+
| 🏗️ | **BUILD** | "create", "make", "build", "add", "implement", "write" |
|
|
17
|
+
| 🔧 | **DEBUG** | "error", "bug", "not working", "wrong", "fix" |
|
|
18
|
+
| ⚡ | **OPTIMIZE** | "slow", "refactor", "clean", "improve", "optimize" |
|
|
19
|
+
|
|
20
|
+
> **Note:** If unclear → Ask the user before proceeding.
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## Step 2: Execute Based on Mode
|
|
25
|
+
|
|
26
|
+
### 🔍 CONSULT Mode
|
|
27
|
+
|
|
28
|
+
1. Clarify context & constraints
|
|
29
|
+
2. Provide 2-3 options with clear trade-offs
|
|
30
|
+
3. Recommend the optimal option with reasoning
|
|
31
|
+
4. **WAIT for confirmation** before coding
|
|
32
|
+
|
|
33
|
+
### 🏗️ BUILD Mode
|
|
34
|
+
|
|
35
|
+
1. Confirm scope & acceptance criteria
|
|
36
|
+
2. Propose file/component structure
|
|
37
|
+
3. Code in order: Types → Logic/Hooks → UI → Styles
|
|
38
|
+
4. Run checklist before delivery
|
|
39
|
+
|
|
40
|
+
### 🔧 DEBUG Mode
|
|
41
|
+
|
|
42
|
+
1. Gather info: what, where, when
|
|
43
|
+
2. Analyze root cause
|
|
44
|
+
3. Propose fix + explanation
|
|
45
|
+
4. Suggest prevention measures
|
|
46
|
+
|
|
47
|
+
### ⚡ OPTIMIZE Mode
|
|
48
|
+
|
|
49
|
+
1. Measure baseline
|
|
50
|
+
2. Identify main bottlenecks
|
|
51
|
+
3. Propose improvements + predict results
|
|
52
|
+
4. Refactor + compare before/after
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## Step 3: Pre-Delivery Checklist
|
|
57
|
+
|
|
58
|
+
**Code Quality:**
|
|
59
|
+
- [ ] No `any` types
|
|
60
|
+
- [ ] No hardcoded magic numbers/strings
|
|
61
|
+
- [ ] Proper error handling
|
|
62
|
+
- [ ] Clear variable/function naming
|
|
63
|
+
|
|
64
|
+
**Structure:**
|
|
65
|
+
- [ ] Correct folder structure
|
|
66
|
+
- [ ] Consistent naming convention
|
|
67
|
+
- [ ] Split files appropriately (< 200 lines/file)
|
|
68
|
+
|
|
69
|
+
**UI/UX (if applicable):**
|
|
70
|
+
- [ ] Follows Design System
|
|
71
|
+
- [ ] Responsive, mobile-first
|
|
72
|
+
- [ ] Loading/Error/Empty states
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
## Tips
|
|
77
|
+
|
|
78
|
+
- ❌ Don't expand scope unilaterally
|
|
79
|
+
- ❌ Don't use `any` types
|
|
80
|
+
- ✅ Ask when requirements are unclear
|
|
81
|
+
- ✅ Comment complex logic
|
|
82
|
+
- ✅ Prioritize: Readability → Performance → Cleverness
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Plan and implement UI
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# UI/UX Pro Max - Design Intelligence
|
|
6
|
+
|
|
7
|
+
Searchable database of UI styles, color palettes, font pairings, chart types, product recommendations, UX guidelines, and stack-specific best practices.
|
|
8
|
+
|
|
9
|
+
## Prerequisites
|
|
10
|
+
|
|
11
|
+
Check if Python is installed:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
python3 --version || python --version
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
If Python is not installed, install it based on user's OS:
|
|
18
|
+
|
|
19
|
+
**macOS:**
|
|
20
|
+
```bash
|
|
21
|
+
brew install python3
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
**Ubuntu/Debian:**
|
|
25
|
+
```bash
|
|
26
|
+
sudo apt update && sudo apt install python3
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
**Windows:**
|
|
30
|
+
```powershell
|
|
31
|
+
winget install Python.Python.3.12
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## How to Use This Workflow
|
|
37
|
+
|
|
38
|
+
When user requests UI/UX work (design, build, create, implement, review, fix, improve), follow this workflow:
|
|
39
|
+
|
|
40
|
+
### Step 1: Analyze User Requirements
|
|
41
|
+
|
|
42
|
+
Extract key information from user request:
|
|
43
|
+
- **Product type**: SaaS, e-commerce, portfolio, dashboard, landing page, etc.
|
|
44
|
+
- **Style keywords**: minimal, playful, professional, elegant, dark mode, etc.
|
|
45
|
+
- **Industry**: healthcare, fintech, gaming, education, etc.
|
|
46
|
+
- **Stack**: React, Vue, Next.js, or default to `html-tailwind`
|
|
47
|
+
|
|
48
|
+
### Step 2: Search Relevant Domains
|
|
49
|
+
|
|
50
|
+
Use `search.py` multiple times to gather comprehensive information. Search until you have enough context.
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
python3 .shared/ui-ux-pro-max/scripts/search.py "<keyword>" --domain <domain> [-n <max_results>]
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
**Recommended search order:**
|
|
57
|
+
|
|
58
|
+
1. **Product** - Get style recommendations for product type
|
|
59
|
+
2. **Style** - Get detailed style guide (colors, effects, frameworks)
|
|
60
|
+
3. **Typography** - Get font pairings with Google Fonts imports
|
|
61
|
+
4. **Color** - Get color palette (Primary, Secondary, CTA, Background, Text, Border)
|
|
62
|
+
5. **Landing** - Get page structure (if landing page)
|
|
63
|
+
6. **Chart** - Get chart recommendations (if dashboard/analytics)
|
|
64
|
+
7. **UX** - Get best practices and anti-patterns
|
|
65
|
+
8. **Stack** - Get stack-specific guidelines (default: html-tailwind)
|
|
66
|
+
|
|
67
|
+
### Step 3: Stack Guidelines (Default: html-tailwind)
|
|
68
|
+
|
|
69
|
+
If user doesn't specify a stack, **default to `html-tailwind`**.
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
python3 .shared/ui-ux-pro-max/scripts/search.py "<keyword>" --stack html-tailwind
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
Available stacks: `html-tailwind`, `react`, `nextjs`, `vue`, `svelte`, `swiftui`, `react-native`, `flutter`, `shadcn`
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## Search Reference
|
|
80
|
+
|
|
81
|
+
### Available Domains
|
|
82
|
+
|
|
83
|
+
| Domain | Use For | Example Keywords |
|
|
84
|
+
|--------|---------|------------------|
|
|
85
|
+
| `product` | Product type recommendations | SaaS, e-commerce, portfolio, healthcare, beauty, service |
|
|
86
|
+
| `style` | UI styles, colors, effects | glassmorphism, minimalism, dark mode, brutalism |
|
|
87
|
+
| `typography` | Font pairings, Google Fonts | elegant, playful, professional, modern |
|
|
88
|
+
| `color` | Color palettes by product type | saas, ecommerce, healthcare, beauty, fintech, service |
|
|
89
|
+
| `landing` | Page structure, CTA strategies | hero, hero-centric, testimonial, pricing, social-proof |
|
|
90
|
+
| `chart` | Chart types, library recommendations | trend, comparison, timeline, funnel, pie |
|
|
91
|
+
| `ux` | Best practices, anti-patterns | animation, accessibility, z-index, loading |
|
|
92
|
+
| `prompt` | AI prompts, CSS keywords | (style name) |
|
|
93
|
+
|
|
94
|
+
### Available Stacks
|
|
95
|
+
|
|
96
|
+
| Stack | Focus |
|
|
97
|
+
|-------|-------|
|
|
98
|
+
| `html-tailwind` | Tailwind utilities, responsive, a11y (DEFAULT) |
|
|
99
|
+
| `react` | State, hooks, performance, patterns |
|
|
100
|
+
| `nextjs` | SSR, routing, images, API routes |
|
|
101
|
+
| `vue` | Composition API, Pinia, Vue Router |
|
|
102
|
+
| `svelte` | Runes, stores, SvelteKit |
|
|
103
|
+
| `swiftui` | Views, State, Navigation, Animation |
|
|
104
|
+
| `react-native` | Components, Navigation, Lists |
|
|
105
|
+
| `flutter` | Widgets, State, Layout, Theming |
|
|
106
|
+
| `shadcn` | shadcn/ui components, theming, forms, patterns |
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
## Example Workflow
|
|
111
|
+
|
|
112
|
+
**User request:** "Làm landing page cho dịch vụ chăm sóc da chuyên nghiệp"
|
|
113
|
+
|
|
114
|
+
**AI should:**
|
|
115
|
+
|
|
116
|
+
```bash
|
|
117
|
+
# 1. Search product type
|
|
118
|
+
python3 .shared/ui-ux-pro-max/scripts/search.py "beauty spa wellness service" --domain product
|
|
119
|
+
|
|
120
|
+
# 2. Search style (based on industry: beauty, elegant)
|
|
121
|
+
python3 .shared/ui-ux-pro-max/scripts/search.py "elegant minimal soft" --domain style
|
|
122
|
+
|
|
123
|
+
# 3. Search typography
|
|
124
|
+
python3 .shared/ui-ux-pro-max/scripts/search.py "elegant luxury" --domain typography
|
|
125
|
+
|
|
126
|
+
# 4. Search color palette
|
|
127
|
+
python3 .shared/ui-ux-pro-max/scripts/search.py "beauty spa wellness" --domain color
|
|
128
|
+
|
|
129
|
+
# 5. Search landing page structure
|
|
130
|
+
python3 .shared/ui-ux-pro-max/scripts/search.py "hero-centric social-proof" --domain landing
|
|
131
|
+
|
|
132
|
+
# 6. Search UX guidelines
|
|
133
|
+
python3 .shared/ui-ux-pro-max/scripts/search.py "animation" --domain ux
|
|
134
|
+
python3 .shared/ui-ux-pro-max/scripts/search.py "accessibility" --domain ux
|
|
135
|
+
|
|
136
|
+
# 7. Search stack guidelines (default: html-tailwind)
|
|
137
|
+
python3 .shared/ui-ux-pro-max/scripts/search.py "layout responsive" --stack html-tailwind
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
**Then:** Synthesize all search results and implement the design.
|
|
141
|
+
|
|
142
|
+
---
|
|
143
|
+
|
|
144
|
+
## Tips for Better Results
|
|
145
|
+
|
|
146
|
+
1. **Be specific with keywords** - "healthcare SaaS dashboard" > "app"
|
|
147
|
+
2. **Search multiple times** - Different keywords reveal different insights
|
|
148
|
+
3. **Combine domains** - Style + Typography + Color = Complete design system
|
|
149
|
+
4. **Always check UX** - Search "animation", "z-index", "accessibility" for common issues
|
|
150
|
+
5. **Use stack flag** - Get implementation-specific best practices
|
|
151
|
+
6. **Iterate** - If first search doesn't match, try different keywords
|
|
152
|
+
7. **Split Into Multiple Files** - For better maintainability:
|
|
153
|
+
- Separate components into individual files (e.g., `Header.tsx`, `Footer.tsx`)
|
|
154
|
+
- Extract reusable styles into dedicated files
|
|
155
|
+
- Keep each file focused and under 200-300 lines
|
|
156
|
+
|
|
157
|
+
---
|
|
158
|
+
|
|
159
|
+
## Common Rules for Professional UI
|
|
160
|
+
|
|
161
|
+
These are frequently overlooked issues that make UI look unprofessional:
|
|
162
|
+
|
|
163
|
+
### Icons & Visual Elements
|
|
164
|
+
|
|
165
|
+
| Rule | Do | Don't |
|
|
166
|
+
|------|----|----- |
|
|
167
|
+
| **No emoji icons** | Use SVG icons (Heroicons, Lucide, Simple Icons) | Use emojis like 🎨 🚀 ⚙️ as UI icons |
|
|
168
|
+
| **Stable hover states** | Use color/opacity transitions on hover | Use scale transforms that shift layout |
|
|
169
|
+
| **Correct brand logos** | Research official SVG from Simple Icons | Guess or use incorrect logo paths |
|
|
170
|
+
| **Consistent icon sizing** | Use fixed viewBox (24x24) with w-6 h-6 | Mix different icon sizes randomly |
|
|
171
|
+
|
|
172
|
+
### Interaction & Cursor
|
|
173
|
+
|
|
174
|
+
| Rule | Do | Don't |
|
|
175
|
+
|------|----|----- |
|
|
176
|
+
| **Cursor pointer** | Add `cursor-pointer` to all clickable/hoverable cards | Leave default cursor on interactive elements |
|
|
177
|
+
| **Hover feedback** | Provide visual feedback (color, shadow, border) | No indication element is interactive |
|
|
178
|
+
| **Smooth transitions** | Use `transition-colors duration-200` | Instant state changes or too slow (>500ms) |
|
|
179
|
+
|
|
180
|
+
### Light/Dark Mode Contrast
|
|
181
|
+
|
|
182
|
+
| Rule | Do | Don't |
|
|
183
|
+
|------|----|----- |
|
|
184
|
+
| **Glass card light mode** | Use `bg-white/80` or higher opacity | Use `bg-white/10` (too transparent) |
|
|
185
|
+
| **Text contrast light** | Use `#0F172A` (slate-900) for text | Use `#94A3B8` (slate-400) for body text |
|
|
186
|
+
| **Muted text light** | Use `#475569` (slate-600) minimum | Use gray-400 or lighter |
|
|
187
|
+
| **Border visibility** | Use `border-gray-200` in light mode | Use `border-white/10` (invisible) |
|
|
188
|
+
|
|
189
|
+
### Layout & Spacing
|
|
190
|
+
|
|
191
|
+
| Rule | Do | Don't |
|
|
192
|
+
|------|----|----- |
|
|
193
|
+
| **Floating navbar** | Add `top-4 left-4 right-4` spacing | Stick navbar to `top-0 left-0 right-0` |
|
|
194
|
+
| **Content padding** | Account for fixed navbar height | Let content hide behind fixed elements |
|
|
195
|
+
| **Consistent max-width** | Use same `max-w-6xl` or `max-w-7xl` | Mix different container widths |
|
|
196
|
+
|
|
197
|
+
---
|
|
198
|
+
|
|
199
|
+
## Pre-Delivery Checklist
|
|
200
|
+
|
|
201
|
+
Before delivering UI code, verify these items:
|
|
202
|
+
|
|
203
|
+
### Visual Quality
|
|
204
|
+
- [ ] No emojis used as icons (use SVG instead)
|
|
205
|
+
- [ ] All icons from consistent icon set (Heroicons/Lucide)
|
|
206
|
+
- [ ] Brand logos are correct (verified from Simple Icons)
|
|
207
|
+
- [ ] Hover states don't cause layout shift
|
|
208
|
+
|
|
209
|
+
### Interaction
|
|
210
|
+
- [ ] All clickable elements have `cursor-pointer`
|
|
211
|
+
- [ ] Hover states provide clear visual feedback
|
|
212
|
+
- [ ] Transitions are smooth (150-300ms)
|
|
213
|
+
- [ ] Focus states visible for keyboard navigation
|
|
214
|
+
|
|
215
|
+
### Light/Dark Mode
|
|
216
|
+
- [ ] Light mode text has sufficient contrast (4.5:1 minimum)
|
|
217
|
+
- [ ] Glass/transparent elements visible in light mode
|
|
218
|
+
- [ ] Borders visible in both modes
|
|
219
|
+
- [ ] Test both modes before delivery
|
|
220
|
+
|
|
221
|
+
### Layout
|
|
222
|
+
- [ ] Floating elements have proper spacing from edges
|
|
223
|
+
- [ ] No content hidden behind fixed navbars
|
|
224
|
+
- [ ] Responsive at 320px, 768px, 1024px, 1440px
|
|
225
|
+
- [ ] No horizontal scroll on mobile
|
|
226
|
+
|
|
227
|
+
### Accessibility
|
|
228
|
+
- [ ] All images have alt text
|
|
229
|
+
- [ ] Form inputs have labels
|
|
230
|
+
- [ ] Color is not the only indicator
|
|
231
|
+
- [ ] `prefers-reduced-motion` respected
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
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).
|
|
2
|
+
|
|
3
|
+
## Getting Started
|
|
4
|
+
|
|
5
|
+
First, run the development server:
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm run dev
|
|
9
|
+
# or
|
|
10
|
+
yarn dev
|
|
11
|
+
# or
|
|
12
|
+
pnpm dev
|
|
13
|
+
# or
|
|
14
|
+
bun dev
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
|
|
18
|
+
|
|
19
|
+
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
|
|
20
|
+
|
|
21
|
+
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.
|
|
22
|
+
|
|
23
|
+
## Learn More
|
|
24
|
+
|
|
25
|
+
To learn more about Next.js, take a look at the following resources:
|
|
26
|
+
|
|
27
|
+
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
|
|
28
|
+
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
|
|
29
|
+
|
|
30
|
+
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
|
|
31
|
+
|
|
32
|
+
## Deploy on Vercel
|
|
33
|
+
|
|
34
|
+
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.
|
|
35
|
+
|
|
36
|
+
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { defineConfig, globalIgnores } from "eslint/config";
|
|
2
|
+
import nextVitals from "eslint-config-next/core-web-vitals";
|
|
3
|
+
import nextTs from "eslint-config-next/typescript";
|
|
4
|
+
|
|
5
|
+
const eslintConfig = defineConfig([
|
|
6
|
+
...nextVitals,
|
|
7
|
+
...nextTs,
|
|
8
|
+
// Override default ignores of eslint-config-next.
|
|
9
|
+
globalIgnores([
|
|
10
|
+
// Default ignores of eslint-config-next:
|
|
11
|
+
".next/**",
|
|
12
|
+
"out/**",
|
|
13
|
+
"build/**",
|
|
14
|
+
"next-env.d.ts",
|
|
15
|
+
]),
|
|
16
|
+
]);
|
|
17
|
+
|
|
18
|
+
export default eslintConfig;
|