Skip to content

Commit c2f13c7

Browse files
First PWA fixed (#14)
* made changes * modified package dependencies * Updated Angular version and Added PWA capability * Created workflow for auto-deploy to GH pages * Fixed wrong pwa icons path * Fixed wrong favicon path * fixed deleting other envs folders * fixed deleting other envs folders * fixed deleting other envs folders * test * trying to fix development and test envs unaccesible and removed unnecesary files * trying to fix development and test envs unaccesible and removed unnecesary files * fixed deleting other envs folders * deleted loop created on dev and test routes * fixed? * Fixed prod deployment * merge * don't develop from mobile * Fixing fail status when no changes to commit * Fixed missing font * fixed typo
1 parent 305f0a1 commit c2f13c7

5 files changed

Lines changed: 127 additions & 3 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
cp .pwa/favicon-$build_prefix.ico public/img/favicon.ico
4444
rm public/manifest.webmanifest
4545
cp .pwa/manifest-$build_prefix.webmanifest public/manifest.webmanifest
46+
cp .pwa/styles-$build_prefix.css src/styles.css
4647

4748
- name: Build the application
4849
env:

.pwa/styles-dev.css

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
/*Fonts*/
2+
@font-face {
3+
font-family: 'Kalam';
4+
src: url('/CheemsBonkGame/development/fonts/Kalam-Regular.ttf') format('truetype');
5+
}
6+
7+
/*App*/
8+
html {
9+
user-select: none;
10+
font-family: Kalam, Arial, Helvetica, sans-serif;
11+
}
12+
.icon {
13+
height: 100%;
14+
width: auto;
15+
}
16+
17+
/*Accesibility*/
18+
.text-normal {
19+
font-size: 14pt;
20+
}
21+
.text-big {
22+
font-size: 18pt;
23+
}
24+
.text-bigger {
25+
font-size: 24pt;
26+
}
27+
.text-small {
28+
font-size: 12pt;
29+
}
30+
.text-smaller {
31+
font-size: 8pt;
32+
}
33+
34+
.color-text.theme-contrast {
35+
color: rgb(255, 255, 0);
36+
}
37+
.color-text.theme-dark {
38+
color: rgb(145, 145, 72);
39+
}
40+
.color-text.theme-light {
41+
color: rgb(194, 194, 72);
42+
}

.pwa/styles-prod.css

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
/*Fonts*/
2+
@font-face {
3+
font-family: 'Kalam';
4+
src: url('/CheemsBonkGame/app/fonts/Kalam-Regular.ttf') format('truetype');
5+
}
6+
7+
/*App*/
8+
html {
9+
user-select: none;
10+
font-family: Kalam, Arial, Helvetica, sans-serif;
11+
}
12+
.icon {
13+
height: 100%;
14+
width: auto;
15+
}
16+
17+
/*Accesibility*/
18+
.text-normal {
19+
font-size: 14pt;
20+
}
21+
.text-big {
22+
font-size: 18pt;
23+
}
24+
.text-bigger {
25+
font-size: 24pt;
26+
}
27+
.text-small {
28+
font-size: 12pt;
29+
}
30+
.text-smaller {
31+
font-size: 8pt;
32+
}
33+
34+
.color-text.theme-contrast {
35+
color: rgb(255, 255, 0);
36+
}
37+
.color-text.theme-dark {
38+
color: rgb(145, 145, 72);
39+
}
40+
.color-text.theme-light {
41+
color: rgb(194, 194, 72);
42+
}

.pwa/styles-test.css

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
/*Fonts*/
2+
@font-face {
3+
font-family: 'Kalam';
4+
src: url('/CheemsBonkGame/test/fonts/Kalam-Regular.ttf') format('truetype');
5+
}
6+
7+
/*App*/
8+
html {
9+
user-select: none;
10+
font-family: Kalam, Arial, Helvetica, sans-serif;
11+
}
12+
.icon {
13+
height: 100%;
14+
width: auto;
15+
}
16+
17+
/*Accesibility*/
18+
.text-normal {
19+
font-size: 14pt;
20+
}
21+
.text-big {
22+
font-size: 18pt;
23+
}
24+
.text-bigger {
25+
font-size: 24pt;
26+
}
27+
.text-small {
28+
font-size: 12pt;
29+
}
30+
.text-smaller {
31+
font-size: 8pt;
32+
}
33+
34+
.color-text.theme-contrast {
35+
color: rgb(255, 255, 0);
36+
}
37+
.color-text.theme-dark {
38+
color: rgb(145, 145, 72);
39+
}
40+
.color-text.theme-light {
41+
color: rgb(194, 194, 72);
42+
}
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
.container {
2-
background-color: ;
3-
}

0 commit comments

Comments
 (0)