Skip to content

Commit

Permalink
Renomeia a app basic para base
Browse files Browse the repository at this point in the history
  • Loading branch information
huogerac committed Jan 21, 2023
1 parent 8a22db3 commit 704d488
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 15 deletions.
2 changes: 1 addition & 1 deletion template/frontend/src/components/AppNavBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<v-app-bar>
<v-app-bar-title>{{ title }}</v-app-bar-title>
<template #append>
<v-btn icon="mdi-heart" :to="{ name: 'basic-home' }"></v-btn>
<v-btn icon="mdi-heart" :to="{ name: 'base-home' }"></v-btn>
<v-btn icon="mdi-magnify"></v-btn>
<v-btn
:prepend-icon="theme === 'light' ? 'mdi-weather-sunny' : 'mdi-weather-night'"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Composables
import EmptyLayout from "@/layouts/default/EmptyLayout.vue"
import HomeView from "@/views/basic/HomeView.vue"
import GetStartedView from "@/views/basic/GetStartedView.vue"
import HomeView from "@/views/base/HomeView.vue"
import GetStartedView from "@/views/base/GetStartedView.vue"

export default [
{
Expand All @@ -10,12 +10,12 @@ export default [
children: [
{
path: "",
name: "basic-home",
name: "base-home",
component: HomeView,
},
{
path: "getstarted",
name: "basic-getstarted",
name: "base-getstarted",
component: GetStartedView,
},
],
Expand Down
6 changes: 3 additions & 3 deletions template/frontend/src/router/index.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { createRouter, createWebHistory } from "vue-router"
import accountsRoutes from "./accounts.routes"
import basicRoutes from "./basic.routes"
import baseRoutes from "./base.routes"
import tasksRoutes from "./tasks.routes"
import Page404View from "@/views/basic/Page404View.vue"
import Page404View from "@/views/base/Page404View.vue"

const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
routes: [
...basicRoutes,
...baseRoutes,
...accountsRoutes,
...tasksRoutes,
{
Expand Down
5 changes: 3 additions & 2 deletions template/frontend/src/views/accounts/LoginView.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<v-container>
<v-row align="center mt-10" no-gutters>
<v-row align="center" class="mt-10" no-gutters>
<v-col cols="12" sm="6" offset-sm="3">
<v-sheet class="pa-2"> <h1>Login</h1> </v-sheet>
<v-form>
Expand All @@ -14,6 +14,7 @@

<v-text-field
v-model="password"
type="password"
label="Password"
prepend-inner-icon="mdi-key-outline"
variant="outlined"
Expand All @@ -36,7 +37,7 @@
rounded="pill"
color="primary"
variant="outlined"
:to="{ name: 'basic-home' }">
:to="{ name: 'base-home' }">
Início
</v-btn>
</v-form>
Expand Down
4 changes: 2 additions & 2 deletions template/frontend/src/views/accounts/LogoutView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
block
color="primary"
variant="outlined"
:to="{ name: 'basic-home' }">
:to="{ name: 'base-home' }">
Início
</v-btn>
</p>
Expand Down Expand Up @@ -49,7 +49,7 @@ export default {
.then(() => {
this.accountsStore.clearLoggedUser()
this.appStore.showSnackbar("Sessão encerrada!", "warning")
this.$router.push({ name: "basic-home" })
this.$router.push({ name: "base-home" })
})
.finally(() => {
this.loading = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
</v-card-text>
<v-card-actions>
<v-spacer />
<v-btn color="primary" :to="{ name: 'basic-home' }"> Início </v-btn>
<v-btn color="primary" :to="{ name: 'base-home' }"> Início </v-btn>
</v-card-actions>
</v-card>
</v-responsive>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<v-col cols="auto">
<v-btn
color="primary"
:to="{ name: 'basic-getstarted' }"
:to="{ name: 'base-getstarted' }"
min-width="228"
rel="noopener noreferrer"
size="x-large"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<v-card-text> Não foi possível achar está página </v-card-text>
<v-card-actions>
<v-spacer />
<v-btn color="primary" :to="{ name: 'basic-home' }"> Início </v-btn>
<v-btn color="primary" :to="{ name: 'base-home' }"> Início </v-btn>
</v-card-actions>
</v-card>
</v-responsive>
Expand Down

0 comments on commit 704d488

Please sign in to comment.