Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
9ba35ab
Merge pull request #30 from ACTA-Team/main
JosueBrenes Feb 24, 2026
7668145
refactor: update the How It Works component to new design
FabianSanchezD Feb 25, 2026
ac673de
refactor: reorganize components and remove unused files
DanielCotoJ Feb 25, 2026
546e6f7
chore: standardize quotes in workflow configuration and improve text …
DanielCotoJ Feb 25, 2026
7505964
feat: implement local Supabase (Docker) integration with waitlist per…
JuliobaCR Feb 26, 2026
318bd18
Merge remote-tracking branch 'upstream/develop' into refactor/how-it-…
FabianSanchezD Feb 26, 2026
d653ef7
fix: smoother transition for how it works component
FabianSanchezD Feb 26, 2026
5cf2bcb
Merge pull request #31 from FabianSanchezD/refactor/how-it-works-comp…
DanielCotoJ Feb 27, 2026
53346f2
revert: remove API waitlist route and restore Formspree; use real Sup…
aguilar1x Mar 5, 2026
fc8ecd2
feat: Add local Supabase (Docker) and waitlist table with seed
aguilar1x Mar 5, 2026
b06b8a4
feat: connect WaitlistForm to Supabase API
felipevega2x Mar 5, 2026
417b45a
fix: add Supabase env fallbacks for build/CI
felipevega2x Mar 5, 2026
9d1fb52
chore: apply prettier formatting
felipevega2x Mar 5, 2026
5ebf444
feat: waitlist supabase api
aguilar1x Mar 5, 2026
c5dfaaa
feat: add credentials svg
DavidBrenesCR Mar 5, 2026
ce31a00
chore: add credential image assets to public directory
DavidBrenesCR Mar 6, 2026
9153066
Merge pull request #34 from DavidBrenesCR/feat/design-credentials
DanielCotoJ Mar 7, 2026
88c3280
feat: add new image assets for startups
JosueBrenes Mar 19, 2026
3265add
feat: add new image assets for ACTA
JosueBrenes Mar 19, 2026
e728dff
refactor: remove unused UI components
JosueBrenes Mar 19, 2026
008a780
chore: update package-lock.json and package.json for peer dependencies
JosueBrenes Mar 19, 2026
9d73633
feat: implement ACTAScrollDown component for interactive scrolling ex…
JosueBrenes Mar 19, 2026
5ce9a27
refactor: remove ValueDetails and ValueProposition components
JosueBrenes Mar 19, 2026
c6647bb
feat: add TrustedStartups component to showcase partner logos
JosueBrenes Mar 19, 2026
ba7b688
refactor: remove AnimatedActa and HeroSubtitle components, add HeroPa…
JosueBrenes Mar 19, 2026
b8641b9
refactor: update Footer component layout and remove ScrollProgress co…
JosueBrenes Mar 19, 2026
6308551
refactor: remove Aurora and StarsBackground components to streamline …
JosueBrenes Mar 19, 2026
de631b2
refactor: enhance layout and component structure in ActaLanding
JosueBrenes Mar 19, 2026
d0a3c27
refactor: remove use-mobile and use-toast hooks to streamline codebase
JosueBrenes Mar 19, 2026
09c7a2c
refactor: remove ThemeProvider component to streamline codebase
JosueBrenes Mar 19, 2026
d927b73
refactor: optimize image handling in ProductCard component
JosueBrenes Mar 19, 2026
1f981bb
Merge pull request #35 from ACTA-Team/feat/new-ui
JosueBrenes Mar 20, 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
16 changes: 15 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,2 +1,16 @@
NEXT_PUBLIC_POSTHOG_KEY=
NEXT_PUBLIC_POSTHOG_HOST=
NEXT_PUBLIC_POSTHOG_HOST=

# ------------------------------------------------------------------
# Supabase (optional)
# These are OPTIONAL. When unset the app uses placeholder values and
# runs normally β€” waitlist submissions will simply not be persisted.
#
# For local development with a real database:
# 1. Install Docker Desktop and make sure it is running.
# 2. Run `npm run db:start` β€” it prints the credentials below.
# 3. Copy the printed values into a `.env.local` file.
# ------------------------------------------------------------------
NEXT_PUBLIC_SUPABASE_URL=http://127.0.0.1:54321
NEXT_PUBLIC_SUPABASE_ANON_KEY=
SUPABASE_SERVICE_ROLE_KEY=
8 changes: 4 additions & 4 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
node-version: "20"
cache: "npm"
cache-dependency-path: package-lock.json

- name: Install dependencies
Expand All @@ -35,8 +35,8 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
node-version: "20"
cache: "npm"
cache-dependency-path: package-lock.json

- name: Install dependencies
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,15 @@ yarn-error.log*

# env files (can opt-in for committing if needed)
.env
.env.local
.env*.local

