Skip to content

Commit

Permalink
changed public path
Browse files Browse the repository at this point in the history
  • Loading branch information
Ratatinator97 committed Mar 14, 2024
1 parent 80d60a0 commit 46b0e5f
Show file tree
Hide file tree
Showing 7 changed files with 385 additions and 648 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"editor.formatOnSave": true,
"vetur.validation.template": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
},
"editor.tabSize": 2,
"editor.detectIndentation": false,
Expand Down
46 changes: 17 additions & 29 deletions components/navigation/modeModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,45 +3,25 @@
<section class="modal-card-body">
<p class="subtitle centered">{{ $t("AnotherSpace") }}</p>
<div class="option">
<b-button
style="background-color: hsl(0, 100%, 70%)"
class="fullWidth customButton"
:label="$t('MyHome')"
@click="GoToRoot()"
icon-left="home"
/>
<b-button style="background-color: hsl(0, 100%, 70%)" class="fullWidth customButton" :label="$t('MyHome')"
@click="GoToRoot()" icon-left="home" />
</div>
<div class="option">
<b-button
style="background-color: hsl(154, 100%, 70%)"
:label="$t('PublicCollections')"
@click="goTo('/public/')"
icon-left="web"
class="fullWidth customButton"
/>
<b-button style="background-color: hsl(154, 100%, 70%)" :label="$t('PublicCollections')" @click="goTo('/')"
icon-left="web" class="fullWidth customButton" />
</div>
<div class="option">
<b-button
style="background-color: hsl(210, 100%, 70%)"
:label="$t('MyShared')"
@click="goTo(sharedLink)"
icon-left="folder-account"
class="fullWidth customButton"
/>
<b-button style="background-color: hsl(210, 100%, 70%)" :label="$t('MyShared')" @click="goTo(sharedLink)"
icon-left="folder-account" class="fullWidth customButton" />
</div>
<div class="option">
<b-button
style="background-color: hsl(45, 100%, 70%)"
:label="$t('MySidebar')"
@mousedown="goTo(sidebarLink)"
icon-left="page-layout-sidebar-right"
class="fullWidth customButton"
/>
<b-button style="background-color: hsl(45, 100%, 70%)" :label="$t('MySidebar')" @mousedown="goTo(sidebarLink)"
icon-left="page-layout-sidebar-right" class="fullWidth customButton" />
</div>
</section>
</div>
</template>
<script >
<script>
export default {
methods: {
GoToRoot() {
Expand Down Expand Up @@ -96,19 +76,23 @@ export default {
transition: all 0.05s;
margin: 0 2px;
}
.customButton:hover {
box-shadow: 0px 0px 12px #00000090;
}
.buttonBorder {
border: solid;
border-width: 1px;
border-color: #48c78e;
}
.option {
display: flex;
align-items: center;
padding: 0.3em 0;
}
.small-card {
position: fixed;
left: 50%;
Expand All @@ -120,17 +104,21 @@ export default {
min-height: 200px;
border-radius: 12px;
}
.centered {
text-align: center;
}
.fullWidth {
width: 100%;
justify-content: left;
}
.modeButton {
color: white;
border-color: transparent;
}
.modeButton:hover {
color: #f1f1f1;
filter: brightness(1.1);
Expand Down
4 changes: 2 additions & 2 deletions components/navigation/navbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<b-button class="bolder" v-if="!isLogged" @click="openSignUpModal()" type="is-success" outlined>{{
$t("SignUp") }}</b-button>
<b-button v-else type="is-light" icon-right="logout" @click="onLogout" />
<b-button class="bolder" outlined v-if="!isLogged" tag="nuxt-link" to="/public/346" type="is-primary"
<b-button class="bolder" outlined v-if="!isLogged" tag="nuxt-link" to="/346" type="is-primary"
icon-right="arrow-right-box">{{ $t("TryPictalk") }}</b-button>
</div>
</b-navbar-item>
Expand Down Expand Up @@ -103,7 +103,7 @@ export default {
methods: {
searchPicto() {
this.$router.push({
path: `/public/`,
path: `/`,
query: { ...this.$route.query, search: this.search },
});
},
Expand Down
Loading

0 comments on commit 46b0e5f

Please sign in to comment.