diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2024-01-31 22:02:43 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2024-01-31 22:02:43 -0500 |
| commit | b21c39aaf41f0fd2376bdf5f832d32a8ebbaa95a (patch) | |
| tree | 99e7b6853deebfdf1de41905ddd2ecd931527833 /src/pages | |
| parent | 126e0c277881b16675d43b663ce8d95b51e93ea4 (diff) | |
| download | personal-website-b21c39aaf41f0fd2376bdf5f832d32a8ebbaa95a.tar.gz personal-website-b21c39aaf41f0fd2376bdf5f832d32a8ebbaa95a.tar.bz2 personal-website-b21c39aaf41f0fd2376bdf5f832d32a8ebbaa95a.zip | |
OSFT Archive Page; Blog improvements
Diffstat (limited to 'src/pages')
| -rw-r--r-- | src/pages/blog/[...slug].astro | 8 | ||||
| -rw-r--r-- | src/pages/blog/tags/[tag].astro | 15 | ||||
| -rw-r--r-- | src/pages/downloads/osft-software-archive.astro | 107 | ||||
| -rw-r--r-- | src/pages/projects.astro | 3 |
4 files changed, 124 insertions, 9 deletions
diff --git a/src/pages/blog/[...slug].astro b/src/pages/blog/[...slug].astro index de4efb6..8713ab5 100644 --- a/src/pages/blog/[...slug].astro +++ b/src/pages/blog/[...slug].astro @@ -18,6 +18,14 @@ const { Content } = await entry.render(); --- <Page title={entry.data.title} description={entry.data.description} date={formatDate(entry.data.date)}> <main> + <a href="/blog" class="back-link">← All articles</a> <Content /> </main> </Page> +<style> + main { + background-color: #3B513B; + padding: 1.2em; + border-radius: 20px; + } +</style> diff --git a/src/pages/blog/tags/[tag].astro b/src/pages/blog/tags/[tag].astro index 8885cfa..a43f13f 100644 --- a/src/pages/blog/tags/[tag].astro +++ b/src/pages/blog/tags/[tag].astro @@ -3,7 +3,11 @@ import Page from '../../../layouts/Page.astro'; export async function getStaticPaths() { const allPosts = await Astro.glob('../../../content/blog/*.md'); - const uniqueTags = [...new Set(allPosts.map((post) => post.frontmatter.tags).flat())]; + let uniqueTags = []; + + if (allPosts) { + uniqueTags = [...new Set(allPosts.map((post) => post.frontmatter.tags).flat())]; + } return uniqueTags.map((tag) => { const filteredPosts = allPosts.filter((post) => post.frontmatter.tags.includes(tag)); @@ -18,11 +22,12 @@ const { tag } = Astro.params; const { posts } = Astro.props; --- <Page title={tag}> - {posts.map((post) => { + {console.log(posts)} + {posts && posts.map((post) => { return ( - <div> - <a href={post.url}>{post.frontmatter.title}</a> - </div> + <div> + <a href={post.url}>{post.frontmatter.title}</a> + </div> ) })} </Page> diff --git a/src/pages/downloads/osft-software-archive.astro b/src/pages/downloads/osft-software-archive.astro index 1c86e63..2074910 100644 --- a/src/pages/downloads/osft-software-archive.astro +++ b/src/pages/downloads/osft-software-archive.astro @@ -1,6 +1,109 @@ --- import Page from "../../layouts/Page.astro"; --- -<Page> - +<Page title="Philip Adams Software Archive" description="The ultimate software collection of Philip Adams' software."> + <main> + <div class="content-warning"> + <h1>Content Warning</h1> + <p>Some of the software in this pack contains a jumpscare. If you have epilepsy, please be cautious.</p> + <p>Disable your antivirus as it can detect false positive, feel free to use a VM in case this feels not safe.</p> + </div> + <div class="box note"> + <h1>Note</h1> + <p>There was a mention back in the AstralPhaser Chats that the Histacom 1.8.5 (2013) copy in IndieDB is not the original copy from Phil.</p> + <p>I have retrieved the original 2010 copy from Phil himself which has the original compile date of July 5th 2010, and I will be keeping both versions for the time being.</p> + </div> + <h1>Minimal Requirements</h1> + <div class="box requirements"> + <ul> + <li>OS: Windows XP SP3/Vista SP2 (Depends on each program)</li> + <li>CPU: Intel/AMD x86 or x64 1 GHz Processor</li> + <li>RAM: 512 MB to 1 GB</li> + <li>Storage: 500 MB to 4 GB</li> + <li>Frameworks: Adobe Flash Player, .NET Framework 3.5, 4.0 and/or 4.5</li> + </ul> + </div> + <h1>Programs</h1> + <div class="box programs"> + <ul> + <li>Amazing Maze (Requires Flash Player)</li> + <li>Artpad (from ShiftOS)</li> + <li>Averager</li> + <li>Board Game Maker</li> + <li>Bouncing Ball Physics 0.3</li> + <li>Chebinect</li> + <li>Chrono Machine 0.9.3</li> + <li>Colors</li> + <li>Dark OS Studio</li> + <li>Digging</li> + <li>Draw</li> + <li>Dropper</li> + <li>Explore 0.3.7</li> + <li>File Viewer (Jumpscare warning)</li> + <li>File Wars</li> + <li>"funny nana and grampa sounds version 1.1"</li> + <li>Guess The Number</li> + <li>Histacom 1.8.5 (2010 Edition) (Epilepsy warning)</li> + <li>Histacom 1.8.5 (2013 Edition) (Epilepsy warning)</li> + <li>HTMLive</li> + <li>IIR (Interactive Infinite Road)</li> + <li>Infinijump 0.1</li> + <li>Infinijump Creator 0.1</li> + <li>Mitosis 0.6</li> + <li>OSFirstTimer Blue Screen (Jumpscare warning)</li> + <li>Paper Math 2D</li> + <li>Philip's Mario Game</li> + <li>Phone Simulator 0.4</li> + <li>Picture Generator</li> + <li>Pixel Physics 0.3</li> + <li>Road Simulator 0.4</li> + <li>RPG Map Maker</li> + <li>ShiftOS 0.0.8 (Epilepsy warning)</li> + <li>Theme Test</li> + <li>Thoto 0.3</li> + <li>Time Machine 0.4</li> + <li>Typewriter</li> + <li>Vending Machine</li> + <li>Visual Sound (Ear blast warning)</li> + <li>Zeon OS 0.2</li> + </ul> + </div> + <div> + <p>MD5: d14f7bfd17fa66ada3d48020deffcce0</p> + <p>SHA512: b481d73f839c2ad99b6d6502d5735f416fbcc38dbac811c3d939845d319fecf8b15dd4ff1728ed96abe19077be19527df3692c54751bb81c201e58934d016527</p> + <p>SHA256: c7ad3f799f14e610f8931f87e2612385ec39e2662308e7005e10715f9e94c6a0</p> + </div> + <a href="https://cloud.alee14.me/s/GjwJeNb8JBCbaHw">Download Archive</a> + </main> </Page> +<style> + .content-warning { + background-color: #727119; + padding: 1.2em; + border-radius: 20px; + gap: 0.5em; + } + + .content-warning h1 { + margin-top: 0.2em; + } + + .note { + margin-top: 1.2em; + } + + .note h1 { + margin-top: 0.2em; + } + + .box { + background-color: #3B513B; + padding: 1.2em; + border-radius: 20px; + gap: 0.5em; + } + + a { + font-size: 1.5em; + } +</style> diff --git a/src/pages/projects.astro b/src/pages/projects.astro index 1613172..d908b57 100644 --- a/src/pages/projects.astro +++ b/src/pages/projects.astro @@ -12,8 +12,7 @@ import projects from "../data/projects.json"; <p>{project.description}</p> {project.links.map((link) => { return ( - <a href={link.url} target="_blank">{link.name}</a> - ) + <a href={link.url} target={link.external ? "_blank" : ""}>{link.name}</a> ) })} </div> ) |
