-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from LukWebsForge/geist-ui
Geist UI redesign
- Loading branch information
Showing
42 changed files
with
2,156 additions
and
1,225 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 |
---|---|---|
|
@@ -12,26 +12,18 @@ jobs: | |
name: Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Set up Go 1.x | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ^1.16 | ||
|
||
- name: Setup Node.js environment | ||
uses: actions/[email protected] | ||
|
||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Task | ||
run: curl -sL https://taskfile.dev/install.sh | sh | ||
|
||
- name: Build using Taskfile.yml | ||
run: ./bin/task build | ||
|
||
- name: Archive production artifacts | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: compiled-application-amd64-ubuntu | ||
path: out/* | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: ^1.16 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: '16' | ||
- uses: actions/checkout@v2 | ||
- name: Setup Task | ||
run: curl -sL https://taskfile.dev/install.sh | sh | ||
- name: Build using Taskfile.yml | ||
run: ./bin/task build | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: compiled-application-amd64-ubuntu | ||
path: out/* |
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,22 @@ | ||
name: JS | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
|
||
lint: | ||
name: Lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: '16' | ||
- run: yarn | ||
working-directory: resources | ||
- run: yarn lint | ||
working-directory: resources |
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 |
---|---|---|
|
@@ -11,44 +11,34 @@ jobs: | |
name: Build (Release) | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Set up Go 1.x | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ^1.13 | ||
|
||
- name: Setup Node.js environment | ||
uses: actions/[email protected] | ||
|
||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Task | ||
run: curl -sL https://taskfile.dev/install.sh | sh | ||
|
||
- name: Build using Taskfile.yml | ||
run: ./bin/task release | ||
|
||
- name: Archive production artifacts | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: compiled-application-amd64-ubuntu | ||
path: out/* | ||
|
||
- name: Publish | ||
uses: softprops/action-gh-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
files: | | ||
out/update_linux_amd64 | ||
out/update_linux_arm | ||
out/update_windows_amd64.exe | ||
draft: true | ||
name: Release ${{ github.ref }} | ||
body: | | ||
Changes in this Release | ||
- First Change | ||
- Second Change | ||
- [ ] You've listed all important changes / pull requests | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: ^1.16 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: '16' | ||
- uses: actions/checkout@v2 | ||
- name: Setup Task | ||
run: curl -sL https://taskfile.dev/install.sh | sh | ||
- name: Build using Taskfile.yml | ||
run: ./bin/task release | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: compiled-application-amd64-ubuntu | ||
path: out/* | ||
- uses: softprops/action-gh-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
files: | | ||
out/update_linux_amd64 | ||
out/update_linux_arm | ||
out/update_windows_amd64.exe | ||
draft: true | ||
name: Release ${{ github.ref }} | ||
body: | | ||
Changes in this Release | ||
- First Change | ||
- Second Change | ||
- [ ] You've listed all important changes / pull requests |
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
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,3 @@ | ||
{ | ||
"extends": "react-app" | ||
} |
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 |
---|---|---|
|
@@ -24,3 +24,6 @@ yarn-error.log* | |
|
||
# Custom data.json file for testing | ||
public/data.json | ||
|
||
# Vercel | ||
.vercel |
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,3 @@ | ||
.vercel | ||
build | ||
public/data.json |
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,5 @@ | ||
{ | ||
"printWidth": 100, | ||
"semi": false, | ||
"singleQuote": true | ||
} |
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
This file was deleted.
Oops, something went wrong.
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,20 @@ | ||
const http = require('https') | ||
const fs = require('fs') | ||
|
||
// Inspiration: https://stackoverflow.com/a/17676794/4106848 | ||
|
||
const destination = 'public/data.json' | ||
const url = 'https://raw.githubusercontent.com/LukWebsForge/tldri18n/main/data.json' | ||
|
||
const file = fs.createWriteStream(destination) | ||
http | ||
.get(url, (response) => { | ||
response.pipe(file) | ||
file.on('finish', () => { | ||
file.close() | ||
console.log(destination + ' was downloaded successfully') | ||
}) | ||
}) | ||
.on('error', (err) => { | ||
console.log('Error while downloading ' + destination + ': ' + err) | ||
}) |
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,4 @@ | ||
# Favicon | ||
|
||
- The SVG image uses the font family [Inter](https://rsms.me/inter/) | ||
- You can create a `favicon.ico` using [icoconverter.com](https://www.icoconverter.com/) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.