testdaasdsadasdas commited on
Commit
6619e28
·
verified ·
1 Parent(s): bf5cd50

Color Palette

Browse files

Light Theme

Background: #F7F8FA (soft neutral)

Cards: #FFFFFF with subtle shadow

Text Primary: #111111

Text Secondary: #555555

Accent: #4A6CF7 (cool modern blue)

Success: #42C77A

Warning: #F7B84B

Danger: #EF4D4D

Dark Theme

Background: #0E0F12

Cards: #1A1C20

Text Primary: #FFFFFF

Text Secondary: #9A9BA1

Accent: #4A6CF7

Success/Warning/Danger similar but slightly desaturated

Typography

Headings: Bold, clean sans-serif (e.g., Inter / SF Pro / Manrope)

Body: Medium / Regular

Minimalistic with plenty of spacing

Rounded corners: 14–20px radius

Buttons: Rounded, bold, accent blue

Components

Modern bottom navigation (User app)

Clean sidebar or top nav (Admin)

Soft shadows (light theme), subtle outer glow (dark theme)

Graphs: Smooth curves, rounded bars, light grid lines

Icons: Minimal line icons

📱 USER APP – UI Page Descriptions
1. Splash Screen

Light Theme

White background

Center: Bold app logo with gradient accent

Small tagline below (“Stronger Every Day.”)

Minimal fade-in animation

Dark Theme

Black background

Neon-like accent glow around logo

2. Login / Signup

Light

Soft grey background

White card containing input fields

Blue CTA buttons

Clean line icons inside text fields

Dark

Deep charcoal background

Input fields with subtle blue outlines

White text and light-blue button glow

3. Dashboard (Home)

Light

White rounded cards spaced with lots of padding

Top area: Greeting + Profile picture

Today’s workout card with progress ring

Quick tiles:

Workout Plan

Track Workout

Subscription

Analytics

Bottom Navigation Bar (home, plan, track, profile)

Dark

Charcoal background

Cards in matte black with soft reflection

Accent blue highlights

4. Workout Plan

Light

Clean weekly schedule layout

Each day = rounded card with status icon

Exercise list inside collapsible cards with:

Set × Reps

Rest time

Small thumbnail or icon

Dark

Dark matte cards

Contrast white text

Hover/active states glow with blue tint

5. Track Progress

Light

Light background with floating white cards

Input controls: minimal sliders / + / – buttons

Graphs:

Soft grid

Smooth blue curve line

Volume & PB cards with icons

Dark

Black background

Graph lines glow slightly

Cards look elevated with shadow

6. Subscription Page

Light

White highlight on the active plan

Pricing shown in minimalistic grid

Renew / Upgrade buttons in accent colors

Dark

Active plan card glowing with blue border

All text clear with high-contrast labels

7. Analytics

Light

Clean charts: line chart, bar chart, radar chart

Sections:

Weak Muscle Groups

Volume Trend

Personal Best Timeline

Tabs with pill-style UI

Dark

Charts in neon-blue + cyan

Dark grid background

Tabs glowing softly on active

8. Profile

Light

White cards

Editable avatar

BMI display in circular gauge

Minimalistic form fields

Dark

Matte dark cards

Blue highlights on editable fields

Gauge with neon effect

🧑‍💼 ADMIN APP – UI Page Descriptions
1. Admin Dashboard

Light

Clean white background

Top stats cards: Total users, Active Plans, Revenue

Graph section (weekly revenue, new subscribers)

Sidebar: white with blue highlight strip on active tab

Dark

Black background

Cards with soft-outline borders

Sidebar with glowing accent line

2. Manage Users

Light

Large table with alternating row colors

Search bar at top

Filters: subscription status, plan

User row → Opens side panel with:

Profile

Assigned workouts

Payment history

Dark

Dark rows with thin separators

Highlight on selected row

3. Manage Workouts

Light

Grid of workout categories (Strength, Hypertrophy, etc.)

Each plan = minimal card with:

Title

Exercise count

Edit button

Dark

Dark rectangular cards with blue hover glow

Icons in white outline

4. Assign Plans

Light

Two-pane layout:

Left: User list

Right: Workout plan selection

Drag-and-drop style (optional)

Dark

Same layout with darker shades

Accent lines on hover

5. Subscription Management

Light

Table or grid of plans

Add / Edit plan modal with simple form

Color-coded status: green (active), red (expired)

Dark

Dark modals with neon accent form fields

6. Progress Reports

Light

Graph-heavy interface

Individual and group analytics

Trend charts in soft blues

Dark

Charts in glowing neon blue

Cards floating over dark canvas

