2023-12-03 23:02:09 +07:00
|
|
|
"use client"
|
|
|
|
import Image from 'next/image';
|
2023-12-22 23:24:29 +07:00
|
|
|
import React from "react";
|
2023-12-23 11:21:03 +07:00
|
|
|
import ContactIcons from './components/ContactIcons';
|
|
|
|
import PhotoGrid from './components/PhotoGrid';
|
|
|
|
import ContactButton from './components/ContactButton';
|
|
|
|
|
|
|
|
const frontImages = [
|
|
|
|
[
|
2024-07-08 11:21:01 +07:00
|
|
|
{ src: '/images/photos/cosplay/tasm-2-asiatique.jpg', href: '/hobbies', alt: 'TASM2 Asiatique Event' },
|
|
|
|
{ src: '/images/photos/software/dateapp.jpg', href: '/projects', alt: 'Date Calculator' },
|
2023-12-23 11:21:03 +07:00
|
|
|
{ src: '/images/photos/iot/raspberrypi.jpg', href: '/projects', alt: 'Raspberry Pi' },
|
2024-07-08 11:21:01 +07:00
|
|
|
{ src: '/images/photos/hardware/freebsd.jpg', href: '/projects', alt: 'PC running FreeBSD' },
|
2023-12-23 11:21:03 +07:00
|
|
|
],
|
2024-07-08 11:21:01 +07:00
|
|
|
[
|
|
|
|
{ src: '/images/photos/events/ai-engineering.jpg', href: '/projects', alt: 'CMKL A.I. Engineering Event' },
|
2023-12-23 11:21:03 +07:00
|
|
|
{ src: '/images/photos/company/main-server-rack/20231221_151039.jpg', href: '/projects', alt: 'Office Main Rack' },
|
2024-07-08 11:21:01 +07:00
|
|
|
{ src: '/images/photos/cosplay/spiderverse.jpg', href: '/hobbies', alt: 'The Spider-Verse Cosplay' },
|
2023-12-23 11:21:03 +07:00
|
|
|
{ src: '/images/photos/hardware/homelab.jpg', href: '/projects', alt: 'Homelab' },
|
|
|
|
],
|
|
|
|
[
|
2024-07-08 11:21:01 +07:00
|
|
|
{ src: '/images/photos/hardware/dell-optiplex.jpg', href: '/projects', alt: 'Dell Optiplex Modified' },
|
2023-12-23 11:21:03 +07:00
|
|
|
{ src: '/images/photos/robotics/robot.jpg', href: '/projects', alt: 'LEGO League'},
|
2024-07-08 11:21:01 +07:00
|
|
|
{ src: '/images/photos/software/blackboard.jpg', href: '/projects', alt: 'Blackboard of Memory'},
|
|
|
|
{ src: '/images/photos/cosplay/tasm-2-spider-man-2.jpg', href: '/hobbies', alt: 'Spider-Man 2 PS5 Event'},
|
|
|
|
{ src: '/images/photos/electrical/solar-panel.jpg', href: '/projects', alt: 'Off-Grid Electrical Work' },
|
2023-12-23 11:21:03 +07:00
|
|
|
],
|
|
|
|
[
|
2024-07-08 11:21:01 +07:00
|
|
|
{ src: '/images/photos/software/winnie-http.png', href: '/projects', alt: 'Homemade webserver'},
|
|
|
|
{ src: '/images/photos/hardware/hdd.jpg', href: '/projects', alt: 'Storage Server'},
|
|
|
|
{ src: '/images/photos/software/bkk-raindar.png', href: '/projects', alt: 'Bangkok Rain Radar'},
|
|
|
|
{ src: '/images/photos/events/the-command-center.jpg', href: '/projects', alt: 'True Digital Park' },
|
2023-12-23 11:21:03 +07:00
|
|
|
]
|
|
|
|
|
|
|
|
];
|
2023-11-26 21:08:28 +07:00
|
|
|
|
|
|
|
export default function Home() {
|
2023-12-03 23:02:09 +07:00
|
|
|
return (
|
|
|
|
<main>
|
|
|
|
<div className="min-w-0 mt-6 flex flex-col gap-8 max-lg:mx-4">
|
2023-12-22 23:24:29 +07:00
|
|
|
<div className="grid grid-cols-3 gap-8 max-lg:flex max-lg:flex-col max-lg:items-center max-sm:items-start">
|
2024-07-08 11:21:01 +07:00
|
|
|
<div className="col-span-1 flex justify-center">
|
2023-12-03 23:02:09 +07:00
|
|
|
<Image
|
|
|
|
src="/images/picture.png"
|
2024-07-08 11:21:01 +07:00
|
|
|
width={250}
|
|
|
|
height={250}
|
2023-12-22 09:46:12 +07:00
|
|
|
alt="Win's Logo"
|
2023-12-03 23:02:09 +07:00
|
|
|
className="rounded-full"
|
|
|
|
/>
|
|
|
|
</div>
|
2023-11-26 21:08:28 +07:00
|
|
|
|
2024-07-08 11:21:01 +07:00
|
|
|
<div className="col-span-2 grid items-center max-lg:place-items-center max-sm:place-items-start max-lg:gap-4 my-6">
|
2024-05-03 10:58:51 +07:00
|
|
|
<p className="text-5xl font-bold">Win Pattanaphol</p>
|
2024-03-30 11:01:58 +07:00
|
|
|
<p className="text-base">A <a className="font-bold underline decoration-2 decoration-indigo-500">hobbyist full-stack developer</a>, undergraduate student, enjoyer of 60s-80s music, language nerd, and a hobbyist electrician.</p>
|
2023-12-03 23:02:09 +07:00
|
|
|
<ContactIcons />
|
|
|
|
</div>
|
2023-11-26 21:08:28 +07:00
|
|
|
|
2023-12-22 23:24:29 +07:00
|
|
|
<div className='col-span-3 flex flex-col place-items-center max-sm:place-items-start'>
|
2023-12-22 23:31:58 +07:00
|
|
|
<code className='text-lg max-sm:text-base font-bold'>"I don't want to make a PDF, I'll code one instead."</code>
|
2023-12-22 23:24:29 +07:00
|
|
|
</div>
|
|
|
|
|
2023-12-23 11:21:03 +07:00
|
|
|
<div className="col-span-3 mt-[-15px] flex flex-col gap-4">
|
2023-12-22 23:24:29 +07:00
|
|
|
<h2 className="text-4xl font-bold">About Me</h2>
|
2024-07-07 18:02:51 +07:00
|
|
|
<div className="text-lg grid grid-cols-3 max-sm:flex max-sm:flex-col">
|
2023-12-22 09:46:12 +07:00
|
|
|
<div>
|
2023-12-22 23:24:29 +07:00
|
|
|
<span className='font-bold'>Nickname</span>: Win
|
2023-12-22 09:46:12 +07:00
|
|
|
</div>
|
|
|
|
<div>
|
2023-12-22 23:24:29 +07:00
|
|
|
<span className='font-bold'>Age</span>: 16
|
2023-12-22 09:46:12 +07:00
|
|
|
</div>
|
|
|
|
<div>
|
2023-12-22 23:24:29 +07:00
|
|
|
<span className='font-bold'>Nationality</span>: Thai 🇹🇭
|
2023-12-22 09:46:12 +07:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-12-23 11:21:03 +07:00
|
|
|
<p>
|
2024-07-07 18:02:51 +07:00
|
|
|
My main field of work is <a className="font-bold underline decoration-2 decoration-sky-500">server administration</a>. I am running, <a className="font-bold underline decoration-2 decoration-green-500">WinsCloud</a>, my own self-hosted ecosystem as well as currently administering the IT infrastructure (servers, networking, firewalls)
|
2024-05-03 10:58:51 +07:00
|
|
|
at my father's company.
|
2023-12-03 23:02:09 +07:00
|
|
|
</p>
|
2023-12-23 11:21:03 +07:00
|
|
|
<p>
|
2024-05-03 10:58:51 +07:00
|
|
|
My other field of work is creating <a className="font-bold">web applications</a>. I specialize in <a className="font-bold underline decoration-2 decoration-indigo-500">backend development</a> with <a className="font-bold">Node.js</a> and <a className="font-bold">PHP</a>, as well as working with <a className="font-bold underline decoration-2 decoration-indigo-500">relational databases</a>,
|
|
|
|
such as <a className="font-bold">MySQL / MariaDB</a>.
|
2023-12-03 23:02:09 +07:00
|
|
|
</p>
|
2024-07-07 18:02:51 +07:00
|
|
|
<p>I am currently learning <a className="font-bold underline decoration-2 decoration-pink-500">low-level programming</a> using C, along with
|
|
|
|
<a className="font-bold underline decoration-2 decoration-pink-500"> x86 and RISC-V Assembly</a> for lower level interactions with hardware.
|
|
|
|
</p>
|
2023-12-03 23:02:09 +07:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-11-26 21:08:28 +07:00
|
|
|
|
2023-12-03 23:02:09 +07:00
|
|
|
<div>
|
2023-12-23 11:21:03 +07:00
|
|
|
<PhotoGrid images={frontImages} />
|
2023-12-22 00:15:59 +07:00
|
|
|
|
2023-12-03 23:02:09 +07:00
|
|
|
<div className="flex justify-center my-4">
|
|
|
|
<p className="text-lg font-bold">View my <a className="font-bold underline decoration-2 decoration-sky-500">projects</a> and <a className="font-bold underline decoration-2 decoration-pink-500">hobbies</a> by clicking on the images!</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-11-26 21:08:28 +07:00
|
|
|
|
2024-07-08 11:21:01 +07:00
|
|
|
<div className="col-span-4 justify-self-start">
|
2023-12-22 00:15:59 +07:00
|
|
|
<p className="text-4xl font-bold">
|
2023-12-03 23:02:09 +07:00
|
|
|
Contact
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
|
2024-07-08 11:21:01 +07:00
|
|
|
<div className="grid grid-cols-4 gap-2 max-lg:grid-cols-2 max-sm:flex max-sm:flex-col justify-items-center">
|
|
|
|
|
2023-12-23 11:21:03 +07:00
|
|
|
<ContactButton
|
2024-05-03 10:41:57 +07:00
|
|
|
platform="git"
|
2023-12-23 11:21:03 +07:00
|
|
|
title="Like my work?"
|
2024-07-08 11:21:01 +07:00
|
|
|
description="Check them out on my Forgejo!"
|
2024-05-03 10:41:57 +07:00
|
|
|
href="https://git.winscloud.net/winsdominoes"
|
|
|
|
username="@winsdominoes"
|
2023-12-23 11:21:03 +07:00
|
|
|
/>
|
2023-12-03 23:02:09 +07:00
|
|
|
|
2023-12-23 11:21:03 +07:00
|
|
|
<ContactButton
|
2024-05-03 10:41:57 +07:00
|
|
|
platform="activitypub"
|
2023-12-23 11:21:03 +07:00
|
|
|
title="See more posts?"
|
2024-07-08 11:21:01 +07:00
|
|
|
description="Check posts on my Fediverse!"
|
2024-03-30 11:01:58 +07:00
|
|
|
href="https://fedi.winscloud.net/@winsdominoes"
|
2023-12-23 11:21:03 +07:00
|
|
|
username="@winsdominoes"
|
|
|
|
/>
|
2023-12-03 23:02:09 +07:00
|
|
|
|
2024-07-08 11:21:01 +07:00
|
|
|
<ContactButton
|
|
|
|
platform="peertube"
|
|
|
|
title="Watch some videos?"
|
|
|
|
description="Check my PeerTube page!"
|
|
|
|
href="https://peertube.winscloud.net/@winsdominoes"
|
|
|
|
username="@winsdominoes"
|
|
|
|
/>
|
|
|
|
|
2023-12-23 11:21:03 +07:00
|
|
|
<ContactButton
|
2024-05-03 10:41:57 +07:00
|
|
|
platform="matrix"
|
2023-12-23 11:21:03 +07:00
|
|
|
title="Get in touch?"
|
2024-05-03 10:41:57 +07:00
|
|
|
description="Send me a message on Matrix!"
|
|
|
|
href="https://matrix.to/#/@winsdominoes:matrix.winscloud.net"
|
|
|
|
username="@winsdominoes"
|
2023-12-23 11:21:03 +07:00
|
|
|
/>
|
2023-12-03 23:02:09 +07:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
);
|
2024-07-04 06:12:22 +07:00
|
|
|
}
|