-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
36918c5
commit 32395e8
Showing
53 changed files
with
1,947 additions
and
763 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 |
---|---|---|
|
@@ -26,3 +26,5 @@ apps/next/tsconfig.json | |
|
||
# supabase database types | ||
apps/next/src/lib/database.types.ts | ||
|
||
.turbo |
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
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
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
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
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
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,5 +1,5 @@ | ||
/** @type {import('next').NextConfig} */ | ||
module.exports = { | ||
reactStrictMode: true, | ||
transpilePackages: ['ui'], | ||
transpilePackages: ['@repo/ui'], | ||
} |
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,28 +1,32 @@ | ||
{ | ||
"name": "next-app", | ||
"description": "Playground for Emil Johansson", | ||
"version": "1.2.1", | ||
"author": "[email protected]", | ||
"description": "Playground for Emil Johansson", | ||
"keywords": [ | ||
"emil", | ||
"johansson" | ||
], | ||
"license": "MIT", | ||
"author": "[email protected]", | ||
"scripts": { | ||
"dev": "next dev", | ||
"build": "next build", | ||
"start": "next start", | ||
"lint": "next lint" | ||
"dev": "next dev", | ||
"lint": "next lint", | ||
"start": "next start" | ||
}, | ||
"dependencies": { | ||
"@emiljohansson/random-string": "1.1.2", | ||
"@faker-js/faker": "7.4.0", | ||
"@nanostores/react": "0.7.1", | ||
"@radix-ui/react-accessible-icon": "1.0.2", | ||
"@radix-ui/react-label": "1.0.0", | ||
"@radix-ui/react-progress": "1.0.0", | ||
"@radix-ui/react-select": "1.0.0", | ||
"@radix-ui/react-tabs": "1.0.0", | ||
"@radix-ui/react-accessible-icon": "1.1.1", | ||
"@radix-ui/react-label": "2.1.1", | ||
"@radix-ui/react-progress": "1.1.1", | ||
"@radix-ui/react-select": "2.1.4", | ||
"@radix-ui/react-tabs": "1.1.2", | ||
"@repo/eslint-config": "workspace:*", | ||
"@repo/tailwind-config": "workspace:*", | ||
"@repo/typescript-config": "workspace:*", | ||
"@repo/ui": "workspace:*", | ||
"@supabase/ssr": "0.0.10", | ||
"@vercel/analytics": "1.1.1", | ||
"@vercel/kv": "1.0.0", | ||
|
@@ -37,8 +41,7 @@ | |
"react": "18.2.0", | ||
"react-dom": "18.2.0", | ||
"react-icons": "4.7.1", | ||
"swr": "1.3.0", | ||
"ui": "workspace:*" | ||
"swr": "1.3.0" | ||
}, | ||
"devDependencies": { | ||
"@types/crypto-js": "4.1.1", | ||
|
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
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,9 @@ | ||
'use server' | ||
|
||
import { validateCode } from '../api/codes' | ||
|
||
export async function validate(formData: FormData) { | ||
const value = formData.get('secret')?.toString() || '' | ||
console.log('value', value, validateCode(value)) | ||
return { message: 'hello' } | ||
} |
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
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,11 @@ | ||
// tailwind config is required for editor support | ||
|
||
import type { Config } from 'tailwindcss' | ||
import sharedConfig from '@repo/tailwind-config' | ||
|
||
const config: Pick<Config, 'content' | 'presets'> = { | ||
content: ['./src/**/*.tsx'], | ||
presets: [sharedConfig], | ||
} | ||
|
||
export default config |
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
Oops, something went wrong.