File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,14 +6,14 @@ export default function Footer() {
66
77< >
88
9- < div className = "text-center py-2" >
9+ < footer className = "w-full bg-gray-100 text-center px-4 py-4" >
10+ < div className = "max-w-screen-lg mx-auto" >
11+ < span className = "block text-sm text-gray-500" >
12+ © 2025 Abdiaziz. All Rights Reserved. Built with < span role = "img" aria-label = "heart" > ❤️</ span >
13+ </ span >
14+ </ div >
15+ </ footer >
1016
11- < span className = "block text-sm text-center text-gray-500 py-2 " >
12- © 2025 Abdiaziz. All Rights Reserved. Built with{ " ❤️" }
13- </ span >
14-
15-
16- </ div >
1717
1818
1919</ >
Original file line number Diff line number Diff line change 11'use client'
2-
3- import React from 'react'
2+ import { useState } from "react" ;
43
54export default function Navbar ( ) {
5+ const [ isOpen , setIsOpen ] = useState ( false ) ;
6+
67 return (
7- < nav className = "flex items-center justify-between px-24 py-4 shadow bg-blue-950" >
8- < h1 className = "text-xl font- text-white text-center" > JS Projects</ h1 >
9- < div className = 'flex items-center gap-5' >
10- < a href = '#home' className = 'text-white hover:text-blue-500' > Home </ a >
11- < a href = '#projects' className = 'text-white hover:text-blue-500' > Projects</ a >
8+ < nav className = "bg-blue-950 px-6 md:px-24 py-4 shadow" >
9+ < div className = "flex items-center justify-between" >
10+ < h1 className = "text-xl font-bold text-white" > JS Projects</ h1 >
11+
12+ { /* Hamburger button */ }
13+ < button
14+ className = "text-white md:hidden"
15+ onClick = { ( ) => setIsOpen ( ! isOpen ) }
16+ >
17+ ☰
18+ </ button >
19+
20+ { /* Desktop Links */ }
21+ < div className = "hidden md:flex items-center gap-5" >
22+ < a href = "#home" className = "text-white hover:text-blue-500" > Home</ a >
23+ < a href = "#projects" className = "text-white hover:text-blue-500" > Projects</ a >
24+ </ div >
1225 </ div >
26+
27+ { /* Mobile Links */ }
28+ { isOpen && (
29+ < div className = "flex flex-col mt-3 gap-2 md:hidden" >
30+ < a href = "#home" className = "text-white hover:text-blue-500" > Home</ a >
31+ < a href = "#projects" className = "text-white hover:text-blue-500" > Projects</ a >
32+ </ div >
33+ ) }
1334 </ nav >
14- )
35+ ) ;
1536}
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ export default function Home() {
7373 {
7474 title : 'Quiz App' ,
7575 description : 'Simple quiz app in vanilla JS.' ,
76- image : '/images/quiz.png' ,
76+ image : '. /images/quiz.png' ,
7777 liveLink : 'https://0paziz.github.io/QuizApp/' ,
7878 githubLink : 'https://github.com/0paziz/QuizApp' ,
7979 category : 'Vanilla JS' ,
Original file line number Diff line number Diff line change 2525
2626
2727.bgurl {
28- background-image : url ('/images/bg.svg' );
28+ background-image : url ('. /images/bg.svg' );
2929}
You can’t perform that action at this time.
0 commit comments