diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..42c21e5 --- /dev/null +++ b/.env.example @@ -0,0 +1,17 @@ +# Environment variables declared in this file are NOT automatically loaded by Prisma. +# Please add `import "dotenv/config";` to your `prisma.config.ts` file, or use the Prisma CLI with Bun +# to load environment variables from .env files: https://pris.ly/prisma-config-env-vars. + +# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB. +# See the documentation for all the connection string options: https://pris.ly/d/connection-strings + +# The following `prisma+postgres` URL is similar to the URL produced by running a local Prisma Postgres +# server with the `prisma dev` CLI command, when not choosing any non-default ports or settings. The API key, unlike the +# one found in a remote Prisma Postgres URL, does not contain any sensitive information. + +DATABASE_URL="postgresql://wyview:wyview@localhost:5432/wyview" + +NEXT_PUBLIC_PASSWORD=Azerty123 +NEXTAUTH_SECRET=secret +NEXTAUTH_URL=http://localhost:3000 +AUTH_SECRET="openssl rand -base64 32" \ No newline at end of file diff --git a/app/finances/page.tsx b/app/finances/page.tsx index 30db0bc..881e66f 100644 --- a/app/finances/page.tsx +++ b/app/finances/page.tsx @@ -1,9 +1,32 @@ +import StatCard from "@/components/StatCard"; +import { DollarSign } from "lucide-react"; + export default function FinancesPage() { return (
-
Finances
-

Finances

-

Données à venir...

+
+
+ +
+
+
Revenus
+

Finances

+
+
+ +
+ + + + +
+ +
+ +

+ AUCUNE DONNÉE FINANCIÈRE DISPONIBLE
POUR LE MOMENT +

+
); } diff --git a/app/instagram/page.tsx b/app/instagram/page.tsx index d593a18..f7d9a2f 100644 --- a/app/instagram/page.tsx +++ b/app/instagram/page.tsx @@ -1,9 +1,33 @@ + +import StatCard from "@/components/StatCard"; +import { Camera } from "lucide-react"; + export default function InstagramPage() { return (
-
Instagram
-

Instagram

-

Données à venir...

+
+
+ +
+
+
Plateforme
+

Instagram

+
+
+ +
+ + + + +
+ +
+ +

+ CONNECTEZ VOTRE COMPTE INSTAGRAM
POUR AFFICHER VOS STATISTIQUES +

+
); } diff --git a/app/tiktok/page.tsx b/app/tiktok/page.tsx index 403a501..e18329e 100644 --- a/app/tiktok/page.tsx +++ b/app/tiktok/page.tsx @@ -1,9 +1,33 @@ + +import StatCard from "@/components/StatCard"; +import { Music2 } from "lucide-react"; + export default function TikTokPage() { return (
-
TikTok
-

TikTok

-

Données à venir...

+
+
+ +
+
+
Plateforme
+

TikTok

+
+
+ +
+ + + + +
+ +
+ +

+ CONNECTEZ VOTRE COMPTE TIKTOK
POUR AFFICHER VOS STATISTIQUES +

+
); } diff --git a/app/twitch/page.tsx b/app/twitch/page.tsx index c4bbc4f..f826bec 100644 --- a/app/twitch/page.tsx +++ b/app/twitch/page.tsx @@ -1,9 +1,32 @@ +import StatCard from "@/components/StatCard"; +import { TwitchIcon } from "lucide-react"; + export default function TwitchPage() { return (
-
Twitch
-

Twitch

-

Données à venir...

+
+
+ +
+
+
Plateforme
+

Twitch

+
+
+ +
+ + + + +
+ +
+ +

+ CONNECTEZ VOTRE COMPTE TWITCH
POUR AFFICHER VOS STATISTIQUES +

+
); } diff --git a/app/youtube/page.tsx b/app/youtube/page.tsx index f40a3c0..e4d7f8d 100644 --- a/app/youtube/page.tsx +++ b/app/youtube/page.tsx @@ -1,9 +1,32 @@ -export default function YouTubePage() { +import StatCard from "@/components/StatCard"; +import { YoutubeIcon } from "lucide-react"; + +export default function YoutubePage() { return (
-
YouTube
-

YouTube

-

Données à venir...

+
+
+ +
+
+
Plateforme
+

YouTube

+
+
+ +
+ + + + +
+ +
+ +

+ CONNECTEZ VOTRE COMPTE YOUTUBE
POUR AFFICHER VOS STATISTIQUES +

+
); }