-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathcontact.html
More file actions
94 lines (79 loc) · 3.26 KB
/
contact.html
File metadata and controls
94 lines (79 loc) · 3.26 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact - Fsoc-Medium</title>
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap" rel="stylesheet">
<script src="https://kit.fontawesome.com/a076d05399.js" crossorigin="anonymous"></script>
</head>
<body>
<header>
<nav>
<div class="logo">Fsoc-Medium</div>
<ul class="nav-links">
<li><a href="index.html" class="nav-link">Dashboard</a></li>
<li><a href="index.html#about" class="nav-link">About</a></li>
<li><a href="contact.html" class="nav-link active">Contact</a></li>
</ul>
<button id="theme-toggle" class="theme-btn">
Toggle Theme
</button>
</nav>
</header>
<main class="container">
<section class="card contact-card">
<h2>Contact Us</h2>
<form id="contact-form">
<label for="name">Name</label>
<input type="text" id="name" name="name" placeholder="Your Name" required>
<label for="email">Email</label>
<input type="email" id="email" name="email" placeholder="Your Email" required>
<label for="subject">Subject</label>
<input type="text" id="subject" name="subject" placeholder="Subject" required>
<label for="message">Message</label>
<textarea id="message" name="message" placeholder="Type your message here..." required></textarea>
<button type="submit">Send Message</button>
</form>
<div class="contact-info">
<h3>Organization Info</h3>
<p><strong>Address:</strong> VishranthWadi, Pune, India</p>
<p><strong>Phone:</strong> +91 1234567890</p>
<p><strong>Email:</strong> contact@fsoc.com</p>
<p><strong>Office Hours:</strong> Mon-Fri 9:00 AM - 6:00 PM</p>
<p><strong>Follow Us:</strong>
<a href="https://www.instagram.com/" target="_blank">Instagram</a> |
<a href="https://www.linkedin.com/" target="_blank">LinkedIn</a> |
<a href="https://github.com/" target="_blank">GitHub</a>
</p>
</div>
<footer class="footer">
<p>© 2025 FSoC Project. All rights reserved.</p>
<nav>
<ul class="nav-links">
<li class="kohli"><a href="contact.html" class="nav-link">Contact</a></li>
</ul>
</nav>
</footer>
</section>
</main>
<script>
const themeBtn = document.getElementById('theme-toggle');
const currentTheme = localStorage.getItem('theme');
if (currentTheme) {
document.body.classList.add(currentTheme);
}
themeBtn.addEventListener('click', () => {
document.body.classList.toggle('dark-theme');
if (document.body.classList.contains('dark-theme')) {
localStorage.setItem('theme', 'dark-theme');
} else {
localStorage.removeItem('theme');
}
});
</script>
</body>
</html>