# vercel
.vercel

# supabase
supabase/.temp/

# typescript
*.tsbuildinfo
next-env.d.ts
63 changes: 63 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ ACTA Web provides a sophisticated frontend experience for managing verifiable cr
- Node.js 18 or higher
- npm or yarn package manager
- Modern browser with WebAuthn support
- **Docker Desktop** (optional β€” required only for local Supabase database)
- **Supabase CLI** (optional β€” `npm i -g supabase` or use via `npx supabase`)

> **Note:** Docker and Supabase CLI are only needed if you want a local database for waitlist persistence. Without them, the app runs normally using placeholder credentials β€” waitlist submissions will simply not be stored.

### Installation

Expand Down Expand Up @@ -109,6 +113,65 @@ NEXT_PUBLIC_ENABLE_PASSKEY=true
NEXT_PUBLIC_ENABLE_PARTICLES=true
```

### Local Supabase (Docker) β€” Optional

The project includes a full local Supabase setup for waitlist persistence. **This is entirely optional.** When Supabase environment variables are missing or contain placeholder values, the app starts normally and the waitlist form submits without errors (requests simply won't be persisted).

#### Quick start

1. **Install & start Docker Desktop** β€” make sure the Docker engine is running.
2. **Start Supabase locally:**

```bash
npm run db:start
```

This pulls the Supabase Docker images (first run takes a few minutes) and prints the local credentials, including `API URL`, `anon key`, and `service_role key`.

3. **Copy the printed credentials into `.env.local`:**

```env
NEXT_PUBLIC_SUPABASE_URL=http://127.0.0.1:54321
NEXT_PUBLIC_SUPABASE_ANON_KEY=<anon key from db:start>
SUPABASE_SERVICE_ROLE_KEY=<service_role key from db:start>
```

4. **Run migrations and seed:**

```bash
npm run db:reset
```

This applies all migrations in `supabase/migrations/` and runs `supabase/seed.sql`, which inserts 8 sample waitlist rows.

5. **Start the dev server:**

```bash
npm run dev
```

#### Available database scripts

| Script | Command | Description |
| ----------------------------- | ------------------------ | ----------------------------------------- |
| `npm run db:start` | `supabase start` | Start local Supabase (Docker containers) |
| `npm run db:stop` | `supabase stop` | Stop local Supabase |
| `npm run db:reset` | `supabase db reset` | Drop & recreate DB, run migrations + seed |
| `npm run db:migration <name>` | `supabase migration new` | Create a new blank migration file |

#### Supabase Studio

When Supabase is running locally, you can access **Supabase Studio** at [http://127.0.0.1:54323](http://127.0.0.1:54323) to browse tables, run SQL, and inspect data.

#### Credential fallbacks

The Supabase client (`src/lib/supabase.ts`) is designed to be resilient:

- If `NEXT_PUBLIC_SUPABASE_URL` is missing or contains `"your_supabase"` / `"placeholder"`, a safe placeholder URL is used.
- If `NEXT_PUBLIC_SUPABASE_ANON_KEY` is missing, a placeholder JWT is used.
- If `SUPABASE_SERVICE_ROLE_KEY` is missing, the server falls back to the anon client and logs a warning.
- **The app never throws at startup** regardless of whether Supabase env vars are set.

### Development

```bash
Expand Down
128 changes: 126 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,15 @@
"dev": "next dev --turbopack",
"build": "next build --turbopack",
"start": "next start",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
"lint:check": "eslint . --ext .js,.jsx,.ts,.tsx",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx --fix --max-warnings 0",
"lint:check": "eslint . --ext .js,.jsx,.ts,.tsx --max-warnings 0",
"format": "prettier --write .",
"format:check": "prettier --check .",
"prepare": "husky"
"prepare": "husky",
"db:start": "npx supabase start",
"db:stop": "npx supabase stop",
"db:reset": "npx supabase db reset",
"db:migration": "npx supabase migration new"
},
"dependencies": {
"@radix-ui/react-accordion": "^1.2.12",
Expand Down Expand Up @@ -40,6 +44,7 @@
"@radix-ui/react-toggle": "^1.1.10",
"@radix-ui/react-toggle-group": "^1.1.11",
"@radix-ui/react-tooltip": "^1.2.8",
"@supabase/supabase-js": "^2.97.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
Expand Down
Binary file added public/ACTA1.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 public/ACTA2.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 public/ACTA3.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 public/credentials/1.avif
Binary file not shown.
Binary file added public/credentials/2.avif
Binary file not shown.
Binary file added public/credentials/3.avif
Binary file not shown.
Binary file added public/credentials/4.avif
Binary file not shown.
Binary file added public/credentials/5.avif
Binary file not shown.
Binary file added public/startups/baf.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 public/startups/grantfox.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 public/startups/interactuar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading