Skip to content

Commit

Permalink
feat:
Browse files Browse the repository at this point in the history
- created projects page and projectcard component
- added memoji to homepage
- changed heading sizing in link/tech/projects page
  • Loading branch information
idkzsh committed Sep 9, 2023
1 parent 665070e commit 50a4f97
Show file tree
Hide file tree
Showing 10 changed files with 91 additions and 23 deletions.
Binary file modified .DS_Store
Binary file not shown.
21 changes: 14 additions & 7 deletions app/links/page.tsx
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
import LinkCard from "@/components/link-card";
import { FaLinkedin, FaGithub, FaDiscord } from "react-icons/fa";
import { FaLinkedin, FaGithub, FaDiscord, FaSpotify } from "react-icons/fa";
import { FaXTwitter } from "react-icons/fa6";
import { MdOutlineAlternateEmail } from "react-icons/md";
import Link from "next/link";
import Head from "next/head";


export default function Links() {
return (
<>
<Head>
<title>idkz</title> {/* Set the page title here */}
</Head>
<div className="gap-4 flex flex-col items-center justify-center w-[80vw] max-w-[800px] h-[70vh] mb-11">
<h2 className="flex justify-start min-w-[300px] w-[95%] ">LINKS</h2>
<h2 className="flex justify-start min-w-[300px] w-[95%] text-sm">LINKS</h2>
<hr className="border-[0.5px] border-secondary min-w-[300px] w-[95%] " />
<div className="flex gap-3 flex-wrap w-full justify-center">
<Link href="mailto:[email protected]">
Expand Down Expand Up @@ -52,14 +49,24 @@ export default function Links() {
target="_blank"
href="https://discord.com/users/615693931509972993"
>
{" "}
<LinkCard
title="Discord"
bg="bg-indigo-500"
color="text-indigo-500"
icon={<FaDiscord />}
/>
</Link>
<Link
target="_blank"
href="https://open.spotify.com/user/4djpn5qmz682f8zitccyfljde?si=1d3752df943d4e60"
>
<LinkCard
title="Spotify"
bg="bg-green-500"
color="text-green-500"
icon={<FaSpotify />}
/>
</Link>
</div>
</div>
</>
Expand Down
18 changes: 18 additions & 0 deletions app/projects/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import ProjectCard from "@/components/project-card";
import React from "react";

const Projects = () => {
return (
<>
<div className="gap-4 flex flex-col items-center justify-center w-[80vw] max-w-[800px] h-[70vh] mb-11">
<h2 className="flex justify-start min-w-[300px] w-[95%] text-sm">PROJECTS</h2>
<hr className="border-[0.5px] border-secondary min-w-[300px] w-[95%] " />
<div className="flex gap-3 flex-wrap w-full justify-center">
<ProjectCard title="coming soon"/>
</div>
</div>
</>
);
};

export default Projects;
2 changes: 1 addition & 1 deletion app/tech/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default function Tech() {
return (
<>
<div className="gap-4 flex flex-col items-center justify-center w-[80vw] max-w-[800px] h-[800px] max-h-[80vh] mb-11">
<h2 className="flex justify-start min-w-[300px] w-[95%] ">TECH</h2>
<h2 className="flex justify-start min-w-[300px] w-[95%] text-sm">TECH</h2>
<hr className="border-[0.5px] border-secondary min-w-[300px] w-[95%] " />
<div className="flex gap-3 flex-wrap w-full justify-center">
<TechCard
Expand Down
20 changes: 15 additions & 5 deletions components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,21 @@ const Footer = () => {
</div>
)}
</Link>
<div className="flex flex-col justify-center items-center">
<div className="text-xl">
<FaDiagramProject />
</div>
</div>
<Link href="/projects">
{path === "/projects" ? (
<div className="flex flex-col justify-center items-center">
<div className="text-3xl text-teal-600">
<FaDiagramProject />
</div>
</div>
) : (
<div className="flex flex-col justify-center items-center">
<div className="text-xl">
<FaDiagramProject />
</div>
</div>
)}
</Link>
</div>
</div>
);
Expand Down
25 changes: 16 additions & 9 deletions components/Home.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
const Home = () => {
return (
<div className="flex flex-col h-[40vh] max-w-[800px] w-full justify-center items-center">
<div className="flex w-[350px] items-center justify-start">
<div className="text-teal-600 text-4xl font-bold p-2">Zach</div>
<div className="text-4xl font-bold">Wong</div>
<div className="flex flex-wrap h-[40vh] max-w-[850px] w-full justify-center items-center gap-3">
<div>
<div className="flex w-[350px] items-center justify-start">
<div className="text-teal-600 text-4xl font-bold p-2">Zach</div>
<div className="text-4xl font-bold">Wong</div>
</div>
<div className="text-4xl w-[350px] px-2 font-thin">
full stack developer
</div>
<div className="flex w-[350px] justify-end items-center px-2 gap-1">
I like to <span className=" text-teal-600">build</span> cool stuff
</div>
</div>
<div className="text-4xl w-[350px] px-2 font-thin">full stack developer</div>
<div>I like to build cool stuff</div>
<img src="memoji.png" className="w-[150px]" />
</div>
)
}
);
};

export default Home
export default Home;
2 changes: 1 addition & 1 deletion components/Spacer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react'

const Spacer = () => {
return (
<div className='w-full h-10'></div>
<div className='w-full h-5'></div>
)
}

Expand Down
26 changes: 26 additions & 0 deletions components/project-card.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import React from "react";

interface Props {
icon?: React.ReactNode;
iconAlt?: string;
title: string;
color?: string;
bg?: string;
}

const ProjectCard = ({ icon, title, color, bg, iconAlt }: Props) => {
return (
<div
className={` text-2xl flex justify-center gap-2 items-center w-[300px] h-[60px] bg-card rounded-lg`}
>
<div
className={`flex items-center justify-center ${color} ${bg} w-8 h-8 rounded-lg bg-opacity-10`}
>

</div>
<span className="text-sm">{title}</span>
</div>
);
};

export default ProjectCard;
Binary file added public/memoji.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/memoji.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 50a4f97

Please sign in to comment.