forked from epicmaxco/vuestic-admin
-
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.
fix (404 pages) : styles refactor, categories to config, change filter
- Loading branch information
1 parent
4f5b81b
commit cb79cce
Showing
5 changed files
with
245 additions
and
234 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
export default [ | ||
{ | ||
categoryName: 'Forms', | ||
items: [ | ||
{ | ||
itemName: 'Form Elements', | ||
itemLink: './admin/forms/form-elements' | ||
}, | ||
{ | ||
itemName: 'Form Wizards', | ||
itemLink: './admin/forms/form-wizards' | ||
}, | ||
{ | ||
itemName: 'Medium Editor', | ||
itemLink: './admin/forms/medium-editor' | ||
} | ||
], | ||
}, | ||
{ | ||
categoryName: 'Maps', | ||
items: [ | ||
{ | ||
itemName: 'Google Maps', | ||
itemLink: './admin/maps/google-maps' | ||
}, | ||
{ | ||
itemName: 'Yandex Maps', | ||
itemLink: './admin/maps/yandex-maps' | ||
}, | ||
{ | ||
itemName: 'Leaflet Maps', | ||
itemLink: './admin/maps/leaflet-maps' | ||
}, | ||
{ | ||
itemName: 'Bubble Maps', | ||
itemLink: './admin/maps/bubble-maps' | ||
}, | ||
{ | ||
itemName: 'Line Maps', | ||
itemLink: './admin/maps/line-maps' | ||
} | ||
], | ||
}, | ||
{ | ||
categoryName: 'Dashboard', | ||
items: [ | ||
{ | ||
itemName: 'Dashboard', | ||
itemLink: './admin/dashboard' | ||
} | ||
] | ||
}, | ||
{ | ||
categoryName: 'UI Elements', | ||
items: [ | ||
{ | ||
itemName: 'Typography', | ||
itemLink: './admin/ui/typography' | ||
}, | ||
{ | ||
itemName: 'Buttons', | ||
itemLink: './admin/ui/buttons' | ||
}, | ||
{ | ||
itemName: 'Color Pickers', | ||
itemLink: './admin/ui/color-pickers' | ||
}, | ||
{ | ||
itemName: 'Notifications', | ||
itemLink: './admin/ui/notifications' | ||
}, | ||
{ | ||
itemName: 'Icons', | ||
itemLink: './admin/ui/icons' | ||
}, | ||
{ | ||
itemName: 'Spinners', | ||
itemLink: './admin/ui/spinners' | ||
}, | ||
{ | ||
itemName: 'Grid', | ||
itemLink: './admin/ui/grid' | ||
}, | ||
{ | ||
itemName: 'Modals', | ||
itemLink: './admin/ui/modals' | ||
}, | ||
{ | ||
itemName: 'File Upload', | ||
itemLink: './admin/ui/file-upload' | ||
}, | ||
{ | ||
itemName: 'Tree View', | ||
itemLink: './admin/ui/tree-view' | ||
} | ||
] | ||
}, | ||
{ | ||
categoryName: 'Auth', | ||
items: [ | ||
{ | ||
itemName: 'Login', | ||
itemLink: './auth/login' | ||
}, | ||
{ | ||
itemName: 'Sign up', | ||
itemLink: './auth/signup' | ||
} | ||
], | ||
}, | ||
{ | ||
categoryName: 'Statistics', | ||
items: [ | ||
{ | ||
itemName: 'Charts', | ||
itemLink: './admin/statistics/charts' | ||
}, | ||
{ | ||
itemName: 'Progress bars', | ||
itemLink: './admin/statistics/progress-bars' | ||
} | ||
] | ||
} | ||
] |
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,33 +1,33 @@ | ||
<template> | ||
<div class="vuestic-page-not-found-large-text"> | ||
<div class="vuestic-page-not-found-custom__content"> | ||
<div class="not-found-wallpaper"> | ||
<div class="vuestic-page-not-found-large-text__content"> | ||
<div class="vuestic-page-not-found-large-text__wallpaper"> | ||
<router-link class="i-vuestic vuestic-page-not-found-large-text__i-vuestic" :to="{path: '/'}"/> | ||
</div> | ||
<div class="not-found-wallpaper"> | ||
<div class="vuestic-page-not-found-large-text__wallpaper"> | ||
<h1 class="vuestic-page-not-found-large-text__number">404</h1> | ||
</div> | ||
<div class="not-found-wallpaper"> | ||
<div class="vuestic-page-not-found-large-text__wallpaper"> | ||
<h3 class="vuestic-page-not-found-large-text__text">The page's gonna fishing.</h3> | ||
</div> | ||
<div class="not-found-wallpaper col-md-12"> | ||
<div class="vuestic-page-not-found-large-text__wallpaper col-md-12"> | ||
<div class="row vuestic-page-not-found-large-text__message"> | ||
<h4 class="vuestic-page-not-found-large-text__text-small">If you fell that it's not right, please send us a message at  </h4> | ||
<a href="mailto:[email protected]">[email protected]</a> | ||
</div> | ||
</div> | ||
<div class="not-found-wallpaper col-md-12"> | ||
<div class="vuestic-page-not-found-large-text__wallpaper col-md-12"> | ||
<router-link :to="{ path: './dashboard' }"> | ||
<button class="btn btn-primary vuestic-page-not-found-large-text__button"> | ||
{{ 'Back to Dashboard' }} | ||
</button> | ||
</router-link> | ||
</div> | ||
</div> | ||
<div class="not-found-wallpaper vuestic-page-not-found-large-text__not-found-wallpaper-sad"> | ||
<div class="vuestic-page-not-found-large-text__wallpaper vuestic-page-not-found-large-text__not-found-wallpaper-sad"> | ||
<img src="https://i.imgur.com/hu80UGU.png" class="vuestic-page-not-found-large-text__sad-image"/> | ||
</div> | ||
<div class="made-by-footer"> | ||
<div class="vuestic-page-not-found-large-text__footer"> | ||
<span> | ||
©2018. Made by   | ||
<a href="http://epicmax.co"> Epicmax</a> | ||
|
@@ -62,8 +62,9 @@ export default { | |
} | ||
&__sad-image { | ||
width: 50%; | ||
height: 100%; | ||
width: 505px; | ||
height: 400px; | ||
bottom: 0; | ||
} | ||
&__text { | ||
|
@@ -72,13 +73,8 @@ export default { | |
} | ||
&__text-small { | ||
font-family: SourceSansPro; | ||
font-size: 16px; | ||
font-weight: normal; | ||
font-style: normal; | ||
font-stretch: normal; | ||
line-height: 1.5; | ||
letter-spacing: normal; | ||
text-align: center; | ||
color: #bbb4b2; | ||
} | ||
|
@@ -89,28 +85,38 @@ export default { | |
&__not-found-wallpaper-sad { | ||
position: absolute; | ||
height: 35%; | ||
overflow: hidden; | ||
height: 40%; | ||
width: 100%; | ||
bottom: 0; | ||
padding-left: 1000px; | ||
padding-left: 80%; | ||
} | ||
.not-found-wallpaper { | ||
&__wallpaper { | ||
background-color: $top-nav-bg; | ||
overflow: hidden; | ||
display: flex; | ||
align-items: flex-start; | ||
justify-content: center; | ||
.i-vuestic { | ||
z-index: 2; | ||
height: $auth-wallpaper-ivuestic-h; | ||
width: 100%; | ||
} | ||
} | ||
&__i-vuestic { | ||
z-index: 2; | ||
height: $auth-wallpaper-ivuestic-h; | ||
width: 100%; | ||
} | ||
@include media-breakpoint-down(xs) { | ||
.vuestic-page-not-found-large-text { | ||
height: $auth-mobile-main-h; | ||
&__sad-image { | ||
width: 360px; | ||
height: 300px; | ||
padding-left: 100px; | ||
bottom: 0; | ||
} | ||
&__number { | ||
font-size: 150px; | ||
} | ||
|
@@ -125,24 +131,20 @@ export default { | |
&__not-found-wallpaper-sad { | ||
padding: 0; | ||
height: 35%; | ||
height: 36%; | ||
} | ||
&__text-small { | ||
font-size: 15px; | ||
} | ||
} | ||
} | ||
.made-by-footer { | ||
&__footer { | ||
display: flex; | ||
color: white; | ||
justify-content: center; | ||
align-items: center; | ||
padding-top: 25px; | ||
padding-bottom: $made-by-footer-pb; | ||
position: absolute; | ||
bottom: 0; | ||
height: calc(#{$layout-padding} + #{$widget-mb}); | ||
width: 100%; | ||
} | ||
} | ||
|
Oops, something went wrong.