Skip to content

Commit

Permalink
production
Browse files Browse the repository at this point in the history
  • Loading branch information
Krising-1 committed Aug 5, 2024
1 parent b7babc6 commit e235173
Show file tree
Hide file tree
Showing 957 changed files with 121,687 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true

[*.svg]
insert_final_newline = false
16 changes: 16 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"root": true,
"parserOptions": {
"ecmaVersion": 2022,
"sourceType": "module"
},
"env": {
"es2022": true,
"browser": true
},
"globals": {
"noUiSlider": "readonly",
"Pristine": "readonly"
},
"extends": "htmlacademy/vanilla"
}
10 changes: 10 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
* text eol=lf

*.ico binary
*.png binary
*.jpg binary
*.jpeg binary
*.webp binary
*.avif binary
*.woff binary
*.woff2 binary
40 changes: 40 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Project check

on:
push:
branches:
- master
pull_request:
branches:
- '*'

jobs:
check:
name: Check

runs-on: ubuntu-latest

steps:

- name: Checkout
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: 'package.json'

- name: Restore cache
uses: actions/cache@v3
with:
path: ~/.npm
key: cache-npm-${{ hashFiles('./package-lock.json') }}
restore-keys: cache-npm-

- name: Install dependencies
run: npm ci

- name: Run checks
run: npm run lint
env:
FORCE_COLOR: true
47 changes: 47 additions & 0 deletions .github/workflows/gh-pages-on-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Deploy on pull request

on:
pull_request_target:
branches:
- '*'

jobs:
deploy-on-pull-request:
name: Deploy on Pull Request

permissions:
contents: write

runs-on: ubuntu-latest

steps:

- name: Checkout
uses: actions/checkout@v4
with:
ref: 'refs/pull/${{ github.event.pull_request.number }}/merge'

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: 'package.json'

- name: Restore cache
uses: actions/cache@v3
with:
path: ~/.npm
key: cache-npm-${{ hashFiles('./package-lock.json') }}
restore-keys: cache-npm-

- name: Install dependencies
run: npm ci

- name: Build project
run: npm run build

- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: ./build
branch: gh-pages
target-folder: ${{ github.event.pull_request.number }}
44 changes: 44 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Deploy to GitHub-Pages

on:
push:
branches:
- master

jobs:
deploy:
name: Deploy

permissions:
contents: write

runs-on: ubuntu-latest

steps:

- name: Checkout
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: 'package.json'

- name: Restore cache
uses: actions/cache@v3
with:
path: ~/.npm
key: cache-npm-${{ hashFiles('./package-lock.json') }}
restore-keys: cache-npm-

- name: Install dependencies
run: npm ci

- name: Build project
run: npm run build

- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: ./build
branch: gh-pages
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
node_modules
build
.idea
.DS_Store
raw/**/*.jpg
raw/**/*.jpeg
raw/**/*.png
raw/**/*.svg
!raw/**/README.md
3 changes: 3 additions & 0 deletions .linthtmlrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "linthtml-config-htmlacademy"
}
3 changes: 3 additions & 0 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "stylelint-config-htmlacademy"
}
Binary file added assets/git.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/node.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/favicon.ico
Binary file not shown.
Binary file added docs/favicons/supergym-apple-favicon-180x180.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/favicons/supergym-favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions docs/favicons/supergym-favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/favicons/supergym-icon180.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/favicons/supergym-icon192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/favicons/supergym-icon256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/favicons/supergym-icon512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/fonts/alumni-sans-extra-bold.woff2
Binary file not shown.
Binary file added docs/fonts/alumni-sans-semi-bold.woff2
Binary file not shown.
Binary file added docs/fonts/roboto-condensed-bold.woff2
Binary file not shown.
Binary file added docs/fonts/roboto-condensed-light.woff2
Binary file not shown.
Binary file added docs/fonts/roboto-condensed-regular.woff2
Binary file not shown.
1 change: 1 addition & 0 deletions docs/icons/stack.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Binary file added docs/images/[email protected]
Binary file not shown.
Binary file added docs/images/[email protected]
Binary file added docs/images/[email protected]
Binary file not shown.
10 changes: 10 additions & 0 deletions docs/images/supergym-logo-desktop.svg
Loading

0 comments on commit e235173

Please sign in to comment.