This repository has been archived by the owner on May 14, 2022. It is now read-only.
-
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.
Merge pull request #26 from Sybit-Education/main
main --> dev, wrong branch
- Loading branch information
Showing
12 changed files
with
379 additions
and
85 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,31 @@ | ||
<template> | ||
<div id="app" class="container"> | ||
<div id="app"> | ||
<sitenav /> | ||
<div class="container" :class="{'main-container': showNavbar}"> | ||
<router-view/> | ||
<notifications group="error" position="top center"/> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import sitenav from '@/components/base/Sitenav' | ||
export default { | ||
components: { | ||
sitenav | ||
}, | ||
computed: { | ||
showNavbar () { | ||
return this.$route.meta.displayNavbar ?? true | ||
} | ||
} | ||
} | ||
</script> | ||
<style lang="sass" scoped> | ||
@import 'assets/variables' | ||
.main-container | ||
margin-left: $sitenav-size | ||
width: auto | ||
</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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,5 @@ | ||
// colors: | ||
$primary: #b51683 | ||
|
||
//layout | ||
$sitenav-size: 200px |
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,57 @@ | ||
<template> | ||
<div> | ||
<b-card | ||
:img-src="this.imgLink" | ||
img-alt="Card Image" | ||
img-height="200" | ||
:title="this.title" | ||
class="card my-4" | ||
@click="router()" | ||
> | ||
<b-card-text> | ||
{{text}} | ||
</b-card-text> | ||
</b-card> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
props: { | ||
title: { | ||
type: String, | ||
default: 'title' | ||
}, | ||
text: { | ||
type: String, | ||
default: 'text' | ||
}, | ||
link: { | ||
type: String, | ||
default: 'link' | ||
}, | ||
imgLink: { | ||
type: String, | ||
default: '' | ||
} | ||
}, | ||
methods: { | ||
router () { | ||
this.$router.push(this.link) | ||
} | ||
} | ||
} | ||
</script> | ||
|
||
<style scoped> | ||
.card { | ||
transition: box-shadow .2s ; | ||
transition: all .2s ease; | ||
} | ||
.card:hover { | ||
transform: scale(1.03); | ||
transition: all .2s ease; | ||
box-shadow: 0 0 30px rgba(33,33,33,.2); | ||
cursor: pointer; | ||
} | ||
</style> |
Oops, something went wrong.