Skip to content

Commit

Permalink
optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
gaureshpai committed Nov 10, 2024
1 parent 5cb2e46 commit f7840b9
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 10 deletions.
2 changes: 1 addition & 1 deletion next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
4 changes: 4 additions & 0 deletions src/components/Footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,8 @@ footer a:hover {

.footer-box p {
margin: 0;
}

.hehe {
text-decoration: none;
}
3 changes: 2 additions & 1 deletion src/components/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
"use client";
import Link from 'next/link';
import './Footer.css'
export default function Footer() {
return (
<footer className="footer-container">
<div className="footer-box">
<p>&copy; {new Date().getFullYear()} Gauresh G Pai. All rights reserved.</p>
<p>&copy; {new Date().getFullYear()} <Link href="https://gauresh.vercel.app" className='hehe'>Gauresh G Pai</Link>. All rights reserved.</p>
</div>
</footer>
);
Expand Down
16 changes: 8 additions & 8 deletions src/components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default function Navbar() {
<nav className="bg-blue-800">
<div className="container mx-auto flex justify-between items-center p-4">
<div className="flex items-center">
<a href="/" className="titleb">
<Link href="/" className="titleb">
<Image
src="/logo.png"
alt="GGReplicater Logo"
Expand All @@ -16,19 +16,19 @@ export default function Navbar() {
className="mr-2"
/>
GGReplicater
</a>
</Link>
</div>

<div className="button-container">
<a href="https://gauresh.vercel.app" target="_blank" rel="noopener noreferrer" className="buttons">
<Link href="https://gauresh.vercel.app" target="_blank" rel="noopener noreferrer" className="buttons">
Website
</a>
<a href="https://twitter.com/hseruag" target="_blank" rel="noopener noreferrer" className="buttons">
</Link>
<Link href="https://twitter.com/hseruag" target="_blank" rel="noopener noreferrer" className="buttons">
Twitter
</a>
<a href="https://github.com/gaureshpai" target="_blank" rel="noopener noreferrer" className="buttons">
</Link>
<Link href="https://github.com/gaureshpai" target="_blank" rel="noopener noreferrer" className="buttons">
GitHub
</a>
</Link>
</div>
</div>
</nav>
Expand Down

0 comments on commit f7840b9

Please sign in to comment.