forked from Varshitha713/CodeCanvas
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
173 lines (163 loc) · 10.1 KB
/
index.html
File metadata and controls
173 lines (163 loc) · 10.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CodeCanvas - Showcase Front-End Projects</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
</head>
<body>
<header class="header">
<div class="container">
<div class="header-content">
<div class="logo">CodeCanvas</div>
<nav class="nav">
<a href="#" class="nav-link">Home</a>
<a href="#browse"class="nav-link">Browse</a>
<a href="#submit" class="nav-link">Submit</a>
<a href="#about" class="nav-link">About</a>
<a href="#reviews" class="nav-link">Reviews</a>
<a href="#contact" class="nav-link">Contact Us</a>
<a href="https://github.com/Varshitha713/CodeCanvas" class="btn-primary" target="_blank">
<i class="fab fa-github"></i> GitHub
</a>
<button class="theme-toggle" id="darkModeToggle" aria-label="Toggle Theme">
<span id="themeIcon">🌙</span>
</button>
</nav>
</div>
</div>
</header>
<main>
<section class="hero">
<div class="container">
<h1>Showcase Your Front-End Creations</h1>
<p>Discover, share, and get inspired by amazing front-end projects from developers around the world. Join the community and showcase your creativity!</p>
<a href="#projects" class="btn-primary">Explore Projects</a>
</div>
</section>
<section class="container"id="browse">
<div class="filters" >
<h2><i class="fas fa-filter"></i> Filter Projects</h2>
<div class="filter-controls">
<div class="filter-group search-group">
<label for="search-input">Search:</label>
<div class="search-container">
<i class="fas fa-search search-icon"></i>
<input type="text" id="search-input" placeholder="Search projects by title, description, or tags...">
<button class="clear-search" id="clear-search" style="display: none;">
<i class="fas fa-times"></i>
</button>
</div>
</div>
<div class="filter-group">
<label for="difficulty">Difficulty:</label>
<select id="difficulty">
<option value="all">All Levels</option>
<option value="beginner">Beginner</option>
<option value="intermediate">Intermediate</option>
<option value="advanced">Advanced</option>
</select>
</div>
<div class="filter-group">
<input type="checkbox" id="has-demo">
<label for="has-demo">Has Open Issues</label>
</div>
<div class="filter-group">
<input type="checkbox" id="has-readme">
<label for="has-readme">Has README</label>
</div>
<button class="btn-secondary" id="apply-filters">Apply Filters</button>
<button class="btn-secondary" id="reset-filters">Reset</button>
</div>
</div>
</section>
<section class="projects-section" id="projects">
<div class="container">
<h2 class="section-title">Featured Projects</h2>
<div class="loading" id="loading">
<div class="spinner"></div>
</div>
<div class="projects-grid" id="projects-container" style="display: none;">
<!-- Projects will be rendered here -->
</div>
<div class="empty-state" id="empty-state" style="display: none;">
<i class="fas fa-search"></i>
<h3>No projects found</h3>
<p>Try adjusting your filters or contribute the first project!</p>
</div>
</div>
</section>
<!-- Developer Reviews Section -->
<section class="reviews-section" id="reviews" style="padding: 80px 0; background-color: #f9f9f9;">
<div class="container" style="max-width: 1100px; margin: 0 auto;">
<h2 class="section-title" style="text-align: center; font-size: 3rem; font-weight: bold; margin-bottom: 50px;color:#4b0082;">Developer Reviews</h2>
<div class="reviews-grid" style="display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px;">
<div class="review-card" style="background: white; padding: 25px; border-radius: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.1);">
<h3>Jane Doe</h3>
<p style="font-style: italic;">"CodeCanvas has completely changed the way I discover front-end projects. Super intuitive!"</p>
<p style="color: #777;">Frontend Developer</p>
</div>
<div class="review-card" style="background: white; padding: 25px; border-radius: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.1);">
<h3>Raj Patel</h3>
<p style="font-style: italic;">"A must-have platform for developers looking to showcase their UI/UX skills."</p>
<p style="color: #777;">Open Source Contributor</p>
</div>
<div class="review-card" style="background: white; padding: 25px; border-radius: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.1);">
<h3>Maria Gonzales</h3>
<p style="font-style: italic;">"I’ve found so many cool projects to contribute to. Highly recommended!"</p>
<p style="color: #777;">Full Stack Developer</p>
</div>
<div class="review-card" style="background: white; padding: 25px; border-radius: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.1);">
<h3>Leo Kim</h3>
<p style="font-style: italic;">"Love the simplicity and design. It's like Behance but for front-end developers."</p>
<p style="color: #777;">UI/UX Designer</p>
</div>
<div class="review-card" style="background: white; padding: 25px; border-radius: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.1);">
<h3>Sara Ahmed</h3>
<p style="font-style: italic;">"Great place to get feedback on your code and build your portfolio!"</p>
<p style="color: #777;">JavaScript Enthusiast</p>
</div>
</div>
</div>
</section>
<!-- Contact Us Section -->
<section class="contact-section" id="contact" style="padding: 80px 0; color: white;">
<div class="container" style="max-width: 1000px; margin: 0 auto; padding: 30px;">
<h2 class="section-title" style="font-size: 3rem; text-align: center; margin-bottom: 50px; font-weight: bold;">Contact Us</h2>
<form id="contact-form" onsubmit="return validateForm()" style="display: flex; flex-direction: column; gap: 25px;">
<div style="position: relative;">
<i class="fas fa-user" style="position: absolute; top: 16px; left: 16px; color: #ccc; font-size: 1.4rem; animation: bounce 2s infinite;"></i>
<input type="text" id="name" placeholder="Your Name" required
style="padding: 18px 18px 18px 50px; font-size: 1.2rem; width: 100%; border: none; border-radius: 8px;">
</div>
<div style="position: relative;">
<i class="fas fa-envelope" style="position: absolute; top: 16px; left: 16px; color: #ccc; font-size: 1.4rem; animation: bounce 2s infinite;"></i>
<input type="email" id="email" placeholder="Your Email" required
style="padding: 18px 18px 18px 50px; font-size: 1.2rem; width: 100%; border: none; border-radius: 8px;">
</div>
<div style="position: relative;">
<i class="fas fa-comment-dots" style="position: absolute; top: 16px; left: 16px; color: #ccc; font-size: 1.4rem; animation: bounce 2s infinite;"></i>
<textarea id="message" rows="6" placeholder="Your Message" required
style="padding: 18px 18px 18px 50px; font-size: 1.2rem; width: 100%; border: none; border-radius: 8px;"></textarea>
</div>
<button type="submit" style="padding: 16px; background-color: #ffffff; color: #4b0082; border: none; border-radius: 8px; font-size: 1.2rem; font-weight: bold; cursor: pointer;">
<i class="fas fa-paper-plane"></i> Send Message
</button>
</form>
<div id="form-status" style="text-align: center; margin-top: 30px; font-size: 1.2rem; display: none;">✅ Message sent successfully!</div>
</div>
</section>
</main>
<footer class="footer">
<div class="container">
<p>© 2025 CodeCanvas. Open source project for the developer community.</p>
<p>Built with ❤️ for showcasing amazing front-end projects</p>
</div>
</footer>
<script src="script.js"></script>
</body>
</html>