-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from kmiguel10/development
Development
- Loading branch information
Showing
11 changed files
with
175 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import Project from "./project"; | ||
import React from "react"; | ||
|
||
export default function Contents() { | ||
return ( | ||
<div className="grid grid-cols-2 gap-4 min-[560px]:grid-cols-4 min-[960px]:grid-cols-6"> | ||
<Project /> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
"use client"; | ||
|
||
import React from "react"; | ||
import ContentDisplay from "@components/layouts/content-display"; | ||
import { | ||
KanbanSquare, | ||
Twitter, | ||
Github, | ||
Vote, | ||
UserCircle2, | ||
CircleDollarSign, | ||
Swords, | ||
ExternalLink, | ||
} from "lucide-react"; | ||
import Button from "@components/ui/button/index"; | ||
import type { ReactNode } from "react"; | ||
|
||
type ProjectProps = { | ||
id: number; | ||
symbol: ReactNode; | ||
name: string; | ||
description: string; | ||
buttonRef: string; | ||
buttonIcon?: ReactNode; | ||
buttonTitle?: string; | ||
body: string; | ||
}; | ||
|
||
const data: ProjectProps[] = [ | ||
{ | ||
id: 1, | ||
symbol: <UserCircle2 />, | ||
name: "Personal Website", | ||
description: "", | ||
buttonRef: "https://github.com/kmiguel10/www", | ||
body: "My personal website that showcases my profile", | ||
}, | ||
{ | ||
id: 2, | ||
symbol: <Twitter />, | ||
name: "Blue Bird", | ||
description: "", | ||
buttonRef: "https://github.com/kmiguel10/blue-bird", | ||
body: "A twitter clone built with Next.js with Tailwind CSS, and supabase", | ||
}, | ||
{ | ||
id: 3, | ||
symbol: <KanbanSquare />, | ||
name: "Issue Tracker", | ||
description: "", | ||
buttonRef: "http://google.com", | ||
body: "A a full-stack App with Next.js, Tailwind, Radix UI, and Prisma", | ||
}, | ||
{ | ||
id: 4, | ||
symbol: <Vote />, | ||
name: "DApp Voting", | ||
description: "", | ||
buttonRef: | ||
"https://github.com/kmiguel10/decentralized-ranked-choice-voting", | ||
body: "A Decentralized Ranked-Choice Voting System built with Solidity and Hardhat", | ||
}, | ||
{ | ||
id: 5, | ||
symbol: <CircleDollarSign />, | ||
name: "DApp Bounty", | ||
description: "", | ||
buttonRef: "https://github.com/kmiguel10/bounty-dapp", | ||
body: "Post bounties with definition along with a prize amount and claim bounties", | ||
}, | ||
|
||
{ | ||
id: 6, | ||
symbol: <Swords />, | ||
name: "Buidl Guidl", | ||
description: "", | ||
buttonRef: | ||
"https://app.buidlguidl.com/builders/0x4c2B577D992d16973b57b1757e996dC0d0a07F74", | ||
buttonIcon: <ExternalLink />, | ||
buttonTitle: "View", | ||
body: "Decentralized Applications built with Scaffold-Eth", | ||
}, | ||
]; | ||
|
||
export default function Project() { | ||
return data.map((d) => ( | ||
<ContentDisplay | ||
key={d.id} | ||
className="w-full min-[960px]:w-64 col-span-2" | ||
symbol={d.symbol} | ||
name={d.name} | ||
description={d.description} | ||
button={ | ||
<Button | ||
size="sm" | ||
href={d.buttonRef} | ||
rightIcon={d.buttonIcon ? d.buttonIcon : <Github />} | ||
newTab | ||
> | ||
{d.buttonTitle ? d.buttonTitle : "Repo"} | ||
</Button> | ||
} | ||
> | ||
<div className="text-sm text-gray-11 p-4"> | ||
<p className="overflow-auto ">{d.body}</p> | ||
</div> | ||
</ContentDisplay> | ||
)); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,21 @@ | ||
|
||
import React from "react"; | ||
import Base from "@components/layouts/base"; | ||
import ProfileHeader from "@components/ui/header"; | ||
import ContainerLayout from "@components/layouts/container"; | ||
import Contents from "./components/contents"; | ||
|
||
export const metadata = { | ||
title: "Projects", | ||
}; | ||
|
||
export default function AboutMe() {} | ||
export default function AboutMe() { | ||
return ( | ||
<Base pageSlug="/projects"> | ||
<ContainerLayout className="flex flex-col space-y-4"> | ||
<ProfileHeader /> | ||
<Contents /> | ||
</ContainerLayout> | ||
</Base> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = {} | ||
const nextConfig = {}; | ||
|
||
module.exports = nextConfig | ||
module.exports = nextConfig; |