-
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.
update: Mon 22 Jul 2024 12:40:47 CEST
- Loading branch information
Showing
42 changed files
with
2,006 additions
and
1,004 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,37 @@ | ||
name: Deploy App to GitHub Pages | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 20 | ||
|
||
- name: Install pnpm | ||
run: npm install -g pnpm | ||
|
||
- name: Install dependencies | ||
run: pnpm install | ||
|
||
- name: Build React app | ||
run: pnpm run build | ||
|
||
- name: Deploy to GitHub Pages | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./dist | ||
cname: board-score-hub.philipp-bonin.com |
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,6 @@ | ||
import BoardScorePage from '../../api/BoardScorePage/BoardScorePage'; | ||
import getDefinition from './definition'; | ||
|
||
export default function $$name.p$$View() { | ||
return <BoardScorePage definition={getDefinition()} />; | ||
} |
Empty file.
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,21 @@ | ||
export default function getDefinition() { | ||
return { | ||
title: '$$name$$', | ||
//bgColor: '#fff', | ||
//fontColor: '#000', | ||
//primaryColor: '#fff', | ||
//secondaryColor: '#000', | ||
playerSizes: [1, 2, 3, 4], | ||
winMode: 'most', | ||
rows: [ | ||
{ | ||
name: 'Row1', | ||
}, | ||
|
||
{ | ||
name: 'Row2', | ||
icon: 'src/games/$$name.k$$/assets/test.png', | ||
}, | ||
], | ||
}; | ||
} |
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,16 @@ | ||
#?: | ||
|
||
# This file is used by templify to generate new files from this template. | ||
|
||
# You can use the following variables in this file: | ||
|
||
# description: The description of the template | ||
|
||
# path: The path where the file should be generated based on the project root (you can also use placeholders here) | ||
|
||
# var: Define a variable placeholder that can be used in the file content | ||
|
||
# IMPORTANT: Lines starting with a . are auto generated and should not be changed. | ||
|
||
description: | ||
path:src/games |
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
Oops, something went wrong.