mirror of
https://github.com/Xevion/xevion.dev.git
synced 2025-12-06 01:16:58 -06:00
Create /projects
This commit is contained in:
@@ -1,11 +1,71 @@
|
||||
import {type NextPage} from "next";
|
||||
import AppWrapper from "../components/AppWrapper";
|
||||
import WorkInProgress from "../components/WorkInProgress";
|
||||
import {RiMagicLine} from "react-icons/ri";
|
||||
import {BiHash, BiNetworkChart} from "react-icons/bi";
|
||||
import Link from "next/link";
|
||||
import {IconType} from "react-icons";
|
||||
import {HiOutlineRss} from "react-icons/hi";
|
||||
import {GiPathDistance} from "react-icons/gi";
|
||||
import {MdOutlineGrain} from "react-icons/md";
|
||||
|
||||
const ProjectsPage: NextPage = () => {
|
||||
const projects: { name: string, description: string, url?: string, icon: IconType }[] = [
|
||||
{
|
||||
name: "Portal",
|
||||
description: "ACM Membership & Event System",
|
||||
url: "https://portal.acmutsa.org",
|
||||
icon: RiMagicLine
|
||||
},
|
||||
{
|
||||
name: "v6 Place",
|
||||
description: "Paint Images with IPv6 Addresses",
|
||||
url: "https://github.com/Xevion/v6-place",
|
||||
icon: BiNetworkChart
|
||||
},
|
||||
{
|
||||
name: "Phototag",
|
||||
description: "Effortlessly Tag Photos",
|
||||
url: "/phototag",
|
||||
icon: BiHash
|
||||
},
|
||||
{
|
||||
name: "Paths",
|
||||
description: "Graph Traversal Algorithms",
|
||||
url: "/paths",
|
||||
icon: GiPathDistance
|
||||
},
|
||||
{
|
||||
name: "v2.xevion.dev",
|
||||
description: "Jekyll-based Blog",
|
||||
url: "https://v2.xevion.dev",
|
||||
icon: HiOutlineRss
|
||||
},
|
||||
{
|
||||
name: "Grain",
|
||||
description: "Pretty SVG-based Noise",
|
||||
url: "https://grain.xevion.dev",
|
||||
icon: MdOutlineGrain
|
||||
}
|
||||
]
|
||||
return <AppWrapper current='projects'>
|
||||
<WorkInProgress/>
|
||||
</AppWrapper>;
|
||||
}
|
||||
<div className="mt-20 grid grid-cols-3 gap-20 h-full py-2 max-w-500 w-max mx-auto flex ">
|
||||
{projects.map(({name, description, url, icon: Icon}) => <Link
|
||||
key={name}
|
||||
className="relative flex flex-shrink items-center opacity-50 hover:opacity-100 transition-opacity"
|
||||
href={url ?? ""}
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
title={name}>
|
||||
<div className="pt-2 pr-5">
|
||||
<Icon className="text-3xl saturate-0 opacity-80"/>
|
||||
</div>
|
||||
<div className="flex-auto">
|
||||
<div className="text-normal">{name}</div>
|
||||
<div className="text-sm opacity-60 font-normal">{description}</div>
|
||||
</div>
|
||||
</Link>)}
|
||||
</div>
|
||||
</AppWrapper>
|
||||
};
|
||||
|
||||
export default ProjectsPage;
|
||||
Reference in New Issue
Block a user