Skip to content

Commit 3a7448a

Browse files
committed
cleanup of light mode and other stylistic issues
1 parent 4404e39 commit 3a7448a

File tree

7 files changed

+21
-16
lines changed

7 files changed

+21
-16
lines changed

next.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ import type { NextConfig } from "next";
22

33
const nextConfig: NextConfig = {
44
output: "export",
5+
images: {
6+
unoptimized: true
7+
}
58
/* config options here */
69
};
710

src/app/blog/page.tsx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default function page() {
1212
return (
1313
<div className="flex flex-col items-center w-full min-w-[200px]">
1414

15-
<div className="xl:w-[1200px] lg:w-[1000px] md:w-[768px] w-full px-4 flex gap-5 flex-col py-4">
15+
<div className="xl:w-[1200px] lg:w-[1000px] md:w-[768px] w-full px-4 flex gap-4 flex-col py-2">
1616
<Header />
1717

1818
<Image src={HeroImage} className="h-[200px] w-full object-cover" alt="picture of sunset" />
@@ -23,14 +23,15 @@ export default function page() {
2323

2424

2525
<div className="w-full border-2 border-gray-800 rounded p-2">
26-
<div className="p-2">
27-
<p>You have reached my blog.</p>
26+
<div className="">
27+
<p className="font-bold">You have reached my blog.</p>
2828
<p>I hope to post here more in the future.</p>
2929
</div>
3030
</div>
3131

32-
<div className="w-full border-2 border-gray-800 rounded p-4 flex flex-col gap-4" >
33-
<h1>Writings:</h1>
32+
<div className="w-full border-2 border-gray-800 rounded p-2" >
33+
<h1 className="font-bold pb-2">Writings:</h1>
34+
<div className="flex flex-col gap-4">
3435
{posts.map((post, index) => (
3536
<div key={index} className="p-2 border rounded">
3637
<a href={`/blog/${post.url}`}>
@@ -45,6 +46,7 @@ export default function page() {
4546
{/* <p dangerouslySetInnerHTML={{ __html: post.post }} /> */}
4647
</div>
4748
))}
49+
</div>
4850
</div>
4951

5052

src/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default function Home() {
1212
return (
1313
<div className="flex flex-col items-center w-full min-w-[200px]">
1414

15-
<div className="xl:w-[1200px] lg:w-[1000px] md:w-[768px] w-full px-4 flex gap-5 flex-col py-4">
15+
<div className="xl:w-[1200px] lg:w-[1000px] md:w-[768px] w-full px-4 flex gap-4 flex-col py-2">
1616
<Header />
1717

1818
<Image src={HeroImage} className="h-[200px] w-full object-cover" alt="picture of sunrise" priority />

src/components/footer.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ const Footer = () => {
55
<footer className="flex flex-col items-center justify-center">
66

77
{/* show links if sidebar is hidden because we are on mobile */}
8-
<div className="flex gap-2 sm:hidden">
8+
<div className="sm:hidden flex">
99

10-
<Link href="https://www.linkedin.com/in/andersontseng/" className="text-gray-500 hover:text-gray-900">Linkedin</Link>
10+
<Link href="https://www.linkedin.com/in/andersontseng/" className="p-2 text-gray-500 dark:hover:text-gray-200 hover:text-gray-900">Linkedin</Link>
1111

12-
<Link href="https://www.instagram.com/anderson_wootdidoo/" className="text-gray-500 hover:text-gray-900">Instagram</Link>
12+
<Link href="https://www.instagram.com/anderson_wootdidoo/" className="p-2 text-gray-500 dark:hover:text-gray-200 hover:text-gray-900">Instagram</Link>
1313

14-
<Link href="https://github.com/highfire1" className="text-gray-500 hover:text-gray-900">Github</Link>
14+
<Link href="https://github.com/highfire1" className="p-2 text-gray-500 dark:hover:text-gray-200 hover:text-gray-900">Github</Link>
1515

16-
<Link href="https://devpost.com/Highfire1" className="text-gray-500 hover:text-gray-900">Devpost</Link>
16+
<Link href="https://devpost.com/Highfire1" className="p-2 text-gray-500 dark:hover:text-gray-200 hover:text-gray-900">Devpost</Link>
1717
</div>
1818

1919
<p>(c) 2022-2025 Anderson Tseng.</p>

src/components/header.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ const Header = () => {
1111
</Link>
1212
</div>
1313

14-
<div className="flex sm:gap-6 gap-2 justify-end grow max-[99px]:w-full">
15-
<Link href="/" className="text-gray-500 hover:text-gray-900">
14+
<div className="flex sm:gap-4 justify-end grow max-[99px]:w-full">
15+
<Link href="/" className="p-2 text-gray-500 dark:hover:text-gray-200 hover:text-gray-900">
1616
Home
1717
</Link>
18-
<Link href="/blog" className="text-gray-500 hover:text-gray-900">
18+
<Link href="/blog" className="p-2 text-gray-500 dark:hover:text-gray-200 hover:text-gray-900">
1919
Blog
2020
</Link>
2121
{/* <Link href="/contact" className="text-gray-500 hover:text-gray-900">

src/components/project-list.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export function ProjectList() {
5858
<ProjectSummary
5959
key={project.title}
6060
{...project}
61-
className='border-2 border-white rounded'
61+
className='border-2 dark:border-white border-black rounded'
6262
/>
6363
))}
6464
</div>

src/components/project-summary.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const ProjectSummary: React.FC<ProjectSummaryProps> = ({
3737
fill
3838
className="object-cover rounded"
3939
/>
40-
<div className="absolute inset-0 bg-black opacity-80"></div>
40+
<div className="absolute inset-0 dark:bg-black bg-white opacity-80"></div>
4141
<div className="relative z-10 p-2">
4242
<h2 className="text-lg font-bold">{title}</h2>
4343
<p className="text-sm">{dateWorked}</p>

0 commit comments

Comments
 (0)