Merge pull request #14 from dderbentsov/UC-1
Изменена архитектура проекта
This commit is contained in:
12
src/App.vue
12
src/App.vue
@@ -7,8 +7,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import TheHeader from "@/components/theComponents/TheHeader";
|
import TheHeader from "@/components/TheHeader";
|
||||||
import TheSidebar from "@/components/theComponents/TheSidebar";
|
import TheSidebar from "@/components/TheSidebar";
|
||||||
export default {
|
export default {
|
||||||
name: 'App',
|
name: 'App',
|
||||||
components: {TheHeader, TheSidebar}
|
components: {TheHeader, TheSidebar}
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="sass">
|
<style lang="sass">
|
||||||
#app
|
#app
|
||||||
height: 100%
|
height: 100%
|
||||||
width: 100%
|
width: 100%
|
||||||
font-family: Raleway, sans-serif
|
font-family: Raleway, sans-serif
|
||||||
@@ -24,16 +24,16 @@
|
|||||||
font-feature-settings: 'pnum' on, 'lnum' on
|
font-feature-settings: 'pnum' on, 'lnum' on
|
||||||
-webkit-font-smoothing: antialiased
|
-webkit-font-smoothing: antialiased
|
||||||
-moz-osx-font-smoothing: grayscale
|
-moz-osx-font-smoothing: grayscale
|
||||||
.pages-container
|
.pages-container
|
||||||
display: flex
|
display: flex
|
||||||
flex: auto
|
flex: auto
|
||||||
.app-container
|
.app-container
|
||||||
height: 100%
|
height: 100%
|
||||||
width: 100%
|
width: 100%
|
||||||
row-gap: 8px
|
row-gap: 8px
|
||||||
display: flex
|
display: flex
|
||||||
flex-direction: column
|
flex-direction: column
|
||||||
body
|
body
|
||||||
background-color: var(--bg-lavender-color)
|
background-color: var(--bg-lavender-color)
|
||||||
margin: 0
|
margin: 0
|
||||||
padding: 0
|
padding: 0
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="sass">
|
<style lang="sass" scoped>
|
||||||
.button-icon-item
|
.button-icon-item
|
||||||
width: fit-content
|
width: fit-content
|
||||||
padding: 12px 16px 12px 12px
|
padding: 12px 16px 12px 12px
|
||||||
@@ -31,7 +31,7 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang='sass'>
|
<style lang='sass' scoped>
|
||||||
input
|
input
|
||||||
padding: 0
|
padding: 0
|
||||||
|
|
||||||
@@ -119,7 +119,7 @@
|
|||||||
-moz-appearance: none
|
-moz-appearance: none
|
||||||
-ms-appearance: none
|
-ms-appearance: none
|
||||||
appearance: none
|
appearance: none
|
||||||
background: url(../../assets/icons/down-arrow-1.svg) no-repeat right top 4px
|
background: url(@/assets/icons/down-arrow-1.svg) no-repeat right top 4px
|
||||||
overflow: hidden
|
overflow: hidden
|
||||||
margin-right: 16px
|
margin-right: 16px
|
||||||
padding: 2px 20px 2px 30px
|
padding: 2px 20px 2px 30px
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import TheButtonSidebar from "@/components/theComponents/TheButtonSidebar";
|
import TheButtonSidebar from "@/components/TheButtonSidebar";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "SidebarComponent",
|
name: "SidebarComponent",
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="sass">
|
<style lang="sass" scoped>
|
||||||
#person
|
#person
|
||||||
font-style: normal
|
font-style: normal
|
||||||
.sidebar-container
|
.sidebar-container
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="sass">
|
<style lang="sass" scoped>
|
||||||
.add-button-event
|
.add-button-event
|
||||||
outline: none
|
outline: none
|
||||||
border: none
|
border: none
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="sass">
|
<style lang="sass" scoped>
|
||||||
.button-plus
|
.button-plus
|
||||||
outline: none
|
outline: none
|
||||||
border: none
|
border: none
|
||||||
@@ -3,9 +3,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import FormAddEvent from "@/components/pages/calendarPages/FormAddEvent";
|
import FormAddEvent from './components/FormAddEvent.vue';
|
||||||
export default {
|
export default {
|
||||||
name: "CalendarPages",
|
name: "TheCalendar",
|
||||||
components: {FormAddEvent}
|
components: {FormAddEvent}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@@ -54,8 +54,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import AddEventButton from "@/components/baseComponents/buttons/AddEventButton";
|
import AddEventButton from "@/components/base/buttons/AddEventButton";
|
||||||
import ButtonPlus from "@/components/baseComponents/buttons/ButtonPlus";
|
import ButtonPlus from "@/components/base/buttons/ButtonPlus";
|
||||||
export default {
|
export default {
|
||||||
name: "FormChangeEvent",
|
name: "FormChangeEvent",
|
||||||
components: {AddEventButton, ButtonPlus},
|
components: {AddEventButton, ButtonPlus},
|
||||||
@@ -118,7 +118,7 @@ export default {
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="sass">
|
<style lang="sass" scoped>
|
||||||
.event-form-change
|
.event-form-change
|
||||||
position: relative
|
position: relative
|
||||||
display: flex
|
display: flex
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<template lang="pug">
|
<template lang="pug">
|
||||||
div HomePages
|
div HomePage
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
name: "HomePages"
|
name: "TheHome"
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<template lang="pug">
|
<template lang="pug">
|
||||||
div SettingsPages
|
div SettingsPage
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
name: "SettingsPages"
|
name: "TheSettings"
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<template lang="pug">
|
<template lang="pug">
|
||||||
div UserPages
|
div UserPage
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
name: "UserPages"
|
name: "TheUser"
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@@ -1,15 +1,15 @@
|
|||||||
import {createRouter, createWebHashHistory} from "vue-router";
|
import {createRouter, createWebHashHistory} from "vue-router";
|
||||||
import HomePages from "./components/pages/homePages/HomePages.vue";
|
import TheHome from "@/pages/home/TheHome.vue";
|
||||||
import CalendarPages from "./components/pages/calendarPages/CalendarPages.vue";
|
import TheCalendar from "@/pages/calendar/TheCalendar";
|
||||||
import UserPages from "./components/pages/userPages/UserPages.vue";
|
import TheUser from "@/pages/user/TheUser";
|
||||||
import SettingsPages from "./components/pages/settingsPages/SettingsPages.vue";
|
import TheSettings from "@/pages/settings/TheSettings";
|
||||||
|
|
||||||
export default createRouter({
|
export default createRouter({
|
||||||
history: createWebHashHistory(),
|
history: createWebHashHistory(),
|
||||||
routes: [
|
routes: [
|
||||||
{ path: "/", component: HomePages },
|
{ path: "/", component: TheHome },
|
||||||
{ path: "/calendar", component: CalendarPages },
|
{ path: "/calendar", component: TheCalendar },
|
||||||
{ path: "/user", component: UserPages },
|
{ path: "/user", component: TheUser },
|
||||||
{ path: "/settings", component: SettingsPages }
|
{ path: "/settings", component: TheSettings }
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user