diff options
| author | Pinapelz <donaldshan1@outlook.com> | 2023-07-24 00:42:28 -0700 |
|---|---|---|
| committer | Pinapelz <donaldshan1@outlook.com> | 2023-07-24 00:42:28 -0700 |
| commit | 151b21a02e8f43a091ec1a78c794b97f43a5cfc9 (patch) | |
| tree | d7543ed5d0c5c6900c78ffd503a94c4e9d86906c /src/pages | |
| parent | 338bcf12e0b7bbd6e587ec992e62860642856e80 (diff) | |
Initial Commit
Diffstat (limited to 'src/pages')
| -rw-r--r-- | src/pages/about.astro | 65 | ||||
| -rw-r--r-- | src/pages/blog/[...slug].astro | 1 | ||||
| -rw-r--r-- | src/pages/blog/index.astro | 2 | ||||
| -rw-r--r-- | src/pages/index.astro | 170 |
4 files changed, 159 insertions, 79 deletions
diff --git a/src/pages/about.astro b/src/pages/about.astro index 2bed978..68483fd 100644 --- a/src/pages/about.astro +++ b/src/pages/about.astro @@ -3,61 +3,30 @@ import Layout from '../layouts/BlogPost.astro'; --- <Layout - title="About Me" - description="Lorem ipsum dolor sit amet" - pubDate={new Date('August 08 2021')} - updatedDate={new Date('August 08 2022')} - heroImage="/placeholder-about.jpg" + title="About" + description="You wanna know about me?" + pubDate={new Date('July 24 2023')} + heroImage="/603banner.png" > <p> - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut - labore et dolore magna aliqua. Vitae ultricies leo integer malesuada nunc vel risus commodo - viverra. Adipiscing enim eu turpis egestas pretium. Euismod elementum nisi quis eleifend quam - adipiscing. In hac habitasse platea dictumst vestibulum. Sagittis purus sit amet volutpat. Netus - et malesuada fames ac turpis egestas. Eget magna fermentum iaculis eu non diam phasellus - vestibulum lorem. Varius sit amet mattis vulputate enim. Habitasse platea dictumst quisque - sagittis. Integer quis auctor elit sed vulputate mi. Dictumst quisque sagittis purus sit amet. + Hey! Welcome to the About page. I'm Pinapelz, a second-year Software Engineering student at the University of California, Irvine. + I'm a pretty avid <a href="https://en.wikipedia.org/wiki/VTuber">virtual youtuber (vtuber)</a> enjoyer so you may have seen me around or noticed a strange trend in the types of projects on my GitHub. + Outside of that though I spend pretty much the remainder of my spare time programming random little doodads and playing a bunch of JRPGs and MMOs (it's uhh mostly just FFXIV and PSO2 though...) </p> - - <p> - Morbi tristique senectus et netus. Id semper risus in hendrerit gravida rutrum quisque non - tellus. Habitasse platea dictumst quisque sagittis purus sit amet. Tellus molestie nunc non - blandit massa. Cursus vitae congue mauris rhoncus. Accumsan tortor posuere ac ut. Fringilla urna - porttitor rhoncus dolor. Elit ullamcorper dignissim cras tincidunt lobortis. In cursus turpis - massa tincidunt dui ut ornare lectus. Integer feugiat scelerisque varius morbi enim nunc. - Bibendum neque egestas congue quisque egestas diam. Cras ornare arcu dui vivamus arcu felis - bibendum. Dignissim suspendisse in est ante in nibh mauris. Sed tempus urna et pharetra pharetra - massa massa ultricies mi. - </p> - + <h1>why this?</h1> <p> - Mollis nunc sed id semper risus in. Convallis a cras semper auctor neque. Diam sit amet nisl - suscipit. Lacus viverra vitae congue eu consequat ac felis donec. Egestas integer eget aliquet - nibh praesent tristique magna sit amet. Eget magna fermentum iaculis eu non diam. In vitae - turpis massa sed elementum. Tristique et egestas quis ipsum suspendisse ultrices. Eget lorem - dolor sed viverra ipsum. Vel turpis nunc eget lorem dolor sed viverra. Posuere ac ut consequat - semper viverra nam. Laoreet suspendisse interdum consectetur libero id faucibus. Diam phasellus - vestibulum lorem sed risus ultricies tristique. Rhoncus dolor purus non enim praesent elementum - facilisis. Ultrices tincidunt arcu non sodales neque. Tempus egestas sed sed risus pretium quam - vulputate. Viverra suspendisse potenti nullam ac tortor vitae purus faucibus ornare. Fringilla - urna porttitor rhoncus dolor purus non. Amet dictum sit amet justo donec enim. + I thought it would probably be a good idea to have a place that documents some of my thought processes and the things I've learned over time since + I have this fantastic habit of forgetting things, leaving braindead or no comments in my code, and generally just writing boilerplate code <em>(plus I gotta work on my writing skills)</em> </p> - + <h1>what's this made with?</h1> <p> - Mattis ullamcorper velit sed ullamcorper morbi tincidunt. Tortor posuere ac ut consequat semper - viverra. Tellus mauris a diam maecenas sed enim ut sem viverra. Venenatis urna cursus eget nunc - scelerisque viverra mauris in. Arcu ac tortor dignissim convallis aenean et tortor at. Curabitur - gravida arcu ac tortor dignissim convallis aenean et tortor. Egestas tellus rutrum tellus - pellentesque eu. Fusce ut placerat orci nulla pellentesque dignissim enim sit amet. Ut enim - blandit volutpat maecenas volutpat blandit aliquam etiam. Id donec ultrices tincidunt arcu. Id - cursus metus aliquam eleifend mi. + I was deliberating quite a bit about how I wanted to make the site. My web development experience is still fairly limited so I wasn't even too sure on what my options were. + I ended up settling on <a href="https://astro.build">Astro</a> since it seems like it's pretty flexible with all the different frameworks you can integrate. I also like the idea of being able + to write in markdown since it'll certainly make things easier on my fingers. Plus the idea of being able to run JSX in markdown seems pretty cool. </p> - + <h1>stuff</h1> <p> - Tempus quam pellentesque nec nam aliquam sem. Risus at ultrices mi tempus imperdiet. Id porta - nibh venenatis cras sed felis eget velit. Ipsum a arcu cursus vitae. Facilisis magna etiam - tempor orci eu lobortis elementum. Tincidunt dui ut ornare lectus sit. Quisque non tellus orci - ac. Blandit libero volutpat sed cras. Nec tincidunt praesent semper feugiat nibh sed pulvinar - proin gravida. Egestas integer eget aliquet nibh praesent tristique magna. + A lot of the things I've experimented with or made are on my <a href="https://github.com/pinapelz">GitHub</a>, I've also got a <a href="https://pinapelz.moe">LittleLink</a> that I try and regularly update with some of the stuff I've deployed + as well as some ways of contacting me. You can also get to either at any time through the <i>hub</i> and <i>github</i> links at the footer of each page. </p> </Layout> diff --git a/src/pages/blog/[...slug].astro b/src/pages/blog/[...slug].astro index 0d656a1..12436c2 100644 --- a/src/pages/blog/[...slug].astro +++ b/src/pages/blog/[...slug].astro @@ -16,6 +16,5 @@ const { Content } = await post.render(); --- <BlogPost {...post.data}> - <h1>{post.data.title}</h1> <Content /> </BlogPost> diff --git a/src/pages/blog/index.astro b/src/pages/blog/index.astro index 47126e7..11201b1 100644 --- a/src/pages/blog/index.astro +++ b/src/pages/blog/index.astro @@ -26,7 +26,7 @@ const posts = (await getCollection('blog')).sort( ul li :global(time) { flex: 0 0 130px; font-style: italic; - color: #595959; + color: #646464; } ul li a:visited { color: #8e32dc; diff --git a/src/pages/index.astro b/src/pages/index.astro index 26f070d..a1d2259 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -3,6 +3,12 @@ import BaseHead from '../components/BaseHead.astro'; import Header from '../components/Header.astro'; import Footer from '../components/Footer.astro'; import { SITE_TITLE, SITE_DESCRIPTION } from '../consts'; +import { getCollection } from 'astro:content'; +import FormattedDate from '../components/FormattedDate.astro'; + +const posts = (await getCollection('blog')).sort( + (a, b) => a.data.pubDate.valueOf() - b.data.pubDate.valueOf() +); --- <!DOCTYPE html> @@ -12,38 +18,144 @@ import { SITE_TITLE, SITE_DESCRIPTION } from '../consts'; </head> <body> <Header title={SITE_TITLE} /> + <main> - <h1>🧑🚀 Hello, Astronaut!</h1> - <p> - Welcome to the official <a href="https://astro.build/">Astro</a> blog starter template. This - template serves as a lightweight, minimally-styled starting point for anyone looking to build - a personal website, blog, or portfolio with Astro. - </p> - <p> - This template comes with a few integrations already configured in your - <code>astro.config.mjs</code> file. You can customize your setup with - <a href="https://astro.build/integrations">Astro Integrations</a> to add tools like Tailwind, - React, or Vue to your project. - </p> - <p>Here are a few ideas on how to get started with the template:</p> - <ul> - <li>Edit this page in <code>src/pages/index.astro</code></li> - <li>Edit the site header items in <code>src/components/Header.astro</code></li> - <li>Add your name to the footer in <code>src/components/Footer.astro</code></li> - <li>Check out the included blog posts in <code>src/pages/blog/</code></li> - <li>Customize the blog post page layout in <code>src/layouts/BlogPost.astro</code></li> - </ul> - <p> - Have fun! If you get stuck, remember to <a href="https://docs.astro.build/" - >read the docs - </a> or <a href="https://astro.build/chat">join us on Discord</a> to ask questions. - </p> + <style> + ul { + list-style-type: none; + padding: unset; + } + ul li { + display: flex; + } + ul li :global(time) { + flex: 0 0 130px; + font-style: italic; + color: #646464; + } + </style> + <h2>Recent Posts</h2> + <section> + <ul> + { + posts.slice(0, 3).map((post) => ( + <li> + <FormattedDate date={post.data.pubDate} /> + <a href={`/blog/${post.slug}/`}>{post.data.title}</a> + </li> + )) + } + </ul> + </section> + <h1>👋 Greetings, Adventurer!</h1> <p> - Looking for a blog template with a bit more personality? Check out <a - href="https://github.com/Charca/astro-blog-template" - >astro-blog-template - </a> by <a href="https://twitter.com/Charca">Maxi Ferreira</a>. + Welcome to my site/blog! This place will serve as a corner where I can document the progress and process with some of things I've experimented with or made. + I guess its like programming documentation, but uhh more of a mess? </p> + <h3>I did a thing..</h3> + <p>Here are some of the things I've done/experimented with and found pretty cool! (you can also find more stuff <a href="https://pinapelz.moe">here</a> and on <a href="https://github.com/pinapelz">GitHub</a>)</p> + <style> + .project-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 20px; + } + + .project { + background-color: #292828; + padding: 20px; + border-radius: 8px; + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); + text-align: center; + } + + .project img { + max-width: 100%; + height: auto; + border-radius: 4px; + margin-bottom: 10px; + } + + /* Styling for project descriptions */ + .project-grid .project p.project-text, + .project-grid a{ + text-decoration: none; + font-size: 14px; + line-height: 1.4; + color: #FFFFFF; + } + + .project-grid .project p.project-title{ + font-size: 18px; + line-height: 1; + } + + img { + max-height: 100px; + } + + </style> + <div class="project-grid"> + <div class="project"> + <a href="https://nijitracker.com" > + <img src="/projects/nijitrack.png" alt="Nijitrack Logo"> + </a> + <p class="project-title">NijiTrack</p> + <p class="project-text"> + Record and track historical subscriber data for a set of YouTube channels. + Currently mine is set up to record data for Nijisanji Virtual YouTubers (Nijitracker link on repo). + </p> + </div> + <div class="project"> + <a href="https://github.com/pinapelz/Video-Archive-Web"> + <img src="/projects/patchwork.png" alt="Patchwork Logo"> + </a> + <p class="project-title">Video Archive Web (Patchwork Archive)</p> + <p class="project-text"> + A Python Flask web app that can host archived YouTube videos, currently used as the + front end for Patchwork Archive (link on repo). + </p> + </div> + <div class="project"> + <a href="https://github.com/pinapelz/JHolodex"> + <img src="/projects/holodex.png" alt="JHolodex Wrapper"> + </a> + <p class="project-title">JHolodex</p> + <p class="project-text"> + A Java object oriented wrapper for the Holodex API + </p> + </div> + <div class="project"> + <a href="https://github.com/pinapelz/Sapphire"> + <img src="https://www.gitbook.com/cdn-cgi/image/width=40,dpr=2,height=40,fit=contain,format=auto/https%3A%2F%2F1852825540-files.gitbook.io%2F~%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FoWEO5F5fxBARvfBEby5l%252Ficon%252F9jUvxgDCe6egTrCyJ8t5%252Fsapphire_logo.png%3Falt%3Dmedia%26token%3D4e1ce138-1a38-4e5c-a9f8-490b24189b57" alt="Sapphire"> + </a> + <p class="project-title">Project Sapphire</p> + <p class="project-text"> + My fork of Sapphire, a C++ Final Fantasy XIV Server Emulator. Most of the work I've done + is pretaining to scripting content + </p> + </div> + <div class="project"> + <a href="https://github.com/pinapelz/yet-another-lavaplayer-bot"> + <img src="https://github.com/discord-jda/JDA/raw/assets/assets/readme/logo.png?raw=true" alt="YALP Bot"> + </a> + <p class="project-title">Yet Another Lavaplayer Bot</p> + <p class="project-text"> + A Discord music bot written in Java using JDA and Lavaplayer + </p> + </div> + <div class="project"> + <a href="https://github.com/pinapelz/ytmp3AutoTag"> + <img src="projects/github-mark-white.svg" alt="ytmp3 Autotag"> + </a> + <p class="project-title">YTMP3 Auto Tag</p> + <p class="project-text"> + A Java Swing application that uses yt-dlp to download and then automatically tag + mp3 files with metadata from the video. Supports downloading parts of a video as well + </p> + </div> + </div> + </main> <Footer /> </body> |
