)
}
diff --git a/src/pages/Settings.tsx b/src/pages/Settings.tsx
new file mode 100644
index 0000000..3931210
--- /dev/null
+++ b/src/pages/Settings.tsx
@@ -0,0 +1,204 @@
+"use client"
+
+import type React from "react"
+import { useHistory } from "react-router-dom"
+import BottomNavigation from "../components/BottomNavigation"
+
+const Settings: React.FC = () => {
+ const history = useHistory()
+
+ const handleLogout = () => {
+ // Simulate logout
+ history.push("/login")
+ }
+
+ return (
+
+ )
+}
+
+export default Settings
diff --git a/src/pages/Welcome.tsx b/src/pages/Welcome.tsx
index 0808d70..c151bba 100644
--- a/src/pages/Welcome.tsx
+++ b/src/pages/Welcome.tsx
@@ -1,26 +1,98 @@
"use client"
-import React, { useEffect } from "react"
-import { useIonRouter } from '@ionic/react';
+import type React from "react"
+import { useEffect, useState } from "react"
+import { useHistory } from "react-router-dom"
+import manImage from '../assets/man.svg';
+import emblemImage from '../assets/emblem.png';
const Welcome: React.FC = () => {
- const router = useIonRouter()
+ const history = useHistory()
+ const [animationPhase, setAnimationPhase] = useState(0)
useEffect(() => {
- const timer = setTimeout(() => {
- router.push("/home", "forward")
- }, 5000) // Задержка 3 секунды
+ const timer1 = setTimeout(() => setAnimationPhase(1), 500)
+ const timer2 = setTimeout(() => setAnimationPhase(2), 1500)
+ const timer3 = setTimeout(() => setAnimationPhase(3), 2500)
+ // const timer4 = setTimeout(() => history.push("/login"), 4000)
- return () => clearTimeout(timer)
- }, [router])
+ return () => {
+ clearTimeout(timer1)
+ clearTimeout(timer2)
+ clearTimeout(timer3)
+ // clearTimeout(timer4)
+ }
+ }, [history])
return (
-
-
- Восстановление
начинается здесь
-
+
+
+

+ {/*

*/}
+
+
+
+ {/* Floating particles */}
+
+
+
+ {/* Main Content */}
+
+
+
+
+
+
+ {/* App Name */}
+
= 1 ? "opacity-100 translate-y-0" : "opacity-0 translate-y-8"
+ }`}
+ >
+
+
+
+
Реабилитация
+
Восстановление через движение
+
+ {/* Loading indicator */}
+
= 1 ? "opacity-100" : "opacity-0"}`}
+ >
+
+
Загрузка...
+
+
+
+
+
+
+
+
+
+
)
}
-export default Welcome
\ No newline at end of file
+export default Welcome
diff --git a/tailwind.config.js b/tailwind.config.js
index c6ca9e6..870d5b1 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -3,52 +3,12 @@ const defaultConfig = require("shadcn/ui/tailwind.config")
module.exports = {
...defaultConfig,
- content: [
- ...defaultConfig.content,
- "./pages/**/*.{js,ts,jsx,tsx,mdx}",
- "./components/**/*.{js,ts,jsx,tsx,mdx}",
- "./app/**/*.{js,ts,jsx,tsx,mdx}",
- "*.{js,ts,jsx,tsx,mdx}",
- ],
- theme: {
- ...defaultConfig.theme,
- extend: {
- ...defaultConfig.theme.extend,
- animation: {
- "gradient-x": "gradient-x 8s ease infinite",
- float: "float 3s ease-in-out infinite",
- "glow-pulse": "glow-pulse 2s ease-in-out infinite",
- },
- keyframes: {
- "gradient-x": {
- "0%, 100%": {
- "background-size": "200% 200%",
- "background-position": "left center",
- },
- "50%": {
- "background-size": "200% 200%",
- "background-position": "right center",
- },
- },
- float: {
- "0%, 100%": { transform: "translateY(0px)" },
- "50%": { transform: "translateY(-4px)" },
- },
- "glow-pulse": {
- "0%, 100%": {
- opacity: "0.5",
- transform: "scale(1)",
- },
- "50%": {
- opacity: "1",
- transform: "scale(1.05)",
- },
- },
- },
- backdropBlur: {
- xl: "24px",
- },
- },
- },
+content: [
+ ...defaultConfig.content,
+ "./pages/**/*.{js,ts,jsx,tsx,mdx}",
+ "./components/**/*.{js,ts,jsx,tsx,mdx}",
+ "./app/**/*.{js,ts,jsx,tsx,mdx}",
+ "*.{js,ts,jsx,tsx,mdx}",
+],
plugins: [...defaultConfig.plugins, require("tailwindcss-animate")],
}