Skip to content

Commit

Permalink
Uploaded the website itself
Browse files Browse the repository at this point in the history
  • Loading branch information
tay committed Sep 18, 2024
1 parent 0f23d9f commit 5dbafd2
Show file tree
Hide file tree
Showing 188 changed files with 35,092 additions and 391 deletions.
74 changes: 74 additions & 0 deletions .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# Sample workflow for building and deploying a Hugo site to GitHub Pages
name: Deploy Hugo site to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

# Default to bash
defaults:
run:
shell: bash

jobs:
# Build job
build:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.128.0
steps:
- name: Install Hugo CLI
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: Install Dart Sass
run: sudo snap install dart-sass
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
- name: Install Node.js dependencies
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
- name: Build with Hugo
env:
HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
HUGO_ENVIRONMENT: production
run: |
hugo \
--minify \
--baseURL "${{ steps.pages.outputs.base_url }}/"
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./public

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
43 changes: 0 additions & 43 deletions .github/workflows/static.yml

This file was deleted.

Empty file added .hugo_build.lock
Empty file.
1 change: 0 additions & 1 deletion CNAME

This file was deleted.

21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

4 changes: 0 additions & 4 deletions README.md

This file was deleted.

5 changes: 5 additions & 0 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
+++
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
date = {{ .Date }}
draft = true
+++
Binary file removed assets/imgs/oldpfpfavicon.png
Binary file not shown.
Binary file removed assets/imgs/oldpfplogo.png
Binary file not shown.
55 changes: 55 additions & 0 deletions content/about/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<link rel="stylesheet" href="/assets/css/about/style.css">
<main>
<div class="about">
<div>
<body>
<div class="content">
<h1>Hiya, Call me Tee!</h1>
<iframe width="570" height="230" src="https://lanyard.cnrad.dev/api/1050531216589332581" frameborder="0" allowfullscreen style="margin-left: 35px;"></iframe>
<div id="images">
<a href="https://discord.com/users/1050531216589332581" target="_blank"><img src="/assets/imgs/discord.png" class="social-logo" alt="Discord"></a>
<a href="https://github.com/tayrp" target="_blank"><img src="/assets/imgs/github.png" class="social-logo" alt="Github"></a>
<a href="https://discord.gg/gjypyNkPPp" target="_blank"><img src="/assets/imgs/haven.png" class="social-logo" alt="Haven"></a>
<a href="https://www.last.fm/user/MystixMew" target="_blank"><img src="/assets/imgs/lastfm.png" class="social-logo" alt="Last.fm"></a>
<a href="https://www.youtube.com/@MystixMew" target="_blank"><img src="/assets/imgs/youtube.png" class="social-logo" alt="YouTube"></a>
</div>
</div>
<video autoplay loop id="aboutvideo">
<source src="https://index.havenmc.org/website/assets/mp4/usurper.mp4" type="video/mp4">
This browser does not support HTML5 video or the server is offline.
</video>

<label for="volumeControl">Volume:</label>
<input type="range" id="volumeControl" min="0" max="1" step="0.01" value="0.01">
<span id="volumePercentage">1%</span>

<script>
var video = document.getElementById("aboutvideo");
var btn = document.getElementById("aboutpauseBtn");
var volumeControl = document.getElementById("volumeControl");
var volumePercentage = document.getElementById("volumePercentage");

// Initialize the video volume and percentage display
video.volume = volumeControl.value; // Set initial volume based on the slider value
volumePercentage.innerHTML = Math.round(volumeControl.value * 100) + "%"; // Set initial percentage

function togglePause() {
if (video.paused) {
video.play();
btn.innerHTML = "⏸️";
} else {
video.pause();
btn.innerHTML = "▶️";
}
}

volumeControl.addEventListener("input", function() {
video.volume = volumeControl.value;
var percentage = Math.round(volumeControl.value * 100);
volumePercentage.innerHTML = percentage + "%";
});
</script>
</body>
</div>
</div>
</main>
62 changes: 62 additions & 0 deletions content/discord/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<div>
<div class="about">
<div>
<p>
<p>If you have not been redirected to my Discord within 3 seconds.</p>
</p>
</div>
<div>
<p>
<p>Please click <a href="https://discord.gg/xQVDR3ANQX">this</a> to join</p>
</p>
</div>
</div>
</div>
<div>
<meta http-equiv="refresh" content="4; URL=https://discord.gg/xMdsWvqp7P" />
<body>
<script>
ProgressCountdown(3, "pageBeginCountdownText");

function ProgressCountdown(timeleft, text) {
return new Promise((resolve, reject) => {
var countdownTimer = setInterval(() => {
timeleft--;

document.getElementById(text).textContent = timeleft;

if (timeleft <= 0) {
clearInterval(countdownTimer);
resolve(true);
}
}, 1000);
});
}
</script>

<style>
.dot {
height: 115px;
width: 115px;
border-style: solid;
border-width: 2px;
border-radius: 50%;
display: inline-block;
text-align: center;
}

.clock {
text-align: center;
}

.pp {
text-align: center;
}
</style>

<div class="row begin-countdown">
<div class="col-md-12 text-center">
<div class="dot" style="position: center">
<h3 id="pageBeginCountdownText" class="clock">3</h3>
<p class="pp">Until Join</p>
</div>
14 changes: 14 additions & 0 deletions content/pages/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<div>
<div class="about">
<div>
<p>A list of all pages on my website.</p>
<p>Some are hidden, Like eastereggs.</p>
<li><a href="/">Home</a> - Literally the home page.</li>
<li><a href="/about">About</a> - Literally the about page.</li>
<li><a href="/projects">Projects</a> - Literally the projects page.</li>
<li><a href="/discord">Discord</a> - Literally the discord page.</li>
<li><a href="/pages">Pages</a> - Literally this page.</li>
<li><a href="https://tayrp.substack.com/">Blog</a> - Literally the blog button.</li>
</div>
</div>
</div>
9 changes: 9 additions & 0 deletions content/projects/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<div>
<div class="pl">
<ul class="plul">
<b>Here is a list of all my projects.</b>
<li><a href="https://modrinth.com/user/tay">Modrinth</a> - Mods, Modpacks, Datapacks, etc</li>
<!--<li><a href="https://link-here.tld">put text here to kinda give it a text yknow..</a></li>-->
</ul>
</div>
</div>
14 changes: 14 additions & 0 deletions content/salad/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<div>
<div class="about">
<div>
<body>
<div class="content">
<h2>Look at this person eating their salad, You like this gif? You should replicate it.</h2>
<iframe width="450" height="350" src="https://c.tenor.com/HZ_mu1zU3-UAAAAd/tenor.gif" frameborder="0" allowfullscreen style="margin-left: 65px;"></iframe>
<div id="images">
</div>
</div>
</body>
</div>
</div>
</div>
Loading

0 comments on commit 5dbafd2

Please sign in to comment.