Skip to content

Commit 118a80f

Browse files
authored
Merge pull request #370 from ARYPROGRAMMER/footer-article
fix: added article item footer navigation
2 parents 82b9ee2 + c807195 commit 118a80f

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

front-end/src/components/Footer.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,7 @@ function Footer() {
5454
<ul className="space-y-4">
5555
{['About', 'Home', 'Article'].map((item) => (
5656
<li key={item}>
57-
<Link
58-
to={item === 'Home' ? '/' : `/${item.toLowerCase().replace(/\s+/g, '-')}`}
59-
className="group dark:hover:text-gray-200 dark:text-gray-400 flex items-center text-gray-600 hover:text-gray-900"
60-
>
57+
<Link to={item === 'Article' ? '/article-list' : `/${item.toLowerCase().replace(/\s+/g, '-')}`} className="group dark:hover:text-gray-200 dark:text-gray-400 flex items-center text-gray-600 hover:text-gray-900">
6158
<span className="w-2 h-2 bg-blue-500 rounded-full mr-3 opacity-0 group-hover:opacity-100 transition-opacity" />
6259
{item}
6360
</Link>

front-end/src/pages/AddarticlePage.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,6 @@ const AddArticlePage = () => {
265265
<option value="Politics">Politics</option>
266266
<option value="Narratives">Narratives</option>
267267
<option value="Trending-Topics">Trending-Topics</option>
268-
<option value="Others">Others</option>
269268
</select>
270269
</div>
271270
</div>

0 commit comments

Comments
 (0)