testdaasdsadasdas commited on
Commit
edde310
·
verified ·
1 Parent(s): 74f562e

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 +7 -4
  2. components/workout-card.js +101 -0
  3. index.html +107 -19
  4. style.css +30 -20
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Flexfusion Glow
3
- emoji: 🏢
4
  colorFrom: pink
5
- colorTo: yellow
 
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: FlexFusion Glow 💪✨
 
3
  colorFrom: pink
4
+ colorTo: red
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).
components/workout-card.js ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class WorkoutCard extends HTMLElement {
2
+ constructor() {
3
+ super();
4
+ this.attachShadow({ mode: 'open' });
5
+ this.shadowRoot.innerHTML = `
6
+ <style>
7
+ .card {
8
+ background: var(--card-bg, #FFFFFF);
9
+ border-radius: 16px;
10
+ padding: 1.5rem;
11
+ box-shadow: var(--card-shadow, 0 4px 6px rgba(0, 0, 0, 0.05));
12
+ transition: all 0.3s ease;
13
+ margin-bottom: 1rem;
14
+ }
15
+ .card:hover {
16
+ transform: translateY(-2px);
17
+ box-shadow: var(--card-shadow-hover, 0 10px 15px rgba(0, 0, 0, 0.1));
18
+ }
19
+ .header {
20
+ display: flex;
21
+ justify-content: space-between;
22
+ align-items: center;
23
+ margin-bottom: 1rem;
24
+ }
25
+ .title {
26
+ font-weight: 600;
27
+ font-size: 1.125rem;
28
+ color: var(--text-primary, #111111);
29
+ margin: 0;
30
+ }
31
+ .difficulty {
32
+ padding: 0.25rem 0.5rem;
33
+ border-radius: 8px;
34
+ font-size: 0.75rem;
35
+ font-weight: 500;
36
+ background: var(--difficulty-bg, #EFF6FF);
37
+ color: var(--difficulty-text, #4A6CF7);
38
+ }
39
+ .stats {
40
+ display: grid;
41
+ grid-template-columns: repeat(3, 1fr);
42
+ gap: 1rem;
43
+ margin-bottom: 1rem;
44
+ }
45
+ .stat {
46
+ display: flex;
47
+ flex-direction: column;
48
+ align-items: center;
49
+ }
50
+ .stat-value {
51
+ font-weight: 700;
52
+ font-size: 1.25rem;
53
+ color: var(--text-primary, #111111);
54
+ }
55
+ .stat-label {
56
+ font-size: 0.75rem;
57
+ color: var(--text-secondary, #555555);
58
+ }
59
+ .button {
60
+ width: 100%;
61
+ padding: 0.75rem;
62
+ border-radius: 12px;
63
+ font-weight: 600;
64
+ background: var(--primary, #4A6CF7);
65
+ color: white;
66
+ border: none;
67
+ cursor: pointer;
68
+ transition: background 0.2s;
69
+ }
70
+ .button:hover {
71
+ background: var(--primary-hover, #3A5CE6);
72
+ }
73
+ </style>
74
+ <div class="card">
75
+ <div class="header">
76
+ <h3 class="title"><slot name="title">Workout Title</slot></h3>
77
+ <span class="difficulty"><slot name="difficulty">Beginner</slot></span>
78
+ </div>
79
+ <div class="stats">
80
+ <div class="stat">
81
+ <span class="stat-value"><slot name="duration">30</slot>min</span>
82
+ <span class="stat-label">Duration</span>
83
+ </div>
84
+ <div class="stat">
85
+ <span class="stat-value"><slot name="exercises">8</slot></span>
86
+ <span class="stat-label">Exercises</span>
87
+ </div>
88
+ <div class="stat">
89
+ <span class="stat-value"><slot name="calories">280</slot></span>
90
+ <span class="stat-label">Calories</span>
91
+ </div>
92
+ </div>
93
+ <button class="button">
94
+ <slot name="button">Start Workout</slot>
95
+ </button>
96
+ </div>
97
+ `;
98
+ }
99
+ }
100
+
101
+ customElements.define('workout-card', WorkoutCard);
index.html CHANGED
@@ -1,19 +1,107 @@
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="light">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>FitFusion Glow | Home</title>
7
+ <link rel="stylesheet" href="style.css">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
10
+ <script src="https://unpkg.com/feather-icons"></script>
11
+ <script>
12
+ tailwind.config = {
13
+ theme: {
14
+ extend: {
15
+ colors: {
16
+ primary: '#4A6CF7',
17
+ success: '#42C77A',
18
+ warning: '#F7B84B',
19
+ danger: '#EF4D4D',
20
+ }
21
+ }
22
+ }
23
+ }
24
+ </script>
25
+ </head>
26
+ <body class="bg-gray-50 dark:bg-[#0E0F12] transition-colors duration-300">
27
+ <custom-navbar></custom-navbar>
28
+
29
+ <main class="container mx-auto px-4 py-8">
30
+ <!-- Hero Section -->
31
+ <section class="flex flex-col md:flex-row items-center justify-between gap-8 mb-16">
32
+ <div class="md:w-1/2">
33
+ <h1 class="text-4xl md:text-5xl font-bold text-gray-900 dark:text-white mb-4">
34
+ Stronger <span class="text-primary">Every</span> Day
35
+ </h1>
36
+ <p class="text-lg text-gray-600 dark:text-gray-300 mb-8">
37
+ Transform your fitness journey with personalized workouts, progress tracking, and expert guidance.
38
+ </p>
39
+ <div class="flex gap-4">
40
+ <a href="login.html" class="bg-primary hover:bg-primary/90 text-white px-6 py-3 rounded-xl font-medium transition-all">
41
+ Get Started
42
+ </a>
43
+ <a href="#features" class="border border-gray-300 dark:border-gray-700 hover:bg-gray-100 dark:hover:bg-gray-800 text-gray-700 dark:text-gray-300 px-6 py-3 rounded-xl font-medium transition-all">
44
+ Learn More
45
+ </a>
46
+ </div>
47
+ </div>
48
+ <div class="md:w-1/2">
49
+ <img src="http://static.photos/fitness/1024x576/1" alt="Fitness App" class="rounded-2xl shadow-xl dark:shadow-lg dark:shadow-primary/20">
50
+ </div>
51
+ </section>
52
+
53
+ <!-- Features Section -->
54
+ <section id="features" class="mb-16">
55
+ <h2 class="text-3xl font-bold text-center text-gray-900 dark:text-white mb-12">Why Choose FitFusion</h2>
56
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
57
+ <div class="bg-white dark:bg-[#1A1C20] p-6 rounded-2xl shadow-md dark:shadow-none">
58
+ <div class="w-12 h-12 bg-primary/10 dark:bg-primary/20 rounded-xl flex items-center justify-center mb-4">
59
+ <i data-feather="activity" class="text-primary w-6 h-6"></i>
60
+ </div>
61
+ <h3 class="text-xl font-semibold text-gray-900 dark:text-white mb-2">Smart Workouts</h3>
62
+ <p class="text-gray-600 dark:text-gray-400">
63
+ Personalized plans that adapt to your progress and goals.
64
+ </p>
65
+ </div>
66
+ <div class="bg-white dark:bg-[#1A1C20] p-6 rounded-2xl shadow-md dark:shadow-none">
67
+ <div class="w-12 h-12 bg-primary/10 dark:bg-primary/20 rounded-xl flex items-center justify-center mb-4">
68
+ <i data-feather="trending-up" class="text-primary w-6 h-6"></i>
69
+ </div>
70
+ <h3 class="text-xl font-semibold text-gray-900 dark:text-white mb-2">Progress Tracking</h3>
71
+ <p class="text-gray-600 dark:text-gray-400">
72
+ Visualize your improvements with detailed analytics.
73
+ </p>
74
+ </div>
75
+ <div class="bg-white dark:bg-[#1A1C20] p-6 rounded-2xl shadow-md dark:shadow-none">
76
+ <div class="w-12 h-12 bg-primary/10 dark:bg-primary/20 rounded-xl flex items-center justify-center mb-4">
77
+ <i data-feather="award" class="text-primary w-6 h-6"></i>
78
+ </div>
79
+ <h3 class="text-xl font-semibold text-gray-900 dark:text-white mb-2">Expert Guidance</h3>
80
+ <p class="text-gray-600 dark:text-gray-400">
81
+ Access professional advice and form corrections.
82
+ </p>
83
+ </div>
84
+ </div>
85
+ </section>
86
+
87
+ <!-- CTA Section -->
88
+ <section class="bg-primary/5 dark:bg-primary/10 p-8 rounded-2xl text-center mb-16">
89
+ <h2 class="text-2xl font-bold text-gray-900 dark:text-white mb-4">Ready to Transform Your Fitness?</h2>
90
+ <p class="text-gray-600 dark:text-gray-300 mb-6 max-w-2xl mx-auto">
91
+ Join thousands of users who have already achieved their fitness goals with FitFusion Glow.
92
+ </p>
93
+ <a href="signup.html" class="inline-block bg-primary hover:bg-primary/90 text-white px-8 py-3 rounded-xl font-medium transition-all">
94
+ Start Your Journey Today
95
+ </a>
96
+ </section>
97
+ </main>
98
+
99
+ <custom-footer></custom-footer>
100
+ <script src="components/navbar.js"></script>
101
+ <script src="components/footer.js"></script>
102
+ <script src="components/workout-card.js"></script>
103
+ <script src="script.js"></script>
104
+ <script>feather.replace();</script>
105
+ <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
106
+ </body>
107
+ </html>
style.css CHANGED
@@ -1,28 +1,38 @@
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
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
 
 
 
2
 
3
+ * {
4
+ font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
5
+ }
6
+ :root {
7
+ --card-bg: #FFFFFF;
8
+ --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
9
+ --card-shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.1);
10
+ --text-primary: #111111;
11
+ --text-secondary: #555555;
12
+ --primary: #4A6CF7;
13
+ --primary-hover: #3A5CE6;
14
+ --difficulty-bg: #EFF6FF;
15
+ --difficulty-text: #4A6CF7;
16
  }
17
 
18
+ .dark {
19
+ --card-bg: #1A1C20;
20
+ --card-shadow: none;
21
+ --card-shadow-hover: 0 10px 15px rgba(74, 108, 247, 0.1);
22
+ --text-primary: #FFFFFF;
23
+ --text-secondary: #9A9BA1;
24
+ --difficulty-bg: rgba(74, 108, 247, 0.2);
25
+ --difficulty-text: #4A6CF7;
26
  }
27
 
28
+ /* Custom scrollbar */
29
+ ::-webkit-scrollbar {
30
+ width: 8px;
31
+ height: 8px;
 
 
32
  }
33
 
34
+ ::-webkit-scrollbar-track {
35
+ background: #f1f1f1;
36
  }
37
+
38
+ ::-webkit