Skip to content

Commit 0532889

Browse files
💄 Logo, Header and Background change
1 parent fa1fed9 commit 0532889

File tree

3 files changed

+329
-28
lines changed

3 files changed

+329
-28
lines changed

components/Header.tsx

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7,29 +7,13 @@ import { BsPeopleFill } from 'react-icons/bs';
77

88
import Search from './Search';
99

10-
const Header = () => {
10+
function Header() {
1111
const router = useRouter();
1212

1313
return (
14-
<div className="justify-between px-2 mt-2 mb-2 ml-1.5 w-[99.2%] shadow-lg navbar bg-accent rounded-box">
14+
<div className="justify-between px-2 mb-2 ml-1.5 w-[99.2%] shadow-lg navbar rounded-box">
1515
<Link href="/">
16-
<div className="flex-none">
17-
<div className="w-10 h-10 m-1 rounded-full">
18-
<Image
19-
src="/hacktoberfest.svg"
20-
width={50}
21-
height={50}
22-
alt="Hacktoberfest"
23-
blurDataURL="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mPsrQcAAZ8BDlpDGcMAAAAASUVORK5CYII="
24-
placeholder="blur"
25-
/>
26-
</div>
27-
</div>
28-
<div className="flex-1 hidden px-2 mx-auto lg:block">
29-
<span className="text-2xl font-bold text-center">
30-
Hacktoberfest Projects
31-
</span>
32-
</div>
16+
<img src="/hacktoberfest.svg" alt="Hacktoberfest" />
3317
</Link>
3418
{router.pathname === '/repos/[language]' && (
3519
<div className="justify-center flex-1">
@@ -54,6 +38,6 @@ const Header = () => {
5438
</div>
5539
</div>
5640
);
57-
};
41+
}
5842

5943
export default Header;

pages/_app.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ function MyApp({ Component, pageProps, router }: AppProps) {
1616
key={router.route}
1717
initial="initial"
1818
animate="animate"
19+
className="bg-2023-void-2 pt-2"
1920
variants={{
2021
initial: {
2122
opacity: 0
@@ -26,7 +27,12 @@ function MyApp({ Component, pageProps, router }: AppProps) {
2627
}}
2728
>
2829
<Head>
29-
<script async defer data-website-id="2529a688-ee5c-4869-9f85-7bb8fa5b6518" src="https://insights.usman-s.me/umami.js"></script>
30+
<script
31+
async
32+
defer
33+
data-website-id="2529a688-ee5c-4869-9f85-7bb8fa5b6518"
34+
src="https://insights.usman-s.me/umami.js"
35+
></script>
3036
</Head>
3137
<DefaultSeo {...SEO} />
3238
<NextNProgress color="#ffd74d" options={{ showSpinner: false }} />

0 commit comments

Comments
 (0)