diff --git a/src/App.tsx b/src/App.tsx index b07fd68..a8dab00 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -124,6 +124,8 @@ export default function App() { } const handleSplashFinished = () => { setIsLoading(false); + setIsLoggedIn(false); + localStorage.setItem('loggedIn', 'false'); }; if (isLoading) { diff --git a/src/assets/logo.svg b/src/assets/logo.svg index 8b83e1c..3f859ef 100644 --- a/src/assets/logo.svg +++ b/src/assets/logo.svg @@ -1,8 +1,8 @@ - - + + diff --git a/src/assets/logotext.svg b/src/assets/logotext.svg index 70bf655..c1806f8 100644 --- a/src/assets/logotext.svg +++ b/src/assets/logotext.svg @@ -1,8 +1,8 @@ - - + + @@ -14,7 +14,8 @@ + font-family="'Raleway', sans-serif" font-size="70" fill="white" letter-spacing="2" + style="text-shadow: 0 0 5px rgba(0,0,0,0.3);"> REMind diff --git a/src/components/SplashScreen.tsx b/src/components/SplashScreen.tsx index ba9355e..2c019e9 100644 --- a/src/components/SplashScreen.tsx +++ b/src/components/SplashScreen.tsx @@ -1,33 +1,31 @@ -import {useEffect} from 'react'; +import { useEffect } from 'react'; import logo from '../assets/logo.svg'; import text from '../assets/text.svg'; interface SplashScreenProps { - onFinished: () => void; + onFinished: () => void; } -export default function SplashScreen({onFinished}: SplashScreenProps) { - useEffect(() => { - // Simulate loading time with a timeout - const timer = setTimeout(() => { - onFinished(); - localStorage.setItem('loggedIn', 'false'); - }, 2000); // Show splash screen for 2 seconds +export default function SplashScreen({ onFinished }: SplashScreenProps) { + useEffect(() => { + // Simulate loading time with a timeout + const timer = setTimeout(() => { + onFinished(); + }, 2000); // Show splash screen for 2 seconds - return () => clearTimeout(timer); - }, [onFinished]); + return () => clearTimeout(timer); + }, [onFinished]); - return (
-
- REMind Logo - REMind Text -

Träume analysieren, Gesellschaft verstehen

-
-
-
-

Loading your dreams...

-
-
); + return ( +
+
+ REMind Logo + REMind Text +
+
+
+

Loading your dreams...

+
+
+ ); } \ No newline at end of file diff --git a/src/components/TopBar.tsx b/src/components/TopBar.tsx index dbf5e0e..5d8f4d7 100644 --- a/src/components/TopBar.tsx +++ b/src/components/TopBar.tsx @@ -8,7 +8,7 @@ export default function TopBar() { // Function to update theme meta tag const updateThemeColor = (isDark: boolean) => { - const themeColor = isDark ? '#bb86fc' : '#9d4eff'; + const themeColor = isDark ? '#c490ff' : '#6a0dad'; const metaThemeColor = document.querySelector('meta[name="theme-color"]'); if (metaThemeColor) { metaThemeColor.setAttribute('content', themeColor); @@ -66,7 +66,9 @@ export default function TopBar() { >
- REMind Logo and Text +
+ REMind Logo and Text +
-

Traum nicht gefunden.

+

Traum nicht gefunden.

); } - return (
+ return (
{/* Header */} -
+
-
+
{user && ({user.name})} -
-

+
+

{dream.title}

- {user && (

+ {user && (

{user.name} •{' '} {dream.date.toLocaleDateString('de-DE', { day: '2-digit', @@ -64,92 +61,83 @@ export default function DreamPage() {

-
+
- Traum-Beschreibung + Traum-Beschreibung
- {(dream.input.inputType === 'image' || dream.input.inputType === 'audio') && ( -
- {dream.input.inputType === 'audio' && ( - - )} - {dream.input.inputType === 'image' && ( - {dream.input.imgAlt} - )} -
)} -

- {(dream.input.inputType === 'text' && dream.input.input) - || (dream.input.inputType === 'audio' && dream.input.transcript) - || (dream.input.inputType === 'image' && dream.input.description)} +

+ {dream.input}

{dream.ai?.interpretation && dream.ai.interpretation !== '' && (
- KI-Interpretation + KI-Interpretation

{dream.ai.interpretation}

)} - - {dream.ai?.image && dream.ai.image !== '' && (
-
- KI-Bild -
-
- KI-generiertes Traumbild -
-
)} - - {dream.ai?.video && dream.ai.video !== '' && (
-
- KI-Video -
-
- -
-
)} -
+ {dream.ai?.image && dream.ai.image !== '' && (
+
+ KI-Bild +
+
+ KI-generiertes Traumbild +
+
)} {dream.ai?.audio && dream.ai.audio !== '' && (
- KI-Audio + KI-Audio
-
)} + {dream.ai?.video && dream.ai.video !== '' && (
+
+ KI-Video +
+
+ +
+
)} +

Details

-
-
- Eingabetyp - {dream.input.inputType} +
+
+ Eingabetyp + {dream.inputType}
-
- Datum +
+ Datum {dream.date.toLocaleDateString('de-DE', { day: '2-digit', month: '2-digit', year: 'numeric', diff --git a/src/pages/Home.tsx b/src/pages/Home.tsx index 9941706..ae192be 100644 --- a/src/pages/Home.tsx +++ b/src/pages/Home.tsx @@ -30,7 +30,7 @@ export default function Home({isLoggedIn, handleLogin}: HomeProps) {
) } - return (
+ return (
{/* Floating Background Elements */}
@@ -45,20 +45,20 @@ export default function Home({isLoggedIn, handleLogin}: HomeProps) {
{/* Hero Section */} -
-
+
+
- REMind Logo and Text + REMind Logo and Text
-

Träume analysieren, Gesellschaft verstehen

+

Träume analysieren, Gesellschaft verstehen

-
-
- -

Träume sammeln • KI verstehen • VR erleben

- +
+
+ +

Träume sammeln • KI verstehen • VR erleben

+
-

+

Verwandle deine nächtlichen Reisen in interaktive Traumlandschaften mit KI-gestützter Analyse und immersiven VR-Erlebnissen

@@ -68,17 +68,17 @@ export default function Home({isLoggedIn, handleLogin}: HomeProps) {
{/* KI-Traumdeutung */}
-
- +
+
-

+

KI-Traumdeutung

-

+

Deine Träume werden von KI entschlüsselt - Symbole erkannt, Emotionen analysiert, Bedeutungen offenbart

@@ -86,17 +86,17 @@ export default function Home({isLoggedIn, handleLogin}: HomeProps) { {/* Multimediale Traumerfassung */}
-
- +
+
-

+

Träume einfangen

-

+

Sprich deine Träume in der Nacht, zeichne traumhafte Skizzen oder schreibe poetische Beschreibungen

@@ -104,17 +104,17 @@ export default function Home({isLoggedIn, handleLogin}: HomeProps) { {/* VR-Traumwelten */}
-
- +
+
-

+

VR-Traumreisen

-

+

Betritt deine Träume als begehbare Welten - schwebe durch Erinnerungen, berühre Traumsymbole

@@ -122,17 +122,17 @@ export default function Home({isLoggedIn, handleLogin}: HomeProps) { {/* Traumarchiv */}
-
- +
+
-

+

Traumschatzkammer

-

+

Deine Traumsammlung wächst - durchsuchbar nach Gefühlen, Symbolen und magischen Momenten

@@ -140,17 +140,17 @@ export default function Home({isLoggedIn, handleLogin}: HomeProps) { {/* Traumstatistiken */}
-
- +
+
-

+

Traummuster

-

+

Entdecke die geheimen Muster deiner Nachtreisen - welche Träume kehren zurück?

@@ -158,17 +158,17 @@ export default function Home({isLoggedIn, handleLogin}: HomeProps) { {/* Schlafrhythmus */}
-
- +
+
-

+

Schlafzyklen

-

+

Verstehe deine Schlafrhythmen und wie sie deine Traumlandschaften formen

@@ -177,49 +177,49 @@ export default function Home({isLoggedIn, handleLogin}: HomeProps) { {/* Dreamy Workflow Section */}
+ className="dream-container mb-16 backdrop-blur-lg bg-gradient-to-br from-pink-500/30 to-red-400/30 dark:from-pink-800/30 dark:to-red-900/30 rounded-3xl p-6 sm:p-8 md:p-12">
- -

Deine magische Traumreise

+ +

Deine magische Traumreise

-
+
- + className="bg-gradient-to-br from-purple-400 to-purple-600 rounded-full w-16 h-16 sm:w-20 sm:h-20 flex items-center justify-center mx-auto mb-4 sm:mb-6 shadow-lg"> +
-

1. Träumen

-

+

1. Träumen

+

In der Nacht zeichnen deine Sensoren sanft deine Traumreisen auf

- + className="bg-gradient-to-br from-blue-400 to-blue-600 rounded-full w-16 h-16 sm:w-20 sm:h-20 flex items-center justify-center mx-auto mb-4 sm:mb-6 shadow-lg"> +
-

2. Einfangen

-

+

2. Einfangen

+

Beim Erwachen flüsterst du deine Träume in die App

- + className="bg-gradient-to-br from-violet-400 to-violet-600 rounded-full w-16 h-16 sm:w-20 sm:h-20 flex items-center justify-center mx-auto mb-4 sm:mb-6 shadow-lg"> +
-

3. Verzaubern

-

+

3. Verzaubern

+

KI-Magie verwandelt deine Worte in Bilder, Klänge und Bedeutungen

- + className="bg-gradient-to-br from-pink-400 to-pink-600 rounded-full w-16 h-16 sm:w-20 sm:h-20 flex items-center justify-center mx-auto mb-4 sm:mb-6 shadow-lg"> +
-

4. Erleben

-

+

4. Erleben

+

Tauche ein in deine VR-Traumwelten und entdecke dich selbst

@@ -227,29 +227,29 @@ export default function Home({isLoggedIn, handleLogin}: HomeProps) {
{/* Dreamy CTA Section */} -
+
+ className="card p-6 sm:p-8 md:p-12 text-center bg-gradient-to-br from-pink-600 via-violet-600 to-purple-600 border-none overflow-hidden">
-
- -

Wo Träume Realität werden

- +
+ +

Wo Träume Realität werden

+
-

+

Lass dich von KI-gestützter Traumdeutung, VR-Erlebnissen und personalisierten Einsichten in eine tiefere Welt deines Unterbewusstseins führen

) -} \ No newline at end of file +} diff --git a/src/pages/ProfilePage.tsx b/src/pages/ProfilePage.tsx index 3cd9ff4..41b8c9e 100644 --- a/src/pages/ProfilePage.tsx +++ b/src/pages/ProfilePage.tsx @@ -12,10 +12,10 @@ const ProfilePage: React.FC = () => { const defaultStreakDays = 0; return ( -
-
+
+
{/* Profile Picture */} -
+
{profileUser {
{/* User Information */} -
-

{profileUser ? profileUser.name : defaultName}

+
+

{profileUser ? profileUser.name : defaultName}

{profileUser ? profileUser.email : defaultEmail}

-
-
-

{profileUser ? profileUser.dreamCount : defaultDreamCount}

-

Dreams

+
+
+

{profileUser ? profileUser.dreamCount : defaultDreamCount}

+

Dreams

-
-

{profileUser ? profileUser.streakDays : defaultStreakDays}

-

Days Streak

+
+

{profileUser ? profileUser.streakDays : defaultStreakDays}

+

Days Streak

-
+

Account Settings

-
+
Notifications -
Privacy -