aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/data/projects.json33
-rw-r--r--src/layouts/BlogPost.astro1
-rw-r--r--src/pages/blog/[...slug].astro8
-rw-r--r--src/pages/blog/tags/[tag].astro15
-rw-r--r--src/pages/downloads/osft-software-archive.astro107
-rw-r--r--src/pages/projects.astro3
6 files changed, 151 insertions, 16 deletions
diff --git a/src/data/projects.json b/src/data/projects.json
index dc8bbbf..c5e5f52 100644
--- a/src/data/projects.json
+++ b/src/data/projects.json
@@ -5,7 +5,8 @@
"links": [
{
"name": "Source Code",
- "url": "https://github.com/Alee14/AleeBot"
+ "url": "https://github.com/Alee14/AleeBot",
+ "external": true
}
]
},
@@ -15,7 +16,24 @@
"links": [
{
"name": "Source Code",
- "url": "https://github.com/Alee14/DLAP"
+ "url": "https://github.com/Alee14/DLAP",
+ "external": true
+ }
+ ]
+ },
+ {
+ "name": "Philip Adams Software Archive",
+ "description": "The ultimate software collection of Philip Adams' software.",
+ "links": [
+ {
+ "name": "Download",
+ "url": "https://cloud.alee14.me/s/GjwJeNb8JBCbaHw",
+ "external": true
+ },
+ {
+ "name": "More Information",
+ "url": "/downloads/osft-software-archive",
+ "external": false
}
]
},
@@ -25,7 +43,8 @@
"links": [
{
"name": "Website",
- "url": "https://snug-cup.alee14.me"
+ "url": "https://snug-cup.alee14.me",
+ "external": true
}
]
},
@@ -35,12 +54,14 @@
"links": [
{
"name": "Download",
- "url": "https://github.com/Alee14/YouTube-TV-Client/releases"
+ "url": "https://github.com/Alee14/YouTube-TV-Client/releases",
+ "external": true
},
{
"name": "Source Code",
- "url": "https://github.com/Alee14/YouTube-TV-Client"
+ "url": "https://github.com/Alee14/YouTube-TV-Client",
+ "external": true
}
]
}
-] \ No newline at end of file
+]
diff --git a/src/layouts/BlogPost.astro b/src/layouts/BlogPost.astro
index d86504e..5849f90 100644
--- a/src/layouts/BlogPost.astro
+++ b/src/layouts/BlogPost.astro
@@ -7,7 +7,6 @@ const { title, description, date } = Astro.props;
<header>
<h1 class="header-text">{title}</h1>
<small>{date}</small>
- <h2 class="header-text">{description}</h2>
</header>
<div class="container">
<main>
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>&quot;funny nana and grampa sounds version 1.1&quot;</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&apos;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>
)