-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
472 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,3 @@ | ||
<template> | ||
<nav> | ||
<router-link to="/">Home</router-link> | | ||
<router-link to="/about">About</router-link> | ||
</nav> | ||
<router-view/> | ||
</template> | ||
|
||
<style> | ||
#app { | ||
font-family: Avenir, Helvetica, Arial, sans-serif; | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
text-align: center; | ||
color: #2c3e50; | ||
} | ||
nav { | ||
padding: 30px; | ||
} | ||
nav a { | ||
font-weight: bold; | ||
color: #2c3e50; | ||
} | ||
nav a.router-link-exact-active { | ||
color: #42b983; | ||
} | ||
</style> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
import { createApp } from 'vue' | ||
import App from './App.vue' | ||
import router from './router' | ||
import store from './store' | ||
|
||
createApp(App).use(router).mount('#app') | ||
import './styles/styles.scss' | ||
|
||
createApp(App).use(store).use(router).mount('#app') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<template> | ||
<div> | ||
<div class="entry-container mb-3 pointer p-2" @click="$router.push({name: 'entry', params: {id: '1s5a1s5a8s7arfg54s4a5'}})"> | ||
<!-- titulo--> | ||
<div class="entry-title d-flex"> | ||
<span class="text-success fs-5 fw-bold">01</span> | ||
<span class="mx-1 fs-5">Agosto</span> | ||
<span class="mx-2 fw-light">2022, lunes</span> | ||
</div> | ||
<div class="entry-description"> | ||
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Neque blanditiis dicta excepturi at alias provident sequi labore iusto magnam dolorem, fugit saepe molestiae recusandae laboriosam eum. Nesciunt pariatur ex facilis. | ||
</div> | ||
</div> | ||
</div> | ||
</template> | ||
<script> | ||
export default { | ||
} | ||
</script> | ||
<style lang="scss" scoped> | ||
.entry-container{ | ||
border-bottom: 1px solid #2c3e50; | ||
transition: 0.2s all ease-in; | ||
&:hover{ | ||
background-color: lighten($color: grey, $amount: 45); | ||
transition: 0.2s all ease-in; | ||
} | ||
.entry-description{ | ||
font-size: 14px; | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<template> | ||
<div> | ||
<div class="entry-list-container"> | ||
<div class="px-2 pt-2"> | ||
<input type="text" class="form-control" placeholder="Buscar entrada"> | ||
</div> | ||
<div class="entry-scrollarea"> | ||
<span> | ||
<Entry v-for="items in 25" :key="items" /> | ||
</span> | ||
</div> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import { defineAsyncComponent } from 'vue' | ||
export default { | ||
components:{ | ||
Entry: defineAsyncComponent(()=>import('./Entry.vue')) | ||
} | ||
} | ||
</script> | ||
|
||
<style lang="scss" scoped> | ||
.entry-list-container{ | ||
border-right: 1px solid #2c3e50; | ||
height: calc(100vh - 56px); | ||
} | ||
.entry-scrollarea{ | ||
height: calc(100vh - 110px); | ||
overflow: scroll; | ||
} | ||
</style> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<template> | ||
<div> | ||
<button class="btn btn-primary"> | ||
<i class="fa fa-2x" :class="icon"></i> | ||
</button> | ||
</div> | ||
</template> | ||
<script> | ||
export default { | ||
props: { | ||
icon:{ | ||
type: String, | ||
default: 'fa-plus' | ||
} | ||
} | ||
} | ||
</script> | ||
<style lang="scss" scoped> | ||
button{ | ||
position: fixed; | ||
bottom: 20px; | ||
right: 20px; | ||
width: 80px; | ||
height: 80px; | ||
border-radius: 100% | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<template> | ||
<div> | ||
<nav class="navbar bg-primary"> | ||
<a href="" class="navbar-brand text-white"> | ||
<img src="@/assets/logo.png" alt="Vue-logo" class="d-inline-block align-text-top mx-2" height="24"> | ||
Dayboot | ||
</a> | ||
<div class="d-flex"> | ||
<button class="btn btn-outline-info"> | ||
<i class="fa fa-sign-out-alt"></i> | ||
</button> | ||
</div> | ||
</nav> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<template> | ||
<div> | ||
<Navbar /> | ||
<div class="d-flex"> | ||
<div class="col-4"> | ||
<EntryList /> | ||
</div> | ||
<div class="col"> | ||
<router-view /> | ||
</div> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import {defineAsyncComponent} from 'vue' | ||
export default{ | ||
components: { | ||
Navbar: defineAsyncComponent(()=>import('../components/Navbar.vue')), | ||
EntryList: defineAsyncComponent(()=>import('../components/EntryList.vue')) | ||
} | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
export default { | ||
name: 'dayboot', | ||
component: () => import(/* webpackChunkName: "dayboot" */ '@/modules/daybook/layouts/DayBootLayout.vue'), | ||
children: [ | ||
{ | ||
path: '', | ||
name: 'no-entry', | ||
component: () => import(/* webpackChunkName: "no-entry" */ '@/modules/daybook/views/NoEntrySelected.vue') | ||
}, | ||
{ | ||
path: ':id', | ||
name: 'entry', | ||
component: () => import(/* webpackChunkName: "no-entry" */ '@/modules/daybook/views/EntryView.vue') | ||
} | ||
] | ||
} |
Oops, something went wrong.