✔️ Want me to convert this into high-fidelity wireframes or Figma-ready structure?
✔️ Or generate icons, layout diagrams, or color variations?

Files changed (4) hide show
  1. README.md +8 -5
  2. index.html +189 -19
  3. script.js +35 -0
  4. style.css +40 -19
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Fitfusion Glow Tracker
3
- emoji:
4
- colorFrom: yellow
5
- colorTo: green
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
1
  ---
2
+ title: FitFusion Glow Tracker 💪✨
3
+ colorFrom: pink
4
+ colorTo: purple
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://huggingface.co/deepsite).
index.html CHANGED
@@ -1,19 +1,189 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en" class="h-full">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>FitFusion | Dashboard</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
9
+ <script src="https://unpkg.com/feather-icons"></script>
10
+ <script>
11
+ tailwind.config = {
12
+ theme: {
13
+ extend: {
14
+ colors: {
15
+ primary: '#4A6CF7',
16
+ secondary: '#42C77A',
17
+ darkbg: '#0E1F12',
18
+ carddark: '#1A1C20',
19
+ }
20
+ }
21
+ }
22
+ }
23
+ </script>
24
+ <link rel="stylesheet" href="style.css">
25
+ </head>
26
+ <body class="bg-gray-50 dark:bg-darkbg h-full transition-colors duration-300">
27
+ <div class="min-h-screen flex flex-col">
28
+ <!-- Header -->
29
+ <header class="bg-white dark:bg-carddark shadow-sm py-4 px-6">
30
+ <div class="flex items-center justify-between">
31
+ <div class="flex items-center space-x-2">
32
+ <i data-feather="activity" class="text-primary w-6 h-6"></i>
33
+ <h1 class="text-xl font-bold dark:text-white">FitFusion</h1>
34
+ </div>
35
+ <div class="flex items-center space-x-4">
36
+ <button id="theme-toggle" class="p-2 rounded-full">
37
+ <i id="theme-icon" data-feather="sun" class="w-5 h-5 dark:text-white"></i>
38
+ </button>
39
+ <div class="w-8 h-8 rounded-full bg-primary flex items-center justify-center text-white">
40
+ <i data-feather="user" class="w-4 h-4"></i>
41
+ </div>
42
+ </div>
43
+ </div>
44
+ </header>
45
+
46
+ <!-- Main Content -->
47
+ <main class="flex-1 p-6">
48
+ <div class="max-w-4xl mx-auto">
49
+ <!-- Greeting Card -->
50
+ <div class="bg-white dark:bg-carddark rounded-2xl shadow-sm p-6 mb-6">
51
+ <h2 class="text-2xl font-bold dark:text-white">Good morning, Alex!</h2>
52
+ <p class="text-gray-500 dark:text-gray-400 mt-1">Let's crush your goals today</p>
53
+
54
+ <div class="mt-6 relative">
55
+ <div class="h-4 bg-gray-200 dark:bg-gray-700 rounded-full">
56
+ <div class="h-4 bg-primary rounded-full w-3/4"></div>
57
+ </div>
58
+ <p class="text-sm text-gray-600 dark:text-gray-300 mt-2">4 days streak this week</p>
59
+ </div>
60
+ </div>
61
+
62
+ <!-- Quick Actions -->
63
+ <div class="grid grid-cols-2 md:grid-cols-4 gap-4 mb-6">
64
+ <div class="bg-white dark:bg-carddark rounded-xl shadow-sm p-4 flex flex-col items-center justify-center">
65
+ <div class="w-12 h-12 bg-blue-100 dark:bg-blue-900 rounded-full flex items-center justify-center mb-2">
66
+ <i data-feather="calendar" class="text-primary w-6 h-6"></i>
67
+ </div>
68
+ <span class="text-sm font-medium dark:text-white">Plan</span>
69
+ </div>
70
+ <div class="bg-white dark:bg-carddark rounded-xl shadow-sm p-4 flex flex-col items-center justify-center">
71
+ <div class="w-12 h-12 bg-green-100 dark:bg-green-900 rounded-full flex items-center justify-center mb-2">
72
+ <i data-feather="activity" class="text-secondary w-6 h-6"></i>
73
+ </div>
74
+ <span class="text-sm font-medium dark:text-white">Track</span>
75
+ </div>
76
+ <div class="bg-white dark:bg-carddark rounded-xl shadow-sm p-4 flex flex-col items-center justify-center">
77
+ <div class="w-12 h-12 bg-purple-100 dark:bg-purple-900 rounded-full flex items-center justify-center mb-2">
78
+ <i data-feather="percent" class="text-purple-500 w-6 h-6"></i>
79
+ </div>
80
+ <span class="text-sm font-medium dark:text-white">Stats</span>
81
+ </div>
82
+ <div class="bg-white dark:bg-carddark rounded-xl shadow-sm p-4 flex flex-col items-center justify-center">
83
+ <div class="w-12 h-12 bg-yellow-100 dark:bg-yellow-900 rounded-full flex items-center justify-center mb-2">
84
+ <i data-feather="award" class="text-yellow-500 w-6 h-6"></i>
85
+ </div>
86
+ <span class="text-sm font-medium dark:text-white">Goals</span>
87
+ </div>
88
+ </div>
89
+
90
+ <!-- Today's Workout -->
91
+ <div class="bg-white dark:bg-carddark rounded-2xl shadow-sm p-6 mb-6">
92
+ <div class="flex items-center justify-between mb-4">
93
+ <h3 class="text-lg font-semibold dark:text-white">Today's Workout</h3>
94
+ <span class="text-sm text-primary font-medium">Chest & Triceps</span>
95
+ </div>
96
+
97
+ <div class="space-y-3">
98
+ <div class="flex items-center justify-between p-3 bg-gray-50 dark:bg-gray-800 rounded-lg">
99
+ <div class="flex items-center space-x-3">
100
+ <div class="w-10 h-10 bg-red-100 dark:bg-red-900 rounded-md flex items-center justify-center">
101
+ <i data-feather="activity" class="text-red-500 w-4 h-4"></i>
102
+ </div>
103
+ <span class="font-medium dark:text-white">Bench Press</span>
104
+ </div>
105
+ <span class="text-gray-500 dark:text-gray-400">4x8</span>
106
+ </div>
107
+ <div class="flex items-center justify-between p-3 bg-gray-50 dark:bg-gray-800 rounded-lg">
108
+ <div class="flex items-center space-x-3">
109
+ <div class="w-10 h-10 bg-blue-100 dark:bg-blue-900 rounded-md flex items-center justify-center">
110
+ <i data-feather="activity" class="text-blue-500 w-4 h-4"></i>
111
+ </div>
112
+ <span class="font-medium dark:text-white">Incline DB Press</span>
113
+ </div>
114
+ <span class="text-gray-500 dark:text-gray-400">3x10</span>
115
+ </div>
116
+ <div class="flex items-center justify-between p-3 bg-gray-50 dark:bg-gray-800 rounded-lg">
117
+ <div class="flex items-center space-x-3">
118
+ <div class="w-10 h-10 bg-green-100 dark:bg-green-900 rounded-md flex items-center justify-center">
119
+ <i data-feather="activity" class="text-green-500 w-4 h-4"></i>
120
+ </div>
121
+ <span class="font-medium dark:text-white">Tricep Dips</span>
122
+ </div>
123
+ <span class="text-gray-500 dark:text-gray-400">3x12</span>
124
+ </div>
125
+ </div>
126
+
127
+ <button class="mt-6 w-full py-3 bg-primary hover:bg-blue-600 text-white font-medium rounded-lg transition-all">
128
+ Start Workout
129
+ </button>
130
+ </div>
131
+
132
+ <!-- Progress -->
133
+ <div class="bg-white dark:bg-carddark rounded-2xl shadow-sm p-6">
134
+ <h3 class="text-lg font-semibold dark:text-white mb-4">Weekly Progress</h3>
135
+ <div class="h-40">
136
+ <!-- Chart placeholder -->
137
+ <div class="flex items-end h-32 space-x-2">
138
+ <div class="flex-1 bg-blue-100 dark:bg-blue-900 rounded-t-md" style="height: 20%"></div>
139
+ <div class="flex-1 bg-blue-200 dark:bg-blue-800 rounded-t-md" style="height: 40%"></div>
140
+ <div class="flex-1 bg-primary rounded-t-md" style="height: 60%"></div>
141
+ <div class="flex-1 bg-blue-400 dark:bg-blue-700 rounded-t-md" style="height: 80%"></div>
142
+ <div class="flex-1 bg-blue-300 dark:bg-blue-600 rounded-t-md" style="height: 60%"></div>
143
+ <div class="flex-1 bg-blue-200 dark:bg-blue-800 rounded-t-md" style="height: 30%"></div>
144
+ <div class="flex-1 bg-blue-100 dark:bg-blue-900 rounded-t-md" style="height: 50%"></div>
145
+ </div>
146
+ <div class="flex justify-between mt-2 text-sm text-gray-500 dark:text-gray-400">
147
+ <span>Mon</span>
148
+ <span>Tue</span>
149
+ <span>Wed</span>
150
+ <span>Thu</span>
151
+ <span>Fri</span>
152
+ <span>Sat</span>
153
+ <span>Sun</span>
154
+ </div>
155
+ </div>
156
+ </div>
157
+ </div>
158
+ </main>
159
+
160
+ <!-- Bottom Navigation -->
161
+ <nav class="bg-white dark:bg-carddark shadow-lg py-3 px-6 border-t dark:border-gray-700">
162
+ <div class="flex justify-around">
163
+ <a href="#" class="flex flex-col items-center text-primary">
164
+ <i data-feather="home" class="w-5 h-5"></i>
165
+ <span class="text-xs mt-1">Home</span>
166
+ </a>
167
+ <a href="#" class="flex flex-col items-center text-gray-500 dark:text-gray-400">
168
+ <i data-feather="calendar" class="w-5 h-5"></i>
169
+ <span class="text-xs mt-1">Plan</span>
170
+ </a>
171
+ <a href="#" class="flex flex-col items-center text-gray-500 dark:text-gray-400">
172
+ <i data-feather="activity" class="w-5 h-5"></i>
173
+ <span class="text-xs mt-1">Track</span>
174
+ </a>
175
+ <a href="#" class="flex flex-col items-center text-gray-500 dark:text-gray-400">
176
+ <i data-feather="user" class="w-5 h-5"></i>
177
+ <span class="text-xs mt-1">Profile</span>
178
+ </a>
179
+ </div>
180
+ </nav>
181
+ </div>
182
+
183
+ <script src="script.js"></script>
184
+ <script>
185
+ feather.replace();
186
+ </script>
187
+ <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
188
+ </body>
189
+ </html>
script.js ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Dark mode toggle
2
+ document.addEventListener('DOMContentLoaded', function() {
3
+ const themeToggle = document.getElementById('theme-toggle');
4
+ const themeIcon = document.getElementById('theme-icon');
5
+
6
+ // Check for saved user preference or use system preference
7
+ const savedTheme = localStorage.getItem('theme') ||
8
+ (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light');
9
+
10
+ // Apply the saved theme
11
+ if (savedTheme === 'dark') {
12
+ document.documentElement.classList.add('dark');
13
+ themeIcon.dataset.feather = 'moon';
14
+ } else {
15
+ document.documentElement.classList.remove('dark');
16
+ themeIcon.dataset.feather = 'sun';
17
+ }
18
+
19
+ // Toggle theme on button click
20
+ themeToggle.addEventListener('click', () => {
21
+ if (document.documentElement.classList.contains('dark')) {
22
+ document.documentElement.classList.remove('dark');
23
+ localStorage.setItem('theme', 'light');
24
+ themeIcon.dataset.feather = 'sun';
25
+ } else {
26
+ document.documentElement.classList.add('dark');
27
+ localStorage.setItem('theme', 'dark');
28
+ themeIcon.dataset.feather = 'moon';
29
+ }
30
+ feather.replace();
31
+ });
32
+
33
+ // Refresh feather icons after theme change
34
+ feather.replace();
35
+ });
style.css CHANGED
@@ -1,28 +1,49 @@
1
- body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
4
  }
