DevpGus commited on
Commit
945b8ba
·
verified ·
1 Parent(s): 7b50d2b

Você pode criar um template de página para os projetos que é direcionado ao clicarmos em "View Details"?

Browse files
Files changed (7) hide show
  1. README.md +9 -5
  2. components/footer.js +97 -0
  3. components/navbar.js +124 -0
  4. index.html +230 -19
  5. project-details.html +137 -0
  6. script.js +75 -0
  7. style.css +22 -19
README.md CHANGED
@@ -1,10 +1,14 @@
1
  ---
2
- title: Quantum Project Showcase
3
- emoji: 🏢
4
- colorFrom: gray
5
- colorTo: gray
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: Quantum Project Showcase 🚀
3
+ colorFrom: purple
4
+ colorTo: yellow
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).
14
+
components/footer.js ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class CustomFooter extends HTMLElement {
2
+ connectedCallback() {
3
+ this.attachShadow({ mode: 'open' });
4
+ this.shadowRoot.innerHTML = `
5
+ <style>
6
+ footer {
7
+ background: #1f2937;
8
+ color: white;
9
+ padding: 3rem 2rem;
10
+ text-align: center;
11
+ }
12
+ .footer-content {
13
+ max-width: 1200px;
14
+ margin: 0 auto;
15
+ display: grid;
16
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
17
+ gap: 2rem;
18
+ text-align: left;
19
+ }
20
+ .footer-section h3 {
21
+ font-size: 1.25rem;
22
+ margin-bottom: 1.5rem;
23
+ color: #e5e7eb;
24
+ }
25
+ .footer-section p {
26
+ color: #9ca3af;
27
+ line-height: 1.6;
28
+ }
29
+ .social-links {
30
+ display: flex;
31
+ gap: 1rem;
32
+ margin-top: 1rem;
33
+ }
34
+ .social-links a {
35
+ color: white;
36
+ background: #374151;
37
+ width: 40px;
38
+ height: 40px;
39
+ border-radius: 50%;
40
+ display: flex;
41
+ align-items: center;
42
+ justify-content: center;
43
+ transition: background 0.2s;
44
+ }
45
+ .social-links a:hover {
46
+ background: #4f46e5;
47
+ }
48
+ .copyright {
49
+ margin-top: 3rem;
50
+ padding-top: 1.5rem;
51
+ border-top: 1px solid #374151;
52
+ color: #9ca3af;
53
+ font-size: 0.875rem;
54
+ }
55
+ @media (max-width: 768px) {
56
+ .footer-content {
57
+ grid-template-columns: 1fr;
58
+ text-align: center;
59
+ }
60
+ .social-links {
61
+ justify-content: center;
62
+ }
63
+ }
64
+ </style>
65
+ <footer>
66
+ <div class="footer-content">
67
+ <div class="footer-section">
68
+ <h3>Quantum Coder Nexus</h3>
69
+ <p>Bridging the quantum and classical worlds through innovative research and development.</p>
70
+ </div>
71
+ <div class="footer-section">
72
+ <h3>Quick Links</h3>
73
+ <ul style="list-style: none; padding: 0;">
74
+ <li style="margin-bottom: 0.5rem;"><a href="#home" style="color: #9ca3af; text-decoration: none;">Home</a></li>
75
+ <li style="margin-bottom: 0.5rem;"><a href="#projects" style="color: #9ca3af; text-decoration: none;">Projects</a></li>
76
+ <li style="margin-bottom: 0.5rem;"><a href="#education" style="color: #9ca3af; text-decoration: none;">Education</a></li>
77
+ <li><a href="#contact" style="color: #9ca3af; text-decoration: none;">Contact</a></li>
78
+ </ul>
79
+ </div>
80
+ <div class="footer-section">
81
+ <h3>Connect</h3>
82
+ <div class="social-links">
83
+ <a href="#"><i data-feather="github"></i></a>
84
+ <a href="#"><i data-feather="linkedin"></i></a>
85
+ <a href="#"><i data-feather="twitter"></i></a>
86
+ <a href="#"><i data-feather="mail"></i></a>
87
+ </div>
88
+ </div>
89
+ </div>
90
+ <div class="copyright">
91
+ &copy; ${new Date().getFullYear()} Quantum Coder Nexus. All rights reserved.
92
+ </div>
93
+ </footer>
94
+ `;
95
+ }
96
+ }
97
+ customElements.define('custom-footer', CustomFooter);
components/navbar.js ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class CustomNavbar extends HTMLElement {
2
+ connectedCallback() {
3
+ this.attachShadow({ mode: 'open' });
4
+ this.shadowRoot.innerHTML = `
5
+ <style>
6
+ nav {
7
+ background: white;
8
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
9
+ padding: 1.5rem 2rem;
10
+ position: fixed;
11
+ width: 100%;
12
+ top: 0;
13
+ z-index: 1000;
14
+ display: flex;
15
+ justify-content: space-between;
16
+ align-items: center;
17
+ }
18
+ .logo {
19
+ color: #4f46e5;
20
+ font-weight: 700;
21
+ font-size: 1.5rem;
22
+ display: flex;
23
+ align-items: center;
24
+ }
25
+ .logo i {
26
+ margin-right: 0.5rem;
27
+ }
28
+ ul {
29
+ display: flex;
30
+ gap: 2rem;
31
+ list-style: none;
32
+ margin: 0;
33
+ padding: 0;
34
+ }
35
+ a {
36
+ color: #4b5563;
37
+ text-decoration: none;
38
+ font-weight: 500;
39
+ transition: color 0.2s;
40
+ position: relative;
41
+ }
42
+ a:hover {
43
+ color: #4f46e5;
44
+ }
45
+ a.active {
46
+ color: #4f46e5;
47
+ font-weight: 600;
48
+ }
49
+ a.active::after {
50
+ content: '';
51
+ position: absolute;
52
+ bottom: -8px;
53
+ left: 0;
54
+ width: 100%;
55
+ height: 3px;
56
+ background: #4f46e5;
57
+ border-radius: 3px;
58
+ }
59
+ .mobile-menu-btn {
60
+ display: none;
61
+ background: none;
62
+ border: none;
63
+ color: #4f46e5;
64
+ cursor: pointer;
65
+ }
66
+ @media (max-width: 768px) {
67
+ ul {
68
+ position: fixed;
69
+ top: 80px;
70
+ left: 0;
71
+ width: 100%;
72
+ background: white;
73
+ flex-direction: column;
74
+ align-items: center;
75
+ padding: 2rem 0;
76
+ gap: 1.5rem;
77
+ box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
78
+ transform: translateY(-150%);
79
+ transition: transform 0.3s ease-in-out;
80
+ }
81
+ ul.open {
82
+ transform: translateY(0);
83
+ }
84
+ .mobile-menu-btn {
85
+ display: block;
86
+ }
87
+ a.active::after {
88
+ display: none;
89
+ }
90
+ }
91
+ </style>
92
+ <nav>
93
+ <a href="#home" class="logo">
94
+ <i data-feather="cpu"></i> Quantum Coder
95
+ </a>
96
+ <button class="mobile-menu-btn">
97
+ <i data-feather="menu"></i>
98
+ </button>
99
+ <ul>
100
+ <li><a href="#home">Home</a></li>
101
+ <li><a href="#projects">Projects</a></li>
102
+ <li><a href="#education">Education</a></li>
103
+ <li><a href="#about">About</a></li>
104
+ <li><a href="#contact">Contact</a></li>
105
+ </ul>
106
+ </nav>
107
+ `;
108
+
109
+ // Mobile menu toggle
110
+ const menuBtn = this.shadowRoot.querySelector('.mobile-menu-btn');
111
+ const menu = this.shadowRoot.querySelector('ul');
112
+ menuBtn.addEventListener('click', () => {
113
+ menu.classList.toggle('open');
114
+ const icon = menuBtn.querySelector('i');
115
+ if (menu.classList.contains('open')) {
116
+ icon.setAttribute('data-feather', 'x');
117
+ } else {
118
+ icon.setAttribute('data-feather', 'menu');
119
+ }
120
+ feather.replace();
121
+ });
122
+ }
123
+ }
124
+ customElements.define('custom-navbar', CustomNavbar);
index.html CHANGED
@@ -1,19 +1,230 @@
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">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Quantum Coder Nexus | Portfolio</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 src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
12
+ </head>
13
+ <body class="bg-gray-50 text-gray-900">
14
+ <custom-navbar></custom-navbar>
15
+
16
+ <!-- Hero Section -->
17
+ <section id="home" class="relative h-screen flex items-center justify-center" style="background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);">
18
+ <div id="vanta-bg" class="absolute inset-0"></div>
19
+ <div class="z-10 text-center px-6">
20
+ <h1 class="text-5xl md:text-7xl font-bold text-white mb-4">Quantum Coder Nexus</h1>
21
+ <p class="text-xl md:text-2xl text-white mb-8 max-w-2xl mx-auto">Developer & Researcher bridging the quantum and classical worlds</p>
22
+ <div class="flex gap-4 justify-center">
23
+ <a href="#projects" class="px-6 py-3 bg-white text-indigo-600 rounded-lg font-medium hover:bg-gray-100 transition">View Projects</a>
24
+ <a href="#contact" class="px-6 py-3 border-2 border-white text-white rounded-lg font-medium hover:bg-white hover:text-indigo-600 transition">Contact Me</a>
25
+ </div>
26
+ </div>
27
+ <div class="absolute bottom-10 left-1/2 transform -translate-x-1/2 animate-bounce">
28
+ <i data-feather="chevron-down" class="text-white w-10 h-10"></i>
29
+ </div>
30
+ </section>
31
+
32
+ <!-- Projects Section -->
33
+ <section id="projects" class="py-20 bg-gray-100">
34
+ <div class="container mx-auto px-6">
35
+ <h2 class="text-3xl font-bold text-center mb-12">Featured Projects</h2>
36
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
37
+ <div class="bg-white rounded-xl shadow-lg overflow-hidden transition-transform hover:scale-105">
38
+ <img src="http://static.photos/technology/640x360/1" alt="Project 1" class="w-full h-48 object-cover">
39
+ <div class="p-6">
40
+ <h3 class="text-xl font-semibold mb-2">Quantum Simulation</h3>
41
+ <p class="text-gray-600 mb-4">Advanced quantum computing simulations using Qiskit framework</p>
42
+ <div class="flex flex-wrap gap-2 mb-4">
43
+ <span class="px-3 py-1 bg-indigo-100 text-indigo-800 rounded-full text-sm">Python</span>
44
+ <span class="px-3 py-1 bg-indigo-100 text-indigo-800 rounded-full text-sm">Qiskit</span>
45
+ <span class="px-3 py-1 bg-indigo-100 text-indigo-800 rounded-full text-sm">Quantum</span>
46
+ </div>
47
+ <a href="project-details.html?id=1" class="text-indigo-600 font-medium inline-flex items-center">
48
+ View Details <i data-feather="arrow-right" class="ml-2 w-4 h-4"></i>
49
+ </a>
50
+ </div>
51
+ </div>
52
+ <div class="bg-white rounded-xl shadow-lg overflow-hidden transition-transform hover:scale-105">
53
+ <img src="http://static.photos/technology/640x360/2" alt="Project 2" class="w-full h-48 object-cover">
54
+ <div class="p-6">
55
+ <h3 class="text-xl font-semibold mb-2">Neural Networks</h3>
56
+ <p class="text-gray-600 mb-4">Deep learning models for medical image analysis</p>
57
+ <div class="flex flex-wrap gap-2 mb-4">
58
+ <span class="px-3 py-1 bg-indigo-100 text-indigo-800 rounded-full text-sm">Python</span>
59
+ <span class="px-3 py-1 bg-indigo-100 text-indigo-800 rounded-full text-sm">TensorFlow</span>
60
+ <span class="px-3 py-1 bg-indigo-100 text-indigo-800 rounded-full text-sm">AI</span>
61
+ </div>
62
+ <a href="project-details.html?id=2" class="text-indigo-600 font-medium inline-flex items-center">
63
+ View Details <i data-feather="arrow-right" class="ml-2 w-4 h-4"></i>
64
+ </a>
65
+ </div>
66
+ </div>
67
+ <div class="bg-white rounded-xl shadow-lg overflow-hidden transition-transform hover:scale-105">
68
+ <img src="http://static.photos/technology/640x360/3" alt="Project 3" class="w-full h-48 object-cover">
69
+ <div class="p-6">
70
+ <h3 class="text-xl font-semibold mb-2">Research Portal</h3>
71
+ <p class="text-gray-600 mb-4">Platform for academic collaboration and paper sharing</p>
72
+ <div class="flex flex-wrap gap-2 mb-4">
73
+ <span class="px-3 py-1 bg-indigo-100 text-indigo-800 rounded-full text-sm">React</span>
74
+ <span class="px-3 py-1 bg-indigo-100 text-indigo-800 rounded-full text-sm">Node.js</span>
75
+ <span class="px-3 py-1 bg-indigo-100 text-indigo-800 rounded-full text-sm">MongoDB</span>
76
+ </div>
77
+ <a href="project-details.html?id=3" class="text-indigo-600 font-medium inline-flex items-center">
78
+ View Details <i data-feather="arrow-right" class="ml-2 w-4 h-4"></i>
79
+ </a>
80
+ </div>
81
+ </div>
82
+ </div>
83
+ </div>
84
+ </section>
85
+
86
+ <!-- Education Section -->
87
+ <section id="education" class="py-20 bg-white">
88
+ <div class="container mx-auto px-6">
89
+ <h2 class="text-3xl font-bold text-center mb-12">Academic Journey</h2>
90
+ <div class="max-w-4xl mx-auto">
91
+ <div class="relative">
92
+ <!-- Timeline -->
93
+ <div class="absolute left-1/2 transform -translate-x-1/2 h-full w-1 bg-indigo-200"></div>
94
+
95
+ <!-- Timeline Item 1 -->
96
+ <div class="mb-12 flex md:flex-row flex-col items-center">
97
+ <div class="md:w-1/2 md:pr-12 md:text-right mb-4 md:mb-0">
98
+ <h3 class="text-xl font-semibold">Ph.D. in Quantum Computing</h3>
99
+ <p class="text-indigo-600">MIT | 2023-Present</p>
100
+ </div>
101
+ <div class="flex justify-center md:justify-start w-12 h-12 rounded-full bg-indigo-500 text-white items-center relative z-10">
102
+ <i data-feather="book" class="w-6 h-6"></i>
103
+ </div>
104
+ <div class="md:w-1/2 md:pl-12 mt-4 md:mt-0">
105
+ <p>Researching quantum algorithms for optimization problems under Prof. John Smith. Published 3 papers in top-tier journals.</p>
106
+ </div>
107
+ </div>
108
+
109
+ <!-- Timeline Item 2 -->
110
+ <div class="mb-12 flex md:flex-row flex-col items-center">
111
+ <div class="md:w-1/2 md:pr-12 md:text-right mb-4 md:mb-0">
112
+ <h3 class="text-xl font-semibold">M.Sc. in Computer Science</h3>
113
+ <p class="text-indigo-600">Stanford University | 2020-2022</p>
114
+ </div>
115
+ <div class="flex justify-center md:justify-start w-12 h-12 rounded-full bg-indigo-500 text-white items-center relative z-10">
116
+ <i data-feather="cpu" class="w-6 h-6"></i>
117
+ </div>
118
+ <div class="md:w-1/2 md:pl-12 mt-4 md:mt-0">
119
+ <p>Specialized in AI and Machine Learning with a thesis on "Neural Networks for Quantum State Classification".</p>
120
+ </div>
121
+ </div>
122
+
123
+ <!-- Timeline Item 3 -->
124
+ <div class="flex md:flex-row flex-col items-center">
125
+ <div class="md:w-1/2 md:pr-12 md:text-right mb-4 md:mb-0">
126
+ <h3 class="text-xl font-semibold">B.Sc. in Physics</h3>
127
+ <p class="text-indigo-600">ETH Zurich | 2016-2020</p>
128
+ </div>
129
+ <div class="flex justify-center md:justify-start w-12 h-12 rounded-full bg-indigo-500 text-white items-center relative z-10">
130
+ <i data-feather="atom" class="w-6 h-6"></i>
131
+ </div>
132
+ <div class="md:w-1/2 md:pl-12 mt-4 md:mt-0">
133
+ <p>Graduated with honors. Focused on quantum mechanics and computational physics.</p>
134
+ </div>
135
+ </div>
136
+ </div>
137
+ </div>
138
+ </div>
139
+ </section>
140
+
141
+ <!-- About Section -->
142
+ <section id="about" class="py-20 bg-gray-100">
143
+ <div class="container mx-auto px-6">
144
+ <div class="flex flex-col md:flex-row items-center gap-12">
145
+ <div class="md:w-1/2">
146
+ <img src="http://static.photos/people/640x360/1" alt="Profile" class="rounded-xl shadow-lg w-full max-w-md mx-auto">
147
+ </div>
148
+ <div class="md:w-1/2">
149
+ <h2 class="text-3xl font-bold mb-6">About Me</h2>
150
+ <p class="text-lg mb-6">I'm a developer and researcher passionate about bridging the gap between quantum computing and classical software. My work focuses on creating practical applications of quantum algorithms while making them accessible through intuitive interfaces.</p>
151
+ <div class="mb-8">
152
+ <h3 class="text-xl font-semibold mb-4">Research Interests</h3>
153
+ <ul class="grid grid-cols-2 gap-3">
154
+ <li class="flex items-center">
155
+ <i data-feather="zap" class="mr-2 text-indigo-500"></i> Quantum Machine Learning
156
+ </li>
157
+ <li class="flex items-center">
158
+ <i data-feather="code" class="mr-2 text-indigo-500"></i> Quantum Software Development
159
+ </li>
160
+ <li class="flex items-center">
161
+ <i data-feather="cpu" class="mr-2 text-indigo-500"></i> Hybrid Quantum-Classical Systems
162
+ </li>
163
+ <li class="flex items-center">
164
+ <i data-feather="bar-chart-2" class="mr-2 text-indigo-500"></i> Quantum Algorithm Optimization
165
+ </li>
166
+ </ul>
167
+ </div>
168
+ <a href="#" class="px-6 py-3 bg-indigo-600 text-white rounded-lg font-medium inline-flex items-center hover:bg-indigo-700 transition">
169
+ Download CV <i data-feather="download" class="ml-2"></i>
170
+ </a>
171
+ </div>
172
+ </div>
173
+ </div>
174
+ </section>
175
+
176
+ <!-- Contact Section -->
177
+ <section id="contact" class="py-20 bg-white">
178
+ <div class="container mx-auto px-6">
179
+ <h2 class="text-3xl font-bold text-center mb-12">Get In Touch</h2>
180
+ <div class="max-w-2xl mx-auto bg-gray-50 rounded-xl shadow-lg p-8">
181
+ <form>
182
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-6">
183
+ <div>
184
+ <label for="name" class="block mb-2 font-medium">Name</label>
185
+ <input type="text" id="name" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500">
186
+ </div>
187
+ <div>
188
+ <label for="email" class="block mb-2 font-medium">Email</label>
189
+ <input type="email" id="email" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500">
190
+ </div>
191
+ </div>
192
+ <div class="mb-6">
193
+ <label for="subject" class="block mb-2 font-medium">Subject</label>
194
+ <input type="text" id="subject" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500">
195
+ </div>
196
+ <div class="mb-6">
197
+ <label for="message" class="block mb-2 font-medium">Message</label>
198
+ <textarea id="message" rows="4" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500"></textarea>
199
+ </div>
200
+ <button type="submit" class="w-full px-6 py-3 bg-indigo-600 text-white rounded-lg font-medium hover:bg-indigo-700 transition">
201
+ Send Message <i data-feather="send" class="ml-2 inline"></i>
202
+ </button>
203
+ </form>
204
+ </div>
205
+ </div>
206
+ </section>
207
+
208
+ <custom-footer></custom-footer>
209
+
210
+ <script src="components/navbar.js"></script>
211
+ <script src="components/footer.js"></script>
212
+ <script src="script.js"></script>
213
+ <script>
214
+ feather.replace();
215
+ VANTA.GLOBE({
216
+ el: "#vanta-bg",
217
+ mouseControls: true,
218
+ touchControls: true,
219
+ gyroControls: false,
220
+ minHeight: 200.00,
221
+ minWidth: 200.00,
222
+ scale: 1.00,
223
+ scaleMobile: 1.00,
224
+ color: 0x5b21b6,
225
+ backgroundColor: 0x4f46e5
226
+ });
227
+ </script>
228
+ <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
229
+ </body>
230
+ </html>
project-details.html ADDED
@@ -0,0 +1,137 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Project Details | Quantum Coder Nexus</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
+ </head>
11
+ <body class="bg-gray-50">
12
+ <custom-navbar></custom-navbar>
13
+
14
+ <main class="container mx-auto px-6 py-16">
15
+ <div class="max-w-4xl mx-auto">
16
+ <!-- Back Button -->
17
+ <a href="index.html#projects" class="inline-flex items-center text-indigo-600 hover:text-indigo-800 mb-8">
18
+ <i data-feather="arrow-left" class="mr-2"></i> Back to Projects
19
+ </a>
20
+
21
+ <!-- Project Header -->
22
+ <div class="flex flex-col md:flex-row gap-8 mb-12">
23
+ <div class="md:w-2/3">
24
+ <h1 class="text-3xl md:text-4xl font-bold mb-4" id="project-title">Quantum Simulation Platform</h1>
25
+ <p class="text-lg text-gray-600 mb-6" id="project-description">Advanced quantum computing simulations using Qiskit framework with visualization tools for quantum states and circuits.</p>
26
+
27
+ <div class="flex flex-wrap gap-2 mb-6" id="project-tags">
28
+ <span class="px-3 py-1 bg-indigo-100 text-indigo-800 rounded-full text-sm">Python</span>
29
+ <span class="px-3 py-1 bg-indigo-100 text-indigo-800 rounded-full text-sm">Qiskit</span>
30
+ <span class="px-3 py-1 bg-indigo-100 text-indigo-800 rounded-full text-sm">Quantum Computing</span>
31
+ </div>
32
+
33
+ <div class="flex gap-4">
34
+ <a href="#" class="px-6 py-3 bg-indigo-600 text-white rounded-lg font-medium hover:bg-indigo-700 transition inline-flex items-center">
35
+ <i data-feather="github" class="mr-2"></i> View Code
36
+ </a>
37
+ <a href="#" class="px-6 py-3 border border-indigo-600 text-indigo-600 rounded-lg font-medium hover:bg-indigo-50 transition inline-flex items-center">
38
+ <i data-feather="external-link" class="mr-2"></i> Live Demo
39
+ </a>
40
+ </div>
41
+ </div>
42
+ <div class="md:w-1/3">
43
+ <img src="http://static.photos/technology/640x360/1" alt="Project Screenshot" class="rounded-xl shadow-lg w-full" id="project-image">
44
+ </div>
45
+ </div>
46
+
47
+ <!-- Project Details -->
48
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-8 mb-16">
49
+ <div class="bg-white p-6 rounded-xl shadow-sm">
50
+ <h3 class="text-xl font-semibold mb-4 flex items-center">
51
+ <i data-feather="clock" class="mr-2 text-indigo-500"></i> Timeline
52
+ </h3>
53
+ <p class="text-gray-600" id="project-timeline">June 2023 - Present</p>
54
+ </div>
55
+ <div class="bg-white p-6 rounded-xl shadow-sm">
56
+ <h3 class="text-xl font-semibold mb-4 flex items-center">
57
+ <i data-feather="users" class="mr-2 text-indigo-500"></i> Team
58
+ </h3>
59
+ <p class="text-gray-600" id="project-team">Solo project with mentor guidance</p>
60
+ </div>
61
+ <div class="bg-white p-6 rounded-xl shadow-sm">
62
+ <h3 class="text-xl font-semibold mb-4 flex items-center">
63
+ <i data-feather="award" class="mr-2 text-indigo-500"></i> Status
64
+ </h3>
65
+ <p class="text-gray-600" id="project-status">In Development</p>
66
+ </div>
67
+ </div>
68
+
69
+ <!-- Project Content -->
70
+ <div class="bg-white rounded-xl shadow-lg overflow-hidden mb-12">
71
+ <div class="p-8">
72
+ <h2 class="text-2xl font-bold mb-6">Project Overview</h2>
73
+ <div class="prose max-w-none" id="project-content">
74
+ <p>This project aims to create an intuitive platform for simulating quantum algorithms and visualizing quantum states. The system integrates with IBM's quantum computers through Qiskit while providing educational tools for understanding quantum phenomena.</p>
75
+
76
+ <h3 class="text-xl font-semibold mt-8 mb-4">Key Features</h3>
77
+ <ul class="list-disc pl-6 mb-6">
78
+ <li>Interactive quantum circuit builder</li>
79
+ <li>Real-time statevector visualization</li>
80
+ <li>Quantum algorithm tutorials</li>
81
+ <li>Performance benchmarking tools</li>
82
+ <li>Export capabilities for research papers</li>
83
+ </ul>
84
+
85
+ <h3 class="text-xl font-semibold mt-8 mb-4">Technical Details</h3>
86
+ <p>The backend is built with Python using Qiskit for quantum operations, NumPy for matrix operations, and Flask for the API layer. The frontend uses React with D3.js for visualizations and Three.js for 3D Bloch sphere representations.</p>
87
+ </div>
88
+ </div>
89
+ </div>
90
+
91
+ <!-- Gallery -->
92
+ <div class="mb-16">
93
+ <h2 class="text-2xl font-bold mb-6">Gallery</h2>
94
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-6" id="project-gallery">
95
+ <img src="http://static.photos/technology/640x360/5" alt="Screenshot 1" class="rounded-lg shadow-md">
96
+ <img src="http://static.photos/technology/640x360/6" alt="Screenshot 2" class="rounded-lg shadow-md">
97
+ </div>
98
+ </div>
99
+
100
+ <!-- Related Projects -->
101
+ <div>
102
+ <h2 class="text-2xl font-bold mb-6">Related Projects</h2>
103
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6" id="related-projects">
104
+ <!-- Will be populated by JavaScript -->
105
+ </div>
106
+ </div>
107
+ </div>
108
+ </main>
109
+
110
+ <custom-footer></custom-footer>
111
+
112
+ <script src="components/navbar.js"></script>
113
+ <script src="components/footer.js"></script>
114
+ <script src="script.js"></script>
115
+ <script>
116
+ feather.replace();
117
+
118
+ // This would be replaced with actual dynamic content loading from a database or API
119
+ document.addEventListener('DOMContentLoaded', function() {
120
+ const urlParams = new URLSearchParams(window.location.search);
121
+ const projectId = urlParams.get('id');
122
+
123
+ // In a real app, we would fetch project details based on projectId
124
+ // For demo purposes, we'll use the first project's details
125
+ if (!projectId || projectId === '1') {
126
+ document.getElementById('project-title').textContent = 'Quantum Simulation Platform';
127
+ document.getElementById('project-description').textContent = 'Advanced quantum computing simulations using Qiskit framework with visualization tools for quantum states and circuits.';
128
+ document.getElementById('project-image').src = 'http://static.photos/technology/640x360/1';
129
+ document.getElementById('project-timeline').textContent = 'June 2023 - Present';
130
+ document.getElementById('project-team').textContent = 'Solo project with mentor guidance';
131
+ document.getElementById('project-status').textContent = 'In Development';
132
+ }
133
+ // Add more conditions for other projects
134
+ });
135
+ </script>
136
+ </body>
137
+ </html>
script.js ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Add this to your existing script.js file
2
+ // Project details page functionality
3
+ if (window.location.pathname.includes('project-details.html')) {
4
+ // Sample project data (in a real app, this would come from an API)
5
+ const projects = [
6
+ {
7
+ id: 1,
8
+ title: "Quantum Simulation Platform",
9
+ description: "Advanced quantum computing simulations using Qiskit framework with visualization tools for quantum states and circuits.",
10
+ image: "http://static.photos/technology/640x360/1",
11
+ tags: ["Python", "Qiskit", "Quantum Computing"],
12
+ timeline: "June 2023 - Present",
13
+ team: "Solo project with mentor guidance",
14
+ status: "In Development",
15
+ content: `
16
+ <p>This project aims to create an intuitive platform for simulating quantum algorithms and visualizing quantum states. The system integrates with IBM's quantum computers through Qiskit while providing educational tools for understanding quantum phenomena.</p>
17
+
18
+ <h3 class="text-xl font-semibold mt-8 mb-4">Key Features</h3>
19
+ <ul class="list-disc pl-6 mb-6">
20
+ <li>Interactive quantum circuit builder</li>
21
+ <li>Real-time statevector visualization</li>
22
+ <li>Quantum algorithm tutorials</li>
23
+ <li>Performance benchmarking tools</li>
24
+ <li>Export capabilities for research papers</li>
25
+ </ul>
26
+
27
+ <h3 class="text-xl font-semibold mt-8 mb-4">Technical Details</h3>
28
+ <p>The backend is built with Python using Qiskit for quantum operations, NumPy for matrix operations, and Flask for the API layer. The frontend uses React with D3.js for visualizations and Three.js for 3D Bloch sphere representations.</p>
29
+ `,
30
+ gallery: [
31
+ "http://static.photos/technology/640x360/5",
32
+ "http://static.photos/technology/640x360/6"
33
+ ]
34
+ },
35
+ // Add more projects as needed
36
+ ];
37
+
38
+ // Load project data based on URL parameter
39
+ const urlParams = new URLSearchParams(window.location.search);
40
+ const projectId = urlParams.get('id');
41
+
42
+ if (projectId) {
43
+ const project = projects.find(p => p.id.toString() === projectId);
44
+ if (project) {
45
+ document.getElementById('project-title').textContent = project.title;
46
+ document.getElementById('project-description').textContent = project.description;
47
+ document.getElementById('project-image').src = project.image;
48
+ document.getElementById('project-timeline').textContent = project.timeline;
49
+ document.getElementById('project-team').textContent = project.team;
50
+ document.getElementById('project-status').textContent = project.status;
51
+ document.getElementById('project-content').innerHTML = project.content;
52
+
53
+ // Clear and populate tags
54
+ const tagsContainer = document.getElementById('project-tags');
55
+ tagsContainer.innerHTML = '';
56
+ project.tags.forEach(tag => {
57
+ const span = document.createElement('span');
58
+ span.className = 'px-3 py-1 bg-indigo-100 text-indigo-800 rounded-full text-sm';
59
+ span.textContent = tag;
60
+ tagsContainer.appendChild(span);
61
+ });
62
+
63
+ // Populate gallery
64
+ const galleryContainer = document.getElementById('project-gallery');
65
+ galleryContainer.innerHTML = '';
66
+ project.gallery.forEach(imgSrc => {
67
+ const img = document.createElement('img');
68
+ img.src = imgSrc;
69
+ img.alt = 'Project screenshot';
70
+ img.className = 'rounded-lg shadow-md';
71
+ galleryContainer.appendChild(img);
72
+ });
73
+ }
74
+ }
75
+ }
style.css CHANGED
@@ -1,28 +1,31 @@
 
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 styles */
2
  body {
3
+ font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
4
+ scroll-behavior: smooth;
5
  }
6
 
7
+ /* Timeline styling */
8
+ @media (max-width: 768px) {
9
+ .timeline-center::before {
10
+ left: 1.5rem !important;
11
+ }
12
+ .timeline-item::before {
13
+ left: 0.75rem !important;
14
+ }
15
  }
16
 
17
+ /* Custom animation */
18
+ @keyframes float {
19
+ 0% { transform: translateY(0px); }
20
+ 50% { transform: translateY(-20px); }
21
+ 100% { transform: translateY(0px); }
22
  }
23
 
24
+ .floating {
25
+ animation: float 6s ease-in-out infinite;
 
 
 
 
26
  }
27
 
28
+ /* Section spacing */
29
+ section {
30
+ scroll-margin-top: 80px;
31
+ }