Skip to content

Commit 711c877

Browse files
committed
rudimentary about page
1 parent 049b410 commit 711c877

File tree

5 files changed

+58
-3
lines changed

5 files changed

+58
-3
lines changed

public/about/anderson_1.jpeg

59.7 KB
Loading

public/purple.jpg

91.1 KB
Loading

src/app/about/page.tsx

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
import Image from "next/image";
2+
3+
// import Link from "next/link";
4+
import Header from "@/components/header"
5+
import Footer from "@/components/footer";
6+
7+
import HeroImage from '@/../public/purple.jpg'
8+
9+
10+
export default function page() {
11+
return (
12+
<div className="flex flex-col items-center w-full min-w-[200px]">
13+
14+
<div className="xl:w-[1200px] lg:w-[1000px] md:w-[768px] w-full px-4 flex gap-4 flex-col py-2">
15+
<Header />
16+
17+
<Image src={HeroImage} className="h-[200px] w-full object-cover" alt="picture of sunset" priority />
18+
19+
20+
21+
<div className="flex flex-row gap-4 w-full">
22+
23+
<div className="h-[300px] min-w-[200px] border-2 border-slate-600 rounded z-10">
24+
<Image src={"/about/anderson_1.jpeg"} height='300' width='200' className="h-[297px] w-[200px] object-cover rounded-sm z-0" alt="picture of anderson tseng" priority />
25+
</div>
26+
27+
<div className="w-full border-2 border-gray-800 rounded p-2">
28+
<div className="">
29+
<p className="font-bold">Who is Anderson Tseng?</p>
30+
31+
<p>🚧under construction 🚧</p>
32+
<p>.....come back later.</p>
33+
</div>
34+
</div>
35+
36+
</div>
37+
38+
<div className="h-[200px] w-full border-2 border-gray-800 rounded">
39+
40+
</div>
41+
42+
43+
44+
45+
46+
47+
<Footer />
48+
</div>
49+
50+
51+
52+
53+
</div>
54+
);
55+
}

src/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default function Home() {
3737
<div className="w-[200px] hidden sm:flex flex-col gap-4">
3838

3939
<div className="border-2 border-gray-800 rounded p-2">
40-
<h3 className="font-bold">Links</h3>
40+
<h3 className="font-bold">Links:</h3>
4141
<ul className="list-disc pl-5">
4242
<li><a className="hover:underline" href="https://www.linkedin.com/in/andersontseng/">LinkedIn</a></li>
4343
<li><a className="hover:underline" href="https://www.instagram.com/anderson_wootdidoo/">Instagram</a></li>

src/components/header.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ const Header = () => {
1313
</div>
1414

1515
<div className="flex sm:gap-4 justify-end grow max-[99px]:w-full">
16-
<Link href="/" className="p-2 text-gray-500 dark:hover:text-gray-200 hover:text-gray-900">
17-
Home
16+
<Link href="/about" className="p-2 text-gray-500 dark:hover:text-gray-200 hover:text-gray-900">
17+
About
1818
</Link>
1919
<Link href="/blog" className="p-2 text-gray-500 dark:hover:text-gray-200 hover:text-gray-900">
2020
Blog

0 commit comments

Comments
 (0)