website/app/projects/page.tsx

321 lines
21 KiB
TypeScript
Raw Normal View History

2023-12-03 23:02:09 +07:00
"use client"
import Image from 'next/image';
import React, { useState, useEffect } from "react";
import Link from 'next/link';
import Video from 'next-video';
import Progress from '../components/ProgressBar/ProgressBar';
import Photo from '../components/Photo';
export default function Projects() {
return (
<main>
<div className="min-w-0 mt-6 flex flex-col gap-8 max-lg:mx-4">
<div className="grid grid-cols-3 gap-8 max-lg:flex max-lg:flex-col max-lg:justify-center">
<div className="col-span-3">
<h2 className="text-5xl font-bold mt-2">Projects & Work</h2>
<p className="text-base mt-4">
Here are the projects that I have made over the years. I mostly focus on the <a className="font-bold underline decoration-2 decoration-indigo-500">web development</a> and <a className="font-bold underline decoration-2 decoration-sky-500">computer system</a> side of things, however, I have picked up some <a className="font-bold underline decoration-2 decoration-pink-500">embedded programming</a> and <a className="font-bold underline decoration-2 decoration-indigo-500">electronics</a> over the past couple of months as well.
</p>
<p className='text-base mt-4'>
I have also been involved with a couple of <a className="font-bold underline decoration-2 decoration-sky-500">STEM events</a>, such as <a className="font-bold underline decoration-2 decoration-indigo-500">competitive coding competitions</a> and <a className="font-bold underline decoration-2 decoration-pink-500">science events</a>.
</p>
</div>
</div>
<div>
<div className='mb-4'>
<h2 className="text-3xl font-bold my-2">System Administration</h2>
<p className="text-base">All of my homelab equipment are inter-connected under the <Link href="https://winscloud.net"><span className="font-bold underline decoration-2 decoration-green-500">WinsCloud</span></Link> ecosystem.
This is where I run most of my <span className="font-bold underline decoration-2 decoration-sky-500">self-hosting</span> instances of various <span className="font-bold underline decoration-2 decoration-indigo-500">open-source software</span> such as file storage servers, music streaming services, network monitors, and so on. </p>
</div>
<div className="grid grid-cols-6 gap-4">
<div className="col-span-6">
<h2 className="text-lg font-semibold mb-2">Operating Systems</h2>
<div className="grid grid-cols-6 max-lg:flex max-lg:flex-col gap-4">
<div className="col-span-2 flex flex-col">
<Progress text="Windows" progress="100" />
<Progress text="Windows Server" progress="100" />
</div>
<div className="col-span-2 flex flex-col">
<Progress text="Debian-based Linux Distros" progress="100" />
<Progress text="RHEL-based Linux Distros" progress="90" />
</div>
<div className="col-span-2 flex flex-col">
<Progress text="FreeBSD" progress="80" />
<Progress text="OpenBSD" progress="80" />
</div>
</div>
</div>
<div className="col-span-6">
<div className="grid grid-cols-2 md:grid-cols-4 gap-6">
<div className="grid gap-4 content-center">
<div>
<Photo src="/images/photos/iot/raspberrypi.jpg" href="https://pi.winscloud.net" alt="Raspberry Pi"></Photo>
</div>
</div>
<div className="grid gap-4 content-center">
<div>
<Photo src="/images/photos/software/pve.jpg" href="https://winscloud.net" alt="Proxmox"></Photo>
</div>
<div>
<Photo src="/images/photos/hardware/homelab.jpg" href="https://winscloud.net" alt="Homelab"></Photo>
</div>
</div>
<div className="grid gap-4">
<div>
<Photo src="/images/photos/software/portainer.png" href="https://winscloud.net" alt="Portainer"></Photo>
</div>
<div>
<Photo src="/images/photos/software/opnsense.jpg" href="https://winscloud.net" alt="OPNsense"></Photo>
</div>
</div>
<div className="grid gap-4 content-center">
<div>
<Photo src="/images/photos/hardware/hdd.jpg" href="https://cloud.winsdominoes.net" alt="Storage Server"></Photo>
</div>
</div>
</div>
</div>
<div className="col-span-2">
<h2 className="text-lg font-semibold mb-2">Firewalls</h2>
<div className="grid grid-cols-6 max-lg:flex max-lg:flex-col gap-4">
<div className="col-span-6 flex flex-col">
<Progress text="pfSense / OPNsense" progress="90" />
<Progress text="RouterOS - MikroTik" progress="85" />
<Progress text="UniFiOS" progress="40" />
</div>
</div>
</div>
<div className="col-span-2">
<h2 className="text-lg font-semibold mb-2">Virtualization</h2>
<div className="grid grid-cols-6 max-lg:flex max-lg:flex-col gap-4">
<div className="col-span-6 flex flex-col">
<Progress text="Proxmox" progress="85" />
<Progress text="Docker" progress="70" />
<Progress text="VMWare" progress="60" />
</div>
</div>
</div>
<div className="col-span-2">
<h2 className="text-lg font-semibold mb-2">Other</h2>
<div className="grid grid-cols-6 max-lg:flex max-lg:flex-col gap-4">
<div className="col-span-6 flex flex-col">
<Progress text="CloudFlare Zero Trust" progress="90" />
<Progress text="SMB Samba" progress="85" />
<Progress text="Git Version Control" progress="75" />
</div>
</div>
</div>
</div>
</div>
<div>
<h2 className="text-3xl font-bold my-2">Coding</h2>
<div className="grid grid-cols-6 gap-4">
<div className="col-span-6">
<h2 className="text-lg font-semibold mb-2">Web Development</h2>
<div className="grid grid-cols-6 max-lg:flex max-lg:flex-col gap-4">
<div className="col-span-2 flex flex-col">
<Progress text="HTML" progress="100" />
<Progress text="CSS" progress="75" />
<Progress text="JavaScript" progress="85" />
</div>
<div className="col-span-2 flex flex-col">
<Progress text="PHP" progress="90" />
<Progress text="Node.js" progress="60" />
<Progress text="Next.js" progress="30" />
</div>
<div className="col-span-2 flex flex-col">
<Progress text="MySQL" progress="50" />
<Progress text="MariaDB" progress="40" />
<Progress text="MongoDB" progress="10" />
</div>
</div>
<div/>
</div>
<div className="col-span-6">
<div className="grid grid-cols-2 md:grid-cols-4 gap-6">
<div className="grid gap-4 content-center">
<div>
<Photo src="/images/photos/software/tts-sanskrit.jpg" href="https://sanskrit.winsdominoes.net" alt="Sanskrit Text-To-Speech"></Photo>
</div>
</div>
<div className="grid gap-4 content-center">
<div>
<Photo src="/images/photos/software/comic-downloader.jpg" href="https://github.com/WinsDominoes/comic-downloader" alt="Comic Downloader"></Photo>
</div>
</div>
<div className="grid gap-4 content-center">
<div>
<Photo src="/images/photos/software/photosphere.jpg" href="https://map.moomoo.me" alt="PhotoSphereStudio"></Photo>
</div>
</div>
<div className="grid gap-4 content-center">
<div>
<Photo src="/images/photos/software/thai-oil-prices.png" href="https://github.com/WinsDominoes/thai-oil-prices" alt="Thailand's Oil Price Tracker"></Photo>
</div>
</div>
</div>
</div>
<div className="col-span-3">
<h2 className="text-lg font-semibold mb-2">Multi-Purpose Programming</h2>
<div className="grid grid-cols-6 max-lg:flex max-lg:flex-col gap-4">
<div className="col-span-6 flex flex-col">
<Progress text="C" progress="20" />
<Progress text="C++" progress="5" />
<Progress text="Python" progress="30" />
</div>
</div>
</div>
<div className="col-span-3">
<h2 className="text-lg font-semibold mb-2">Scripting / Configuration</h2>
<div className="grid grid-cols-6 max-lg:flex max-lg:flex-col gap-4">
<div className="col-span-6 flex flex-col">
<Progress text="YAML" progress="60" />
<Progress text="Markdown" progress="80" />
<Progress text="Bash" progress="60" />
</div>
</div>
</div>
</div>
</div>
<div>
<h2 className="text-3xl font-bold my-2">Robotics</h2>
<p className="text-base my-2">
I have also been involved with a couple of coding competitions and preparations at my current high school, Rugby School Thailand.
</p>
<div className="grid grid-cols-6 gap-4">
<div className="col-span-6">
<div className="grid grid-cols-6 max-lg:flex max-lg:flex-col gap-4">
<div className="col-span-2 flex flex-col">
<Progress text="LEGO Mindstorms NXT" progress="90" />
</div>
<div className="col-span-2 flex flex-col">
<Progress text="LEGO Mindstorms EV3" progress="90" />
</div>
<div className="col-span-2 flex flex-col">
<Progress text="VEX IQ" progress="50" />
</div>
</div>
<div/>
</div>
</div>
<div className="grid grid-cols-6 gap-4">
<div className="col-span-6">
<h2 className="text-xl font-bold">First LEGO League</h2>
<p className="text-base my-2">
Currently a part of the First LEGO League Team
</p>
</div>
<div className="col-span-6">
<div className="grid grid-cols-5 gap-6 max-lg:flex max-lg:flex-col">
<div className="grid gap-4 content-center">
<div>
<Photo src="/images/photos/school-work/robotics/lego-league/1.jpg" href="#" alt="Coding Process" dim="false"></Photo>
</div>
<div className='max-lg:hidden'>
<Photo src="/images/photos/school-work/robotics/lego-league/2.jpg" href="#" alt="Model" dim="false"></Photo>
</div>
</div>
<div className="grid col-span-3 gap-4 content-center">
<div className="transition ease-in-out delay-150 hover:scale-105 duration-300">
<video
autoPlay
muted
loop
className='rounded'
src="/images/photos/school-work/robotics/lego-league/robot-movement.mp4">
</video>
<span className="text-xs m-2 text-zinc-600 dark:text-zinc-400">First LEGO League Robot Test Run</span>
2023-12-03 23:02:09 +07:00
</div>
</div>
<div className="grid gap-4 content-center">
<div className='max-lg:hidden'>
<Photo src="/images/photos/school-work/robotics/lego-league/4.png" href="#" alt="Model" dim="false"></Photo>
</div>
<div>
<Photo src="/images/photos/school-work/robotics/lego-league/3.jpg" href="#" alt="Planning Process" dim="false"></Photo>
</div>
</div>
</div>
</div>
<div className="col-span-6 flex justify-center">
<p className="text-sm text-zinc-600 dark:text-zinc-400">
2023-12-03 23:02:09 +07:00
Photos by <Link href="https://www.facebook.com/rugbyschoolthailand" className="underline hover:text-zinc-500">Rugby School Thailand</Link>
</p>
</div>
</div>
<div className="mt-4 grid grid-cols-6 gap-4">
<div className="col-span-6">
<h2 className="text-xl font-bold">VEX Robotics Competition</h2>
<p className="text-base my-2">
I participated in the VEX Robot Building Competition, organized by the VEX Robotics Team and Rugby School Thailand&apos;s Computer Science department.
</p>
</div>
<div className="col-span-6">
<div className="grid grid-cols-2 gap-6 max-lg:flex max-lg:flex-col">
<div className="grid content-center">
<div>
<Photo src="/images/photos/school-work/robotics/vex-challenge/back.jpg" href="#" alt="I&apos;m at the back!" dim="false"></Photo>
</div>
</div>
<div className="grid content-center">
<div>
<Photo src="/images/photos/school-work/robotics/vex-challenge/corner.jpg" href="#" alt="I&apos;m in the corner!" dim="false"></Photo>
</div>
</div>
</div>
</div>
<div className="col-span-6 flex justify-center">
<p className="text-sm text-zinc-600 dark:text-zinc-400">
2023-12-03 23:02:09 +07:00
Photos by <Link href="https://www.facebook.com/rugbyschoolthailand" className="underline hover:text-zinc-500">Rugby School Thailand</Link>
</p>
</div>
</div>
</div>
<div className='flex flex-col gap-4'>
<h2 className="text-3xl font-bold">Science</h2>
<p className="text-base">
I participated in Rugby School Thailand&apos;s <a className="font-bold underline decoration-2 decoration-indigo-500">Senior Open Day</a>, where all academic departments get to present their syllabus and curriculum to visitors that are looking into joining the school.
I voluntarily came to help the <a className="font-bold underline decoration-2 decoration-sky-500">Physics department</a> in presenting <a className="font-bold underline decoration-2 decoration-pink-500">IGCSE and A-Level Physics concepts</a>.
</p>
<div className="grid grid-cols-6 gap-4">
<div className="col-span-6">
<div className="grid grid-cols-3 gap-6 max-lg:gap-2 max-lg:flex max-lg:flex-col">
<div className="col-span-2 grid max-lg:gap-2 content-center">
<div>
<Photo src="/images/photos/school-work/science/2.JPG" href="#" alt="Smile!" dim="false"></Photo>
</div>
</div>
<div className="grid max-lg:gap-2 content-center">
<div>
<Photo src="/images/photos/school-work/science/1.JPG" href="#" alt="Concentrating..." dim="false"></Photo>
</div>
<div>
<Photo src="/images/photos/school-work/science/3.JPG" href="#" alt="Electrostatic!" dim="false"></Photo>
</div>
</div>
</div>
</div>
<div className="col-span-6 flex justify-center">
<p className="text-sm text-zinc-600 dark:text-zinc-400">
2023-12-03 23:02:09 +07:00
Photos by <Link href="https://www.facebook.com/rugbyschoolthailand" className="underline hover:text-zinc-500">Rugby School Thailand</Link>
</p>
</div>
</div>
</div>
</div>
</main>
);
}