Skip to content

Commit

Permalink
feat(deploy): Deploy app in firebase and fix some troubles found duri…
Browse files Browse the repository at this point in the history
…ng this
  • Loading branch information
NyraSama committed Feb 12, 2024
1 parent bc3dfbb commit a8245fa
Show file tree
Hide file tree
Showing 13 changed files with 4,509 additions and 10 deletions.
4,464 changes: 4,464 additions & 0 deletions .firebase/hosting..cache

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions .firebase/hosting.ZGlzdA.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
404.html,1707490124563,d9425c16bb16ae1d47f4418eb1e94d8caabe930fb269154df554d09573d80cb5
favicon.ico,1707489975594,642f1aaa9a48d91d01009c5d59bf43b000ac928f2087032988c612cfc9a0ffcf
index.html,1707489975754,f71816102f8c181e5356b2a4e86eedffa632944fd2f4e6b330280b09733ef624
assets/background-zxbUyEDC.png,1707489975754,21491117a988ab2a35192e617e1d1b3bc6e09907951cb82916512cfd170dbdd8
assets/fireman-helmet-Ukc3N7ug.png,1707489975754,f8c2804ac98abb8be17dab1f4c198cf379a3122e19b82a898bf919a55c6c12b3
assets/google-logo-7SJOUJsJ.png,1707489975754,f56e9879d41f269f2bb757924c931fff5bd22ed1b6ec2563327125f872e34312
assets/index-Sp_CHkP0.css,1707489975754,18dbee90a44aac1aff9f5e22b8d01f4049d087408b834e106631adff7c309ef4
assets/index-lNMBsl6H.js,1707489975754,c73429f9cf50d0f1f95ce9b9f11af7f9dadc25d5c6561ac03beaa50e12ff2989
assets/logo-FNuJ5V5l.png,1707489975754,c7e4655162bd792eb336d1d9c9ef1dc162a5be24ea5651694f354d2732d5262d
5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "udsp59"
}
}
6 changes: 6 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"hosting": {
"public": "dist",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"]
}
}
14 changes: 7 additions & 7 deletions src/components/AccountCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -97,16 +97,16 @@ function editAccount(id: string, attribute: string, value: any) {
position: relative;
margin-bottom: 0.5rem;
& img[src*="user"] {
& img {
height: 4rem;
width: 4rem;
}
& img[src*="fireman"] {
height: 2.8rem;
width: 3.3rem;
position: absolute;
top: -1.6rem;
&[src*="fireman"] {
height: 2.8rem;
width: 3.3rem;
position: absolute;
top: -1.6rem;
}
}
}
Expand Down
4 changes: 4 additions & 0 deletions src/views/AccountsView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ onMounted(async () => {
class="accounts-view"
v-else
>
<div v-if="dataStore.accountsEdited.size == 0">
<p>Aucun compte pour le moment.</p>
</div>
<AccountCard
v-else
v-for="[id, account] in dataStore.accountsEdited"
:key="id"
:id="id"
Expand Down
4 changes: 2 additions & 2 deletions src/views/LoginView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ main.login-view {
background-position: center;
background-size: cover;
text-align: center;
flex: 1.5;
width: 58%;
display: flex;
justify-content: center;
align-items: center;
Expand All @@ -76,7 +76,7 @@ main.login-view {
}
& section:last-child {
flex: 1;
width: 42%;
display: flex;
flex-direction: column;
justify-content: center;
Expand Down
4 changes: 4 additions & 0 deletions src/views/ModulesView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ onMounted(async () => {
<template>
<AppLoader v-if="isLoading" />
<main v-else>
<div v-if="dataStore.getSortedModules().length == 0">
<p>Aucun module pour le moment.</p>
</div>
<ModuleCard
v-else
v-for="module in dataStore.getSortedModules()"
:key="module.id"
:id="module.id"
Expand Down
2 changes: 1 addition & 1 deletion src/views/PageView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ main.page-view {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
align-items: center;
align-content: flex-start;
gap: 1.5rem;
width: 100%;
Expand Down
4 changes: 4 additions & 0 deletions src/views/TipsView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ onMounted(async () => {
class="tips-view"
v-else
>
<div v-if="dataStore.tipsEdited.length == 0">
<p>Aucune astuce pour le moment.</p>
</div>
<TipCard
v-else
v-for="(tip, index) in dataStore.tipsEdited"
:key="index"
:index="index"
Expand Down
1 change: 1 addition & 0 deletions tsconfig.app.tsbuildinfo

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions tsconfig.node.tsbuildinfo

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions tsconfig.vitest.tsbuildinfo

Large diffs are not rendered by default.

0 comments on commit a8245fa

Please sign in to comment.