-
-
Notifications
You must be signed in to change notification settings - Fork 795
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: initial commit for next branch * chore: adds .ds_store files to .gitignore * feat: todos in readme * feat: initialises gh actions * fix: cspell config formatting * chore: mark gh actions task as completed * feat: initialises playwright e2e testing * fix: bun test should run only on spec files in src * refactor: name playwright upload artifact step * refactor: move home page under (marketing) * feat: adds proper seo handling This commit brings the following changes: - Adds proper seo handling - Adds pink & salmon custom color palettes to tailwind. - Adds construct metadata utility function. - Enables react strict mode and disables eslint & typescript checks in next config. - Adds favicon, thumbnail images. * feat: initialises work on new marketing pages * fix: lint * fix: e2e tests * chore: adds playwright folders to clean script * chore: updates all dependencies * feat: adds red color scales made by kami * refactor: makes indigo glow bigger * feat: button primitive & usage on home page * feat: blur navbar on scroll & light/dark dashboard preview image * feat: add clerk integration in /next branch (#364) * feat: add clerk integration in /next branch * feat: add signin & signup pages, add env variables to env.ts * feat: adds env variables example * feat: dashboard page initialisation * fix: ci environment in pipeline * fix: exposes clerk & upstash env vars to ci * chore: remove forms tailwind plugin --------- Co-authored-by: ManavJoshi <[email protected]> Co-authored-by: Ahmed Elsakaan <[email protected]> * refactor: next clerk publishable key to vars * chore: update todos * chore: removes jsdoc & tailwindcss prettier plugins because eslint * feat: drizzle-orm/neon db integration * fix: run main ci on next branch * feat: adds db url to env example * feat: trpc api * feat: better auth routes organisation * feat: resend & react email integration * fix: adds resend api key to gh workflows * feat: better colours, light mode support & db schema * feat: early access page * chore: trust postinstall scripts * chore: updates deps * feat: early access page title * feat: refine todos in readme * feat: new todo * chore: exclude branch_out file * feat: progress towards the landing page * feat: navbar & features * fix: hydration error * feat: responsiveness in landing page * feat: desktop footer * feat: responsiveness * fix: lint * chore: updates deps * feat: mobile navbar * fix: adds missing mobile nav links * feat: final navbar touches * chore: updates deps * chore: updates deps * fix: makes footer at bottom if content size < screen size * feat: tos & privacy policy * chore: updates todos * chore: update .env.example * fix: hydration error * feat: wip blog with next-mdx-remote * feat: blogs page * feat: blog post * chore: remove unused stuff with next.config.js * feat: sentry * fix: ci environment vars * 404 not found * feat: ship it * chore: update readme * fix: lint --------- Co-authored-by: Manav H Joshi <[email protected]> Co-authored-by: ManavJoshi <[email protected]>
- Loading branch information
1 parent
0591a7b
commit 882cfcd
Showing
215 changed files
with
4,234 additions
and
6,208 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json", | ||
"changelog": "@changesets/cli/changelog", | ||
"commit": false, | ||
"fixed": [], | ||
"linked": [], | ||
"access": "restricted", | ||
"baseBranch": "main", | ||
"updateInternalDependencies": "patch", | ||
"ignore": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
# EditorConfig is awesome: https://EditorConfig.org | ||
|
||
# top-most EditorConfig file | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = false | ||
trim_trailing_whitespace = true | ||
insert_final_newline = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,25 @@ | ||
# Sqlite database url (you can leave this as is) | ||
DATABASE_URL="file:./dev.db" | ||
# Neon Database | ||
DATABASE_URL=<your-neon-database-url> | ||
|
||
# If you're using turso for the DB, you will need this too | ||
DATABASE_AUTH_TOKEN= | ||
# Authentication | ||
CLERK_SECRET_KEY=<your-clerk-secret-key> | ||
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=<your-clerk-publishable-key> | ||
|
||
# Clerk Environment Variables | ||
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY= | ||
CLERK_SECRET_KEY= | ||
# You don't need to change these, just copy them over into your `.env` file. | ||
NEXT_PUBLIC_CLERK_SIGN_IN_URL='/sign-in' | ||
NEXT_PUBLIC_CLERK_SIGN_UP_URL='/sign-up' | ||
NEXT_PUBLIC_CLERK_SIGN_IN_FORCE_REDIRECT_URL='/app' | ||
NEXT_PUBLIC_CLERK_SIGN_UP_FORCE_REDIRECT_URL='/app' | ||
|
||
# Don't need to change those | ||
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in | ||
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up | ||
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/app | ||
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/app | ||
# Upstash Redis | ||
UPSTASH_REDIS_REST_URL=<your-upstash-rest-url> | ||
UPSTASH_REDIS_REST_TOKEN=<your-upstash-rest-token> | ||
|
||
# Redis (Upstash) (optional) | ||
UPSTASH_REDIS_REST_URL= | ||
UPSTASH_REDIS_REST_TOKEN= | ||
# Resend | ||
RESEND_API_KEY=<your-resend-api-key> | ||
|
||
# Sentry | ||
NEXT_PUBLIC_SENTRY_DSN=<your-sentry-dsn> | ||
SENTRY_ORG=<your-sentry-org> | ||
SENTRY_PROJECT=<your-sentry-project> | ||
SENTRY_AUTH_TOKEN=<your-sentry-auth-token> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
# These are supported funding model platforms | ||
|
||
github: [ixahmedxi] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
blank_issues_enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Fixes # | ||
|
||
## Proposed Changes | ||
|
||
- | ||
- | ||
- |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
name: Main CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
# TODO: remove this once next branch is merged into main | ||
- next | ||
|
||
jobs: | ||
main-ci: | ||
runs-on: ubuntu-latest | ||
|
||
environment: CI | ||
env: | ||
# Database | ||
DATABASE_URL: ${{ secrets.DATABASE_URL }} | ||
|
||
# Clerk | ||
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY: ${{ vars.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY }} | ||
CLERK_SECRET_KEY: ${{ secrets.CLERK_SECRET_KEY }} | ||
|
||
NEXT_PUBLIC_CLERK_SIGN_IN_URL: '/sign-in' | ||
NEXT_PUBLIC_CLERK_SIGN_UP_URL: '/sign-up' | ||
NEXT_PUBLIC_CLERK_SIGN_IN_FORCE_REDIRECT_URL: '/app' | ||
NEXT_PUBLIC_CLERK_SIGN_UP_FORCE_REDIRECT_URL: '/app' | ||
|
||
# Upstash | ||
UPSTASH_REDIS_REST_URL: ${{ secrets.UPSTASH_REDIS_REST_URL }} | ||
UPSTASH_REDIS_REST_TOKEN: ${{ secrets.UPSTASH_REDIS_REST_TOKEN }} | ||
|
||
# Resend | ||
RESEND_API_KEY: ${{ secrets.RESEND_API_KEY }} | ||
|
||
# Sentry | ||
NEXT_PUBLIC_SENTRY_DSN: ${{ vars.NEXT_PUBLIC_SENTRY_DSN }} | ||
SENTRY_ORG: ${{ secrets.SENTRY_ORG }} | ||
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }} | ||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 2 | ||
|
||
- name: Setup Bun | ||
uses: oven-sh/setup-bun@v1 | ||
|
||
- name: Install Dependencies | ||
run: bun install | ||
|
||
- name: Install Playwright Browsers | ||
run: bun playwright install --with-deps | ||
|
||
- name: Run DB Migrations | ||
run: bun db:migrate | ||
|
||
- name: Check Format | ||
run: bun format:check | ||
|
||
- name: Lint | ||
run: bun lint | ||
|
||
- name: Typecheck | ||
run: bun typecheck | ||
|
||
- name: Unit tests | ||
run: bun test | ||
|
||
- name: Build | ||
run: bun run build | ||
|
||
- name: Run Playwright tests | ||
run: bun playwright test | ||
|
||
- name: Upload Playwright report | ||
uses: actions/upload-artifact@v4 | ||
if: always() | ||
with: | ||
name: playwright-report | ||
path: playwright-report/ | ||
retention-days: 30 |
Oops, something went wrong.