-
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.
Merge branch 'main' into patrick-map
- Loading branch information
Showing
105 changed files
with
5,775 additions
and
2,871 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,30 @@ | ||
module.exports = { | ||
'env': { | ||
'es2021': true | ||
}, | ||
'extends': [ | ||
'eslint:recommended', | ||
'plugin:svelte/recommended', | ||
'plugin:prettier/recommended' | ||
], | ||
'parser': '@typescript-eslint/parser', | ||
'parserOptions': { | ||
'project': './tsconfig.json', | ||
'extraFileExtensions': ['.svelte'] | ||
}, | ||
'overrides': [ | ||
{ | ||
'files': ['*.svelte'], | ||
'parser': 'svelte-eslint-parser', | ||
'parserOptions': { | ||
'parser': '@typescript-eslint/parser' | ||
} | ||
} | ||
], | ||
'rules': { | ||
'no-undef': 'off', | ||
"svelte/valid-compile": [ | ||
"warn", | ||
], | ||
}, | ||
} |
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,19 @@ | ||
name: Lint Code | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Install Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
cache: npm | ||
- run: npm install | ||
- run: npm run lint |
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 @@ | ||
{ | ||
"plugins": [ | ||
"prettier-plugin-svelte" | ||
] | ||
} |
Binary file modified
BIN
-605 Bytes
(83%)
App_Resources/Android/src/main/res/drawable-hdpi/background.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
BIN
+11.7 KB
App_Resources/Android/src/main/res/drawable-hdpi/ic_launcher_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-471 Bytes
(71%)
App_Resources/Android/src/main/res/drawable-ldpi/background.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
BIN
+3.75 KB
App_Resources/Android/src/main/res/drawable-ldpi/ic_launcher_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-538 Bytes
(76%)
App_Resources/Android/src/main/res/drawable-mdpi/background.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
BIN
+6.04 KB
App_Resources/Android/src/main/res/drawable-mdpi/ic_launcher_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-657 Bytes
(88%)
App_Resources/Android/src/main/res/drawable-xhdpi/background.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
BIN
+17.4 KB
App_Resources/Android/src/main/res/drawable-xhdpi/ic_launcher_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-445 Bytes
(96%)
App_Resources/Android/src/main/res/drawable-xxhdpi/background.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
BIN
+30.4 KB
App_Resources/Android/src/main/res/drawable-xxhdpi/ic_launcher_foreground.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 modified
BIN
+814 KB
(8200%)
App_Resources/Android/src/main/res/drawable-xxhdpi/logo.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 modified
BIN
+41 Bytes
(100%)
App_Resources/Android/src/main/res/drawable-xxxhdpi/background.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
BIN
+51.8 KB
App_Resources/Android/src/main/res/drawable-xxxhdpi/ic_launcher_foreground.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 modified
BIN
+811 KB
(6100%)
App_Resources/Android/src/main/res/drawable-xxxhdpi/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 0 additions & 15 deletions
15
App_Resources/Android/src/main/res/drawable/ic_launcher_foreground.xml
This file was deleted.
Oops, something went wrong.
Binary file modified
BIN
+1.14 KB
(140%)
App_Resources/Android/src/main/res/mipmap-hdpi/ic_launcher.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 modified
BIN
+505 Bytes
(130%)
App_Resources/Android/src/main/res/mipmap-mdpi/ic_launcher.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 modified
BIN
+2.38 KB
(150%)
App_Resources/Android/src/main/res/mipmap-xhdpi/ic_launcher.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 modified
BIN
+5.74 KB
(180%)
App_Resources/Android/src/main/res/mipmap-xxhdpi/ic_launcher.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 modified
BIN
+8.73 KB
(190%)
App_Resources/Android/src/main/res/mipmap-xxxhdpi/ic_launcher.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 modified
BIN
+601 KB
(3500%)
App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-1024.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 modified
BIN
+134 Bytes
(120%)
App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-20.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 modified
BIN
+1.47 KB
(250%)
App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/[email protected]
Oops, something went wrong.
Binary file modified
BIN
+2.94 KB
(340%)
App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/[email protected]
Oops, something went wrong.
Binary file modified
BIN
+673 Bytes
(180%)
App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29.png
Oops, something went wrong.
Binary file modified
BIN
+2.74 KB
(330%)
App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/[email protected]
Oops, something went wrong.
Binary file modified
BIN
+6.24 KB
(480%)
App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/[email protected]
Oops, something went wrong.
Binary file modified
BIN
+1.47 KB
(250%)
App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40.png
Oops, something went wrong.
Binary file modified
BIN
+5.45 KB
(470%)
App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/[email protected]
Oops, something went wrong.
Binary file modified
BIN
+11 KB
(630%)
App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/[email protected]
Oops, something went wrong.
Binary file modified
BIN
+11 KB
(630%)
App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/[email protected]
Oops, something went wrong.
Binary file modified
BIN
+19.7 KB
(770%)
App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/[email protected]
Oops, something went wrong.
Binary file modified
BIN
+4.9 KB
(440%)
App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76.png
Oops, something went wrong.
Binary file modified
BIN
+15.7 KB
(710%)
App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/[email protected]
Oops, something went wrong.
Binary file modified
BIN
+17.7 KB
(740%)
App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/[email protected]
Oops, something went wrong.
Binary file modified
BIN
-104 Bytes
(98%)
...OS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill.png
Oops, something went wrong.
Binary file modified
BIN
+1.54 KB
(110%)
...Assets.xcassets/LaunchScreen.AspectFill.imageset/[email protected]
Oops, something went wrong.
Binary file modified
BIN
+4.82 KB
(120%)
...Assets.xcassets/LaunchScreen.AspectFill.imageset/[email protected]
Oops, something went wrong.
Binary file modified
BIN
+48.7 KB
(830%)
...ources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center.png
Oops, something went wrong.
Binary file modified
BIN
+225 KB
(1800%)
...ces/iOS/Assets.xcassets/LaunchScreen.Center.imageset/[email protected]
Oops, something went wrong.
Binary file modified
BIN
+557 KB
(2800%)
...ces/iOS/Assets.xcassets/LaunchScreen.Center.imageset/[email protected]
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
export * from './routes'; | ||
export * from "./routes"; |
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
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
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,51 @@ | ||
<script type="ts"> | ||
export let icon = ""; | ||
$: hasIcon = icon !== ""; | ||
export let label = "Default Label"; | ||
export let selected = false; | ||
let customClass = ""; | ||
export { customClass as class }; | ||
</script> | ||
|
||
<gridLayout class="button {customClass}" class:selected> | ||
<stackLayout orientation="horizontal" on:tap> | ||
{#if hasIcon} | ||
<label class="icon button-icon" text={icon} /> | ||
Check warning on line 15 in app/shared/components/BigButton.svelte GitHub Actions / lint
|
||
{/if} | ||
<label class="button-text" text={label} /> | ||
Check warning on line 17 in app/shared/components/BigButton.svelte GitHub Actions / lint
|
||
</stackLayout> | ||
</gridLayout> | ||
|
||
<style lang="scss"> | ||
.button { | ||
padding-left: calc(var(--base-s) * 24px); | ||
padding-right: var(--s); | ||
width: auto; | ||
height: 150px; | ||
border-color: var(--color-primary); | ||
border-width: 2pt; | ||
border-radius: calc(var(--base-s) * 5); | ||
background-color: var(--color-background-light); | ||
font-size: var(--m); | ||
} | ||
.button-icon { | ||
color: var(--color-primary); | ||
padding-right: calc(var(--base-s) * 8px); | ||
} | ||
.button-text { | ||
padding-left: calc(var(--base-s) * 16px); | ||
} | ||
.button.selected { | ||
background-color: var(--color-primary); | ||
color: var(--color-background-light); | ||
.button-icon { | ||
color: var(--color-background-light); | ||
} | ||
} | ||
</style> |
Oops, something went wrong.