-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
936 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Build | ||
|
||
run-name: Build Code | ||
|
||
on: | ||
push: | ||
branches: ['main'] | ||
|
||
permissions: | ||
contents: write | ||
|
||
concurrency: | ||
group: "build" | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout 🛎️ | ||
uses: actions/checkout@v3 | ||
|
||
- name: Build | ||
run: | | ||
npm ci | ||
npm run build | ||
cd dist | ||
touch .nojekyll | ||
- name: Minify Code | ||
uses: Lenni009/minify-js@main | ||
with: | ||
directory: dist | ||
overwrite: true | ||
|
||
- name: Deploy to GitHub Pages | ||
uses: JamesIves/github-pages-deploy-action@v4 | ||
with: | ||
folder: dist # The folder the action should deploy. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
|
||
node_modules | ||
dist | ||
dist-ssr | ||
*.local | ||
|
||
# Editor directories and files | ||
.vscode/* | ||
!.vscode/extensions.json | ||
.idea | ||
.DS_Store | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# amiinthefade | ||
Am I in the Fade? Find out here! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<title>Am I in the Fade?</title> | ||
<script src="./src/main.ts" type="module"></script> | ||
</head> | ||
|
||
<body> | ||
<div class="container"> | ||
<header> | ||
<nav> | ||
<ul> | ||
<li><a href="..">← View other pages</a></li> | ||
</ul> | ||
<ul> | ||
<li><button role="button" class="themeswitcher" id="themeSwitch">Switch Theme</button></li> | ||
</ul> | ||
</nav> | ||
<h1 class="title">Am I in the Fade?</h1> | ||
</header> | ||
|
||
<main> | ||
<div> | ||
<label class="label" for="portalglyphsInput">Portalglyphs / Galactic Coordinates:</label> | ||
<input class="input" type="text" id="portalglyphsInput"> | ||
<button role="button" class="is-danger" id="delButton" type="button">← Delete</button> | ||
<div class="portal-buttons grid"></div> | ||
<p> | ||
<output class="glyphs" id="glyphDisplay"></output> | ||
</p> | ||
</div> | ||
|
||
<div class="actions"> | ||
<input role="button" type="submit" value="Check" id="submitBtn"> | ||
<input role=" button" type="reset" value="Reset Glyphs" id="resetBtn"> | ||
</div> | ||
<p class=" output"> | ||
<output id="output"></output> | ||
</p> | ||
</main> | ||
</div> | ||
</body> | ||
|
||
</html> |
Oops, something went wrong.