Skip to content

Commit 0404e56

Browse files
Initial commit: Next.js 15 starter template with Supabase integration
- Complete project setup with TypeScript and Tailwind CSS - Responsive landing page components with animations - Dark/light theme support with system preference detection - Supabase integration ready for authentication and database - Email capture functionality with marketing integrations - Comprehensive documentation and deployment guides - GitHub workflows and contribution guidelines 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
0 parents  commit 0404e56

File tree

80 files changed

+25974
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+25974
-0
lines changed

.env.example

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Supabase
2+
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
3+
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
4+
SUPABASE_SERVICE_ROLE_KEY=your_supabase_service_role_key
5+
6+
# Sentry Error Tracking
7+
SENTRY_DSN=your_sentry_dsn
8+
NEXT_PUBLIC_SENTRY_DSN=your_sentry_dsn
9+
SENTRY_ORG=your_sentry_org
10+
SENTRY_PROJECT=your_sentry_project
11+
SENTRY_AUTH_TOKEN=your_sentry_auth_token
12+
13+
# Vercel
14+
VERCEL_TOKEN=your_vercel_token
15+
VERCEL_ORG_ID=your_vercel_org_id
16+
VERCEL_PROJECT_ID=your_vercel_project_id
17+
18+
# Site Configuration
19+
NEXT_PUBLIC_SITE_URL=http://localhost:3000
20+
21+
# Analytics (Optional)
22+
NEXT_PUBLIC_GA_MEASUREMENT_ID=your_ga_measurement_id
23+
NEXT_PUBLIC_POSTHOG_KEY=your_posthog_key
24+
NEXT_PUBLIC_POSTHOG_HOST=https://app.posthog.com
25+
26+
# Environment
27+
NODE_ENV=development
28+
NEXT_PUBLIC_VERCEL_ENV=development
29+
NEXT_PUBLIC_VERCEL_GIT_COMMIT_SHA=local
30+
31+
# Security
32+
RATE_LIMIT_API_KEY=your_rate_limit_key
33+
34+
# Feature Flags (Optional)
35+
NEXT_PUBLIC_LAUNCHDARKLY_CLIENT_ID=your_launchdarkly_client_id
36+
37+
# Monitoring (Optional)
38+
NEW_RELIC_APP_NAME=your_app_name
39+
NEW_RELIC_LICENSE_KEY=your_new_relic_key

.eslintrc.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"extends": ["next/core-web-vitals", "next/typescript"],
3+
"rules": {
4+
"@typescript-eslint/no-unused-vars": "error",
5+
"@typescript-eslint/no-explicit-any": "warn",
6+
"react/no-unescaped-entities": "off",
7+
"import/order": "off",
8+
"no-console": ["warn", { "allow": ["warn", "error"] }],
9+
"@next/next/no-img-element": "off"
10+
}
11+
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
name: Bug Report
3+
about: Create a report to help us improve
4+
title: '[BUG] '
5+
labels: 'bug'
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Environment (please complete the following information):**
27+
- OS: [e.g. iOS]
28+
- Browser [e.g. chrome, safari]
29+
- Version [e.g. 22]
30+
- Node.js version [e.g. 18.17.0]
31+
- npm/yarn version [e.g. 9.6.7]
32+
33+
**Additional context**
34+
Add any other context about the problem here.
35+
36+
**Error Logs**
37+
```
38+
Paste any error logs or console output here
39+
```
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
name: Feature Request
3+
about: Suggest an idea for this project
4+
title: '[FEATURE] '
5+
labels: 'enhancement'
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.
21+
22+
**Would you be willing to contribute this feature?**
23+
- [ ] Yes, I'd like to implement this feature
24+
- [ ] I'd like to help but need guidance
25+
- [ ] I can test the feature when it's ready
26+
- [ ] No, just suggesting the idea
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
## Description
2+
3+
Brief description of what this PR does.
4+
5+
## Type of Change
6+
7+
- [ ] Bug fix (non-breaking change which fixes an issue)
8+
- [ ] New feature (non-breaking change which adds functionality)
9+
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
10+
- [ ] Documentation update
11+
- [ ] Code refactoring
12+
- [ ] Performance improvement
13+
- [ ] Other (please describe):
14+
15+
## How Has This Been Tested?
16+
17+
Please describe the tests that you ran to verify your changes:
18+
19+
- [ ] Unit tests
20+
- [ ] Integration tests
21+
- [ ] Manual testing
22+
- [ ] Browser testing (Chrome, Firefox, Safari, etc.)
23+
- [ ] Mobile testing
24+
25+
## Screenshots (if applicable)
26+
27+
Add screenshots to help explain your changes.
28+
29+
## Checklist
30+
31+
- [ ] My code follows the style guidelines of this project
32+
- [ ] I have performed a self-review of my own code
33+
- [ ] I have commented my code, particularly in hard-to-understand areas
34+
- [ ] I have made corresponding changes to the documentation
35+
- [ ] My changes generate no new warnings
36+
- [ ] I have added tests that prove my fix is effective or that my feature works
37+
- [ ] New and existing unit tests pass locally with my changes
38+
- [ ] Any dependent changes have been merged and published
39+
40+
## Additional Notes
41+
42+
Add any other notes about the pull request here.

.github/workflows/ci.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
matrix:
15+
node-version: [18.x, 20.x]
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- name: Use Node.js ${{ matrix.node-version }}
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: ${{ matrix.node-version }}
24+
cache: 'npm'
25+
26+
- name: Install dependencies
27+
run: npm ci
28+
29+
- name: Run type checking
30+
run: npm run typecheck
31+
32+
- name: Run linting
33+
run: npm run lint
34+
35+
- name: Run tests
36+
run: npm test
37+
38+
- name: Build project
39+
run: npm run build
40+
41+
- name: Upload build artifacts
42+
uses: actions/upload-artifact@v4
43+
if: matrix.node-version == '20.x'
44+
with:
45+
name: build-files
46+
path: .next/
47+
retention-days: 1

0 commit comments

Comments
 (0)