Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions front-end/src/components/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,7 @@ function Footer() {
<ul className="space-y-4">
{['About', 'Home', 'Article'].map((item) => (
<li key={item}>
<Link
to={item === 'Home' ? '/' : `/${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"
>
<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">
<span className="w-2 h-2 bg-blue-500 rounded-full mr-3 opacity-0 group-hover:opacity-100 transition-opacity" />
{item}
</Link>
Expand Down
1 change: 0 additions & 1 deletion front-end/src/pages/AddarticlePage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,6 @@ const AddArticlePage = () => {
<option value="Politics">Politics</option>
<option value="Narratives">Narratives</option>
<option value="Trending-Topics">Trending-Topics</option>
<option value="Others">Others</option>
</select>
</div>
</div>
Expand Down