From 0215b1812eadb6928cf0a2410340181024ff3e55 Mon Sep 17 00:00:00 2001 From: Sawan Date: Fri, 8 Nov 2024 17:15:54 +0530 Subject: [PATCH] Added discussion forum for wordwise --- frontend/src/components/Navbar.js | 1 + frontend/src/pages/DiscussionForum.js | 209 ++++++++++++++ frontend/src/styles/output.css | 127 +++++--- frontend/src/utils/router.js | 5 +- index.html | 401 ++++++++++++++++---------- 5 files changed, 558 insertions(+), 185 deletions(-) create mode 100644 frontend/src/pages/DiscussionForum.js diff --git a/frontend/src/components/Navbar.js b/frontend/src/components/Navbar.js index 065fc36..cfb4f2b 100644 --- a/frontend/src/components/Navbar.js +++ b/frontend/src/components/Navbar.js @@ -26,6 +26,7 @@ export function renderNavbar() { About Contact Feedback + Discussion Forum - +

Don't have an account? Sign up @@ -488,26 +524,33 @@

Login

-
+ ×

Signup

- +
- +
- - + +
- - + +
@@ -515,10 +558,12 @@

Signup

- - +

Already have an account? Login @@ -679,7 +724,8 @@

Forgot Password

- + @@ -703,7 +749,7 @@

Forgot Password

- +
@@ -724,18 +770,21 @@

Forgot Password

-
+
Roaming Routes

Wed 01,2020   - 13 + 13

-
@@ -1245,8 +1334,8 @@

Forgot Password

const heartButtons = document.querySelectorAll('.heart-btn'); - heartButtons.forEach(function(button) { - button.addEventListener('click', function() { + heartButtons.forEach(function (button) { + button.addEventListener('click', function () { const heartIcon = this.querySelector('.heart-icon'); @@ -1324,7 +1413,9 @@

How do I switch between dark and light themes?
-

You can easily switch between dark and light themes by clicking the theme toggle button located in the website header. This allows you to customize your viewing experience according to your preference.

+

You can easily switch between dark and light themes by clicking + the theme toggle button located in the website header. This allows you to customize your + viewing experience according to your preference.

@@ -1337,7 +1428,10 @@

How do I use the 'Start Writing' page?

-

The 'Start Writing' page provides a simple interface for quickly creating and publishing blog posts. Just click "Start Writing" from the navigation bar, fill in your title, content, and tags, and publish your blog with a single +

The 'Start Writing' page provides a simple interface for + quickly creating and publishing blog posts. Just click "Start Writing" from the + navigation bar, fill in your title, content, and tags, and publish your blog with a + single click.

@@ -1352,7 +1446,9 @@

How does the sliding bar with latest blogs work?

-

The sliding bar on the home page features the latest blogs published on the platform. It updates automatically and allows users to easily scroll through and click on any blog that catches their attention.

+

The sliding bar on the home page features the latest blogs + published on the platform. It updates automatically and allows users to easily scroll + through and click on any blog that catches their attention.

@@ -1365,7 +1461,9 @@

How are top picks chosen for the leading blog pa
-

Top picks are curated by a combination of editor recommendations and user engagement metrics, such as views, likes, and comments, to highlight the best content available on Word Wise.

+

Top picks are curated by a combination of editor + recommendations and user engagement metrics, such as views, likes, and comments, to + highlight the best content available on Word Wise.

@@ -1379,7 +1477,9 @@

How can I stay updated with new blog posts?

-

You can stay updated by following your favorite authors or topics, and by checking the sliding bar for the latest blog posts. You can also subscribe to newsletters or enable notifications for real-time updates.

+

You can stay updated by following your favorite authors or + topics, and by checking the sliding bar for the latest blog posts. You can also + subscribe to newsletters or enable notifications for real-time updates.

@@ -1433,7 +1533,9 @@

Sentence:

Subscribe to Our Newsletter

Stay updated with the latest articles and insights from WordWise.

- @@ -1452,6 +1554,7 @@

Subscribe to Our Newsletter

border: 1px solid pink; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; } + /* Hover effect for glow */ #emailInput:hover { @@ -1483,13 +1586,13 @@

Subscribe to Our Newsletter

@@ -1503,7 +1606,8 @@

- We are a close-knit team of passionate storytellers dedicated to sharing captivating content with the world. + We are a close-knit team of passionate storytellers dedicated to sharing captivating + content with the world.

@@ -1530,10 +1634,14 @@
-
-

Website Views

-

0

-
+
+
+

Website Views

+
+
+

0

+
+
@@ -1553,7 +1661,8 @@ Embrace the beauty of nature through our enchanting blog, where we celebrate the wonders of the natural world -

+

Wed 02, 2022

@@ -1572,7 +1681,8 @@ Embark on unforgettable journeys through our travel blog, where wanderlust meets inspiration -

+

Wed 05, 2020

@@ -1589,7 +1699,8 @@ Gaming Adventures Unleashed -

+

Wed 02, 2021

@@ -1602,13 +1713,13 @@
@@ -1626,8 +1737,8 @@ - +
@@ -1645,7 +1756,7 @@ + - +