5
 
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
16
  }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
28
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Smooth transitions for dark mode */
2
+ * {
3
+ transition: background-color 0.3s ease, color 0.3s ease;
4
  }
5
 
6
+ /* Custom scrollbar */
7
+ ::-webkit-scrollbar {
8
+ width: 6px;
9
  }
10
 
11
+ ::-webkit-scrollbar-track {
12
+ background: #f1f1f1;
 
 
 
13
  }
14
 
15
+ ::-webkit-scrollbar-thumb {
16
+ background: #4a6cf7;
17
+ border-radius: 3px;
 
 
 
18
  }
19
 
20
+ ::-webkit-scrollbar-thumb:hover {
21
+ background: #3a5ce4;
22
  }
23
+
24
+ .dark ::-webkit-scrollbar-track {
25
+ background: #1a1c20;
26
+ }
27
+
28
+ .dark ::-webkit-scrollbar-thumb {
29
+ background: #4a6cf7;
30
+ }
31
+
32
+ .dark ::-webkit-scrollbar-thumb:hover {
33
+ background: #3a5ce4;
34
+ }
35
+
36
+ /* Button animations */
37
+ button {
38
+ transform: translateY(0);
39
+ transition: transform 0.2s ease, box-shadow 0.2s ease;
40
+ }
41
+
42
+ button:hover {
43
+ transform: translateY(-2px);
44
+ box-shadow: 0 4px 12px rgba(74, 108, 247, 0.2);
45
+ }
46
+
47
+ button:active {
48
+ transform: translateY(0);
49
+ }