tokey4 commited on
Commit
72c5973
·
verified ·
1 Parent(s): fb46079

create a beautiful professional UI/UX website which is about leaning website like there will be different subject's [Business Communication, Digital Electronics-II, Java programming, Data Structure & Algorithm, Computer Peripherals & Interfacing, Web Design & Development - I, Environmental Studies] after clicking the subject there will be chapters showing with name clicking the chapter the topics will expand shown. Then they can see youtube video with website own theme controls. (for now create the website with dump data i will provide you the data latter to apply)

Browse files
Files changed (4) hide show
  1. README.md +8 -5
  2. index.html +109 -19
  3. script.js +104 -0
  4. style.css +54 -19
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Edusphere Navigator
3
- emoji: 👀
4
- colorFrom: pink
5
- colorTo: blue
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: EduSphere Navigator 🚀
3
+ colorFrom: gray
4
+ colorTo: pink
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,109 @@
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="dark">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>EduSphere Navigator - Learn Smart</title>
7
+ <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
8
+ <link rel="stylesheet" href="style.css">
9
+ <script src="https://cdn.tailwindcss.com"></script>
10
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
11
+ <script src="https://unpkg.com/feather-icons"></script>
12
+ <script>
13
+ tailwind.config = {
14
+ darkMode: 'class',
15
+ theme: {
16
+ extend: {
17
+ colors: {
18
+ primary: {
19
+ 50: '#f0f9ff',
20
+ 100: '#e0f2fe',
21
+ 200: '#bae6fd',
22
+ 300: '#7dd3fc',
23
+ 400: '#38bdf8',
24
+ 500: '#0ea5e9',
25
+ 600: '#0284c7',
26
+ 700: '#0369a1',
27
+ 800: '#075985',
28
+ 900: '#0c4a6e',
29
+ },
30
+ secondary: {
31
+ 50: '#fdf4ff',
32
+ 100: '#fae8ff',
33
+ 200: '#f5d0fe',
34
+ 300: '#f0abfc',
35
+ 400: '#e879f9',
36
+ 500: '#d946ef',
37
+ 600: '#c026d3',
38
+ 700: '#a21caf',
39
+ 800: '#86198f',
40
+ 900: '#701a75',
41
+ }
42
+ }
43
+ }
44
+ }
45
+ }
46
+ </script>
47
+ </head>
48
+ <body class="bg-gray-900 text-gray-100 min-h-screen">
49
+ <custom-navbar></custom-navbar>
50
+
51
+ <main class="container mx-auto px-4 py-8">
52
+ <!-- Hero Section -->
53
+ <section class="text-center mb-12">
54
+ <h1 class="text-4xl md:text-6xl font-bold bg-gradient-to-r from-primary-400 to-secondary-400 bg-clip-text text-transparent mb-4">
55
+ Master Your Subjects
56
+ </h1>
57
+ <p class="text-xl text-gray-400 max-w-2xl mx-auto">
58
+ Dive deep into comprehensive learning materials, organized chapters, and interactive video lessons tailored for your academic success.
59
+ </p>
60
+ </section>
61
+
62
+ <!-- Subjects Grid -->
63
+ <section class="mb-16">
64
+ <h2 class="text-3xl font-bold text-center mb-8 text-primary-300">Available Subjects</h2>
65
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6" id="subjects-grid">
66
+ <!-- Subjects will be populated by JavaScript -->
67
+ </div>
68
+ </section>
69
+
70
+ <!-- Features Section -->
71
+ <section class="bg-gray-800 rounded-2xl p-8 mb-16">
72
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
73
+ <div class="text-center">
74
+ <div class="w-16 h-16 bg-primary-500 rounded-full flex items-center justify-center mx-auto mb-4">
75
+ <i data-feather="book-open" class="w-8 h-8"></i>
76
+ </div>
77
+ <h3 class="text-xl font-semibold mb-2">Structured Learning</h3>
78
+ <p class="text-gray-400">Organized chapters and topics for systematic knowledge acquisition</p>
79
+ </div>
80
+ <div class="text-center">
81
+ <div class="w-16 h-16 bg-secondary-500 rounded-full flex items-center justify-center mx-auto mb-4">
82
+ <i data-feather="video" class="w-8 h-8"></i>
83
+ </div>
84
+ <h3 class="text-xl font-semibold mb-2">Video Lessons</h3>
85
+ <p class="text-gray-400">Integrated YouTube videos with custom themed player controls</p>
86
+ </div>
87
+ <div class="text-center">
88
+ <div class="w-16 h-16 bg-primary-500 rounded-full flex items-center justify-center mx-auto mb-4">
89
+ <i data-feather="award" class="w-8 h-8"></i>
90
+ </div>
91
+ <h3 class="text-xl font-semibold mb-2">Progress Tracking</h3>
92
+ <p class="text-gray-400">Monitor your learning journey and track completed topics</p>
93
+ </div>
94
+ </div>
95
+ </section>
96
+ </main>
97
+
98
+ <custom-footer></custom-footer>
99
+
100
+ <!-- Components -->
101
+ <script src="components/navbar.js"></script>
102
+ <script src="components/footer.js"></script>
103
+ <script src="script.js"></script>
104
+ <script>
105
+ feather.replace();
106
+ </script>
107
+ <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
108
+ </body>
109
+ </html>
script.js ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Sample data structure
2
+ const subjectsData = {
3
+ "Business Communication": {
4
+ chapters: {
5
+ "Introduction to Business Communication": {
6
+ topics: [
7
+ "Nature and Scope of Business Communication",
8
+ "Importance of Effective Communication",
9
+ "Communication Process and Models"
10
+ ],
11
+ videoId: "dQw4w9WgXcQ"
12
+ },
13
+ "Written Business Communication": {
14
+ topics: [
15
+ "Business Letters and Memos",
16
+ "Reports and Proposals",
17
+ "Email Etiquette"
18
+ ],
19
+ videoId: "dQw4w9WgXcQ"
20
+ }
21
+ }
22
+ },
23
+ "Digital Electronics-II": {
24
+ chapters: {
25
+ "Sequential Logic Circuits": {
26
+ topics: [
27
+ "Flip-Flops and Latches",
28
+ "Counters and Registers",
29
+ "State Machines"
30
+ ],
31
+ videoId: "dQw4w9WgXcQ"
32
+ },
33
+ "Memory Systems": {
34
+ topics: [
35
+ "RAM and ROM",
36
+ "Cache Memory",
37
+ "Memory Organization"
38
+ ],
39
+ videoId: "dQw4w9WgXcQ"
40
+ }
41
+ }
42
+ },
43
+ "Java Programming": {
44
+ chapters: {
45
+ "Object-Oriented Programming": {
46
+ topics: [
47
+ "Classes and Objects",
48
+ "Inheritance and Polymorphism",
49
+ "Encapsulation and Abstraction"
50
+ ],
51
+ videoId: "dQw4w9WgXcQ"
52
+ },
53
+ "Exception Handling": {
54
+ topics: [
55
+ "Try-Catch Blocks",
56
+ "Custom Exceptions",
57
+ "Exception Hierarchy"
58
+ ],
59
+ videoId: "dQw4w9WgXcQ"
60
+ }
61
+ }
62
+ },
63
+ "Data Structure & Algorithm": {
64
+ chapters: {
65
+ "Sorting Algorithms": {
66
+ topics: [
67
+ "Bubble Sort and Selection Sort",
68
+ "Quick Sort and Merge Sort",
69
+ "Time and Space Complexity"
70
+ ],
71
+ videoId: "dQw4w9WgXcQ"
72
+ },
73
+ "Tree Data Structures": {
74
+ topics: [
75
+ "Binary Trees",
76
+ "BST Operations",
77
+ "Tree Traversal Methods"
78
+ ],
79
+ videoId: "dQw4w9WgXcQ"
80
+ }
81
+ }
82
+ },
83
+ "Computer Peripherals & Interfacing": {
84
+ chapters: {
85
+ "Input Devices": {
86
+ topics: [
87
+ "Keyboard and Mouse Interfaces",
88
+ "Scanner Technology",
89
+ "Touchscreen Systems"
90
+ ],
91
+ videoId: "dQw4w9WgXcQ"
92
+ },
93
+ "Output Devices": {
94
+ topics: [
95
+ "Monitor Technologies",
96
+ "Printers and Plotters",
97
+ "Audio Output Systems"
98
+ ],
99
+ videoId: "dQw4w9WgXcQ"
100
+ }
101
+ }
102
+ },
103
+ "Web Design & Development - I": {
104
+ {"ok":false,"message":"terminated"}
style.css CHANGED
@@ -1,28 +1,63 @@
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
+ /* Custom Scrollbar */
2
+ ::-webkit-scrollbar {
3
+ width: 8px;
4
  }
5
 
6
+ ::-webkit-scrollbar-track {
7
+ background: #1f2937;
 
8
  }
9
 
10
+ ::-webkit-scrollbar-thumb {
11
+ background: #4b5563;
12
+ border-radius: 4px;
 
 
13
  }
14
 
15
+ ::-webkit-scrollbar-thumb:hover {
16
+ background: #6b7280;
 
 
 
 
17
  }
18
 
19
+ /* Smooth transitions */
20
+ * {
21
+ transition: all 0.2s ease-in-out;
22
  }
23
+
24
+ /* Custom animations */
25
+ @keyframes fadeInUp {
26
+ from {
27
+ opacity: 0;
28
+ transform: translateY(20px);
29
+ }
30
+ to {
31
+ opacity: 1;
32
+ transform: translateY(0);
33
+ }
34
+ }
35
+
36
+ .fade-in-up {
37
+ animation: fadeInUp 0.5s ease-out;
38
+ }
39
+
40
+ /* Glass morphism effect */
41
+ .glass {
42
+ background: rgba(255, 255, 255, 0.1);
43
+ backdrop-filter: blur(10px);
44
+ border: 1px solid rgba(255, 255, 255, 0.1);
45
+ }
46
+
47
+ /* Hover glow effect */
48
+ .hover-glow:hover {
49
+ box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
50
+ }
51
+
52
+ /* Gradient text animation */
53
+ .gradient-text {
54
+ background: linear-gradient(45deg, #0ea5e9, #d946ef, #0ea5e9);
55
+ background-size: 200% 200%;
56
+ animation: gradientShift 3s ease infinite;
57
+ }
58
+
59
+ @keyframes gradientShift {
60
+ 0% { background-position: 0% 50%; }
61
+ 50% { background-position: 100% 50%; }
62
+ 100% { background-position: 0% 50%; }
63
+ }