Skip to content

Commit

Permalink
MVP
Browse files Browse the repository at this point in the history
  • Loading branch information
Lenni009 committed Sep 21, 2023
1 parent c7f99e2 commit e120d19
Show file tree
Hide file tree
Showing 19 changed files with 936 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/build-deploy.yml
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.
24 changes: 24 additions & 0 deletions .gitignore
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?
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# amiinthefade
Am I in the Fade? Find out here!
47 changes: 47 additions & 0 deletions index.html
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="..">&larr; 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">&larr; 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>
Loading

0 comments on commit e120d19

Please sign in to comment.