-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommunity.html
More file actions
76 lines (72 loc) · 2.38 KB
/
community.html
File metadata and controls
76 lines (72 loc) · 2.38 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>About — Namma Kudla</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<header class="site-header">
<div class="container">
<h1>Namma Kudla Community</h1>
<nav class="nav">
<a href="index.html" >Home</a>
<a href="post.html">Blog</a>
<a href="destinations.html">Destinations</a>
<div class="dropdown">
<button class="dropbtn" >Dashboard</button>
<div class="dropdown-content">
<a href="about.html" >About</a>
<a href="stories.html">Stories</a>
<a href="maps.html">Maps</a>
<a href="community.html" class="active">Community</a>
<a href="guide.html">Guides</a>
<a href="editor.html">Editor</a>
</div>
</div>
<a href="contact.html">Contact</a>
</nav>
</div>
</header>
<main class="container">
<section class="comments-section">
<h2>Recent Comments</h2>
<div id="commentsFeed">
<p>No comments yet. Join the conversation!</p>
</div>
</section>
<section class="newsletter">
<h2>Join Our Newsletter</h2>
<p>Stay updated on new destinations, blogs, and events around Kudla.</p>
<form id="newsletterForm">
<input type="email" id="subscriberEmail" placeholder="Enter your email" required>
<button type="submit" class="btn">Subscribe</button>
</form>
<p id="subMsg"></p>
</section>
<section class="social-links">
<h2>Follow Us</h2>
<ul>
<li><a href="#">Instagram</a></li>
<li><a href="#">YouTube</a></li>
<li><a href="#">Facebook</a></li>
<li><a href="#">Twitter</a></li>
</ul>
</section>
</main>
<footer class="site-footer">
<p>© 2025 Namma Kudla | Built with ❤️ for travellers</p>
</footer>
<script>
document.getElementById("newsletterForm").addEventListener("submit", e => {
e.preventDefault();
const email = document.getElementById("subscriberEmail").value.trim();
if (!email) return;
localStorage.setItem("newsletter_" + email, "subscribed");
document.getElementById("subMsg").textContent = "✅ Thanks for subscribing!";
e.target.reset();
});
</script>
</body>
</html>