Skip to content

Commit 74182a9

Browse files
committed
hotfix
1 parent 8f2065e commit 74182a9

9 files changed

Lines changed: 45 additions & 6 deletions

File tree

.github/workflows/depoly.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
# Trigger the workflow every time you push to the `main` branch
5+
# Using a different branch name? Replace `main` with your branch’s name
6+
push:
7+
branches: [ master ]
8+
# Allows you to run this workflow manually from the Actions tab on GitHub.
9+
workflow_dispatch:
10+
11+
# Allow this job to clone the repo and create a page deployment
12+
permissions:
13+
contents: read
14+
pages: write
15+
id-token: write
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout your repository using git
22+
uses: actions/checkout@v4
23+
- name: Install, build, and upload your site
24+
uses: withastro/action@v3
25+
# with:
26+
# path: . # The root location of your Astro project inside the repository. (optional)
27+
# node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 20. (optional)
28+
# package-manager: pnpm@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)
29+
30+
deploy:
31+
needs: build
32+
runs-on: ubuntu-latest
33+
environment:
34+
name: github-pages
35+
url: ${{ steps.deployment.outputs.page_url }}
36+
steps:
37+
- name: Deploy to GitHub Pages
38+
id: deployment
39+
uses: actions/deploy-pages@v4
File renamed without changes.

src/components/BaseHeader.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
33
---
44
<meta charset="UTF-8" />
5-
<link rel="icon" type="image/svg+xml" href="/gp.ico" />
6-
<link rel="stylesheet" href="style.css" />
5+
<link rel="icon" type="image/svg+xml" href="/assets/gp.ico" />
6+
<link rel="stylesheet" href="/assets/style.css" />
77

88
<link rel="preconnect" href="https://fonts.googleapis.com">
99
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>

src/components/page/AboutView.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
const rotateTexts = ['Plugin', 'Server'];
3333
let currentIndex = 0;
3434

35-
function updateText(rotateTextEl: HTMLElement) {
35+
function updateText(rotateTextEl) {
3636
rotateTextEl.textContent = rotateTexts[currentIndex];
3737
animate(rotateTextEl,
3838
{ opacity: [0, 1], y: [-20, 0] },

src/components/page/Home.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<div class="home-container">
44
<div class="box-container">
55
<img
6-
src="/grassProject.png"
6+
src="/assets/grassProject.png"
77
alt="logo-img"
88
id="logo"
99
onclick="window.open('https://discord.gg/3n3EHtyQf7', '_blank')"

src/components/page/TimeLineView.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function getLeft(date: Date, startDate: Date, endDate: Date) {
3939
</div>
4040
</div>
4141

42-
<script type="module">
42+
<script>
4343
window.addEventListener('DOMContentLoaded', () => {
4444
document.querySelectorAll('.milestone').forEach((el) => {
4545
const dot = el.querySelector('.dot');

src/pages/callback.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<p>Logging in...</p>
1111

1212
<script>
13-
import { getDiscordUser } from '../script/DiscordUser.ts';
13+
import { getDiscordUser } from '../script/DiscordUser';
1414
import Cookies from 'js-cookie';
1515

1616
const params = new URLSearchParams(window.location.search);

0 commit comments

Comments
 (0)