mirror of
				https://github.com/DerTyp7/explainegy-nextjs.git
				synced 2025-10-31 05:37:12 +01:00 
			
		
		
		
	ads
This commit is contained in:
		
							
								
								
									
										12
									
								
								app/Nav.tsx
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								app/Nav.tsx
									
									
									
									
									
								
							| @@ -4,6 +4,7 @@ import styles from "../styles/Nav.module.scss"; | ||||
| import Image from "next/image"; | ||||
| import Link from "next/link"; | ||||
| import { useEffect } from "react"; | ||||
| import Category from "./articles/[categoryName]/page"; | ||||
|  | ||||
| function switchTheme(theme) { | ||||
| 	const bodyElement = document.getElementsByTagName("body")[0]; | ||||
| @@ -56,7 +57,16 @@ export default function Nav() { | ||||
| 					alt="Nav bar logo" | ||||
| 				/> | ||||
| 				<div className={styles.links}> | ||||
| 					<Link href={"/articles/tutorials"}>Tutorials</Link> | ||||
| 					<Link href={"/articles"} className={styles.dropDown}> | ||||
| 						Categories | ||||
| 						<div className={styles.dropDownContainer}> | ||||
| 							<div className={styles.content}> | ||||
| 								{" "} | ||||
| 								<Link href={"/articles"}>All</Link> | ||||
| 								<Link href={"/articles/tutorials"}>Tutorials</Link> | ||||
| 							</div> | ||||
| 						</div> | ||||
| 					</Link> | ||||
| 				</div> | ||||
| 			</div> | ||||
| 			<div className={styles.containerCenter}> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Janis
					Janis