Skip to content

Commit

Permalink
fix (404 pages) : styles refactor, categories to config, change filter
Browse files Browse the repository at this point in the history
  • Loading branch information
vlad-shusterman committed Jul 26, 2018
1 parent 4f5b81b commit cb79cce
Show file tree
Hide file tree
Showing 5 changed files with 245 additions and 234 deletions.
124 changes: 124 additions & 0 deletions src/components/pages/404-pages/CategoriesConfig.js
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'
}
]
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<img src="https://i.imgur.com/wodIng5.png" class="vuestic-page-not-found-custom__custom-image"/>
</div>
<div class="vuestic-page-not-found-custom__wallpaper">
<h3 class="vuestic-page-not-found-custom__text">The page's gonna fishing.</h3>
<h3 class="vuestic-page-not-found-custom__text">The page’s gone fishing.</h3>
</div>
<div class="vuestic-page-not-found-custom__wallpaper col-md-12">
<div class="row vuestic-page-not-found-custom__message">
Expand Down
60 changes: 31 additions & 29 deletions src/components/pages/404-pages/VuesticPageNotFoundLargeText.vue
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 &nbsp</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 &nbsp
<a href="http://epicmax.co"> Epicmax</a>
Expand Down Expand Up @@ -62,8 +62,9 @@ export default {
}
&__sad-image {
width: 50%;
height: 100%;
width: 505px;
height: 400px;
bottom: 0;
}
&__text {
Expand All @@ -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;
}
Expand All @@ -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;
}
Expand All @@ -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%;
}
}
Expand Down
Loading

0 comments on commit cb79cce

Please sign in to comment.