Skip to content

Commit d37a1ae

Browse files
committed
added scroll progress bar & changed theme
1 parent 5d4908c commit d37a1ae

File tree

4 files changed

+13
-10
lines changed

4 files changed

+13
-10
lines changed

src/app/components/experienceTile.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export type ExperienceTileProps = {
1010

1111
export function ExperienceTile({ companyLogo, companyName, position, period, responsibilities }: ExperienceTileProps) {
1212
return (
13-
<div className="bg-white dark:bg-gray-800 p-6 rounded-lg shadow-md">
13+
<div className="bg-white dark:bg-neutral-800 p-6 rounded-lg shadow-md">
1414
<div className="flex flex-col sm:flex-row items-center sm:items-start mb-4">
1515
<div className="mb-4 sm:mb-0 sm:mr-4 flex-shrink-0">
1616
<img

src/app/components/projectTile.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export type ProjectTileProps = {
99

1010
export function ProjectTile({ title, description, repo, repoUrl }: ProjectTileProps) {
1111
return (
12-
<div className="bg-white dark:bg-gray-800 p-6 rounded-lg shadow-md">
12+
<div className="bg-white dark:bg-neutral-800 p-6 rounded-lg shadow-md">
1313
<div className="flex justify-between items-start mb-2">
1414
<h3 className="text-xl font-semibold">{title}</h3>
1515
{repo && (

src/app/layout.tsx

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,21 @@ import "./globals.css";
55
const inter = Inter({ subsets: ['latin'] })
66

77
export const metadata: Metadata = {
8-
title: "Himank Dave",
8+
title: {
9+
default: "Himank Dave",
10+
template: "%s | Himank Dave"
11+
},
912
description: "Personal website of Himank Dave.",
1013
};
1114

1215
export default function RootLayout({
1316
children,
14-
}: Readonly<{
17+
}: {
1518
children: React.ReactNode;
16-
}>) {
19+
}) {
1720
return (
18-
<html lang="en">
19-
<body
20-
className={`${inter.className}`}
21-
>
21+
<html lang="en" className={inter.className}>
22+
<body>
2223
{children}
2324
</body>
2425
</html>

src/app/page.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { Footer } from './components/footer'
55
import { About } from './components/about'
66
import { Experiences } from './components/experiences'
77
import { Projects } from './components/projects'
8+
import Navbar from './components/navbar';
89

910
export default function Portfolio() {
1011
// const [darkMode, setDarkMode] = useState(false)
@@ -80,7 +81,8 @@ export default function Portfolio() {
8081
return (
8182
// ${darkMode ? 'dark' : ''}
8283
<div className={`min-h-screen`}>
83-
<div className="bg-gray-100 dark:bg-gray-900 text-gray-800 dark:text-gray-200 transition-colors duration-300">
84+
<div className="bg-neutral-100 dark:bg-neutral-950 text-gray-800 dark:text-gray-200 transition-colors duration-300">
85+
<Navbar />
8486
<div className="mx-auto max-w-full px-4 sm:px-6 md:px-8 lg:max-w-5xl xl:max-w-6xl 2xl:max-w-7xl">
8587
<Header />
8688
<main className="container mx-auto px-4 py-8">

0 commit comments

Comments
 (0)