mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-19 00:22:15 +00:00
added prettier
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="page-wrapper large hero-screenshot">
|
||||
<img class="hero-light" src="/assets/images/vuefilemanager-screenshot-light.png" :alt="config.app_name">
|
||||
<img class="hero-dark" src="/assets/images/vuefilemanager-screenshot-dark.png" :alt="config.app_name">
|
||||
<img class="hero-light" src="/assets/images/vuefilemanager-screenshot-light.png" :alt="config.app_name" />
|
||||
<img class="hero-dark" src="/assets/images/vuefilemanager-screenshot-dark.png" :alt="config.app_name" />
|
||||
|
||||
<div class="icons">
|
||||
<link-icon size="20" class="icon"></link-icon>
|
||||
@@ -22,8 +22,12 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mapGetters } from 'vuex'
|
||||
import {
|
||||
import { mapGetters } from 'vuex'
|
||||
import { FolderPlusIcon, HardDriveIcon, SettingsIcon, Trash2Icon, SearchIcon, ImageIcon, GridIcon, LinkIcon, StarIcon, EyeIcon } from 'vue-feather-icons'
|
||||
|
||||
export default {
|
||||
name: 'IndexHeroScreenshot',
|
||||
components: {
|
||||
FolderPlusIcon,
|
||||
HardDriveIcon,
|
||||
SettingsIcon,
|
||||
@@ -34,193 +38,179 @@
|
||||
LinkIcon,
|
||||
StarIcon,
|
||||
EyeIcon,
|
||||
} from 'vue-feather-icons'
|
||||
|
||||
export default {
|
||||
name: 'IndexHeroScreenshot',
|
||||
components: {
|
||||
FolderPlusIcon,
|
||||
HardDriveIcon,
|
||||
SettingsIcon,
|
||||
Trash2Icon,
|
||||
SearchIcon,
|
||||
ImageIcon,
|
||||
GridIcon,
|
||||
LinkIcon,
|
||||
StarIcon,
|
||||
EyeIcon,
|
||||
},
|
||||
computed: {
|
||||
...mapGetters(['config']),
|
||||
},
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
...mapGetters(['config']),
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import '../../../sass/vuefilemanager/landing-page';
|
||||
@import '../../../sass/vuefilemanager/variables';
|
||||
@import '../../../sass/vuefilemanager/mixins';
|
||||
@import '../../../sass/vuefilemanager/landing-page';
|
||||
@import '../../../sass/vuefilemanager/variables';
|
||||
@import '../../../sass/vuefilemanager/mixins';
|
||||
|
||||
.icons {
|
||||
.icons {
|
||||
.icon {
|
||||
z-index: 0;
|
||||
position: absolute;
|
||||
|
||||
.icon {
|
||||
z-index: 0;
|
||||
position: absolute;
|
||||
&:nth-child(1) {
|
||||
top: -14%;
|
||||
right: 2%;
|
||||
}
|
||||
|
||||
&:nth-child(1) {
|
||||
top: -14%;
|
||||
right: 2%;
|
||||
}
|
||||
&:nth-child(2) {
|
||||
top: -5%;
|
||||
right: 14%;
|
||||
transform: rotate(19deg);
|
||||
}
|
||||
|
||||
&:nth-child(2) {
|
||||
top: -5%;
|
||||
right: 14%;
|
||||
transform: rotate(19deg);
|
||||
}
|
||||
&:nth-child(3) {
|
||||
top: -6.5%;
|
||||
right: 28.5%;
|
||||
transform: rotate(-12deg);
|
||||
|
||||
&:nth-child(3) {
|
||||
top: -6.5%;
|
||||
right: 28.5%;
|
||||
transform: rotate(-12deg);
|
||||
|
||||
line, path {
|
||||
stroke: $theme;
|
||||
}
|
||||
}
|
||||
|
||||
&:nth-child(4) {
|
||||
top: -9.5%;
|
||||
right: 41.5%;
|
||||
transform: rotate(13deg);
|
||||
|
||||
path, line {
|
||||
stroke: $yellow;
|
||||
}
|
||||
}
|
||||
|
||||
&:nth-child(5) {
|
||||
top: -16%;
|
||||
right: 26%;
|
||||
|
||||
circle, path {
|
||||
stroke: $red;
|
||||
}
|
||||
}
|
||||
|
||||
&:nth-child(6) {
|
||||
top: -13%;
|
||||
right: 49%;
|
||||
}
|
||||
|
||||
&:nth-child(7) {
|
||||
top: 2.5%;
|
||||
right: 46%;
|
||||
|
||||
polygon {
|
||||
stroke: $purple;
|
||||
}
|
||||
}
|
||||
|
||||
&:nth-child(8) {
|
||||
top: 13%;
|
||||
right: 2.5%;
|
||||
transform: rotate(22deg);
|
||||
|
||||
polyline, path, line {
|
||||
stroke: $red;
|
||||
}
|
||||
}
|
||||
|
||||
&:nth-child(9) {
|
||||
top: 14%;
|
||||
right: 11%;
|
||||
|
||||
circle, line {
|
||||
stroke: $purple;
|
||||
}
|
||||
}
|
||||
|
||||
&:nth-child(10) {
|
||||
top: 29%;
|
||||
right: 7%;
|
||||
transform: rotate(19deg);
|
||||
}
|
||||
|
||||
&:nth-child(11) {
|
||||
top: 38%;
|
||||
right: 3%;
|
||||
|
||||
polygon {
|
||||
stroke: $yellow;
|
||||
}
|
||||
}
|
||||
|
||||
&:nth-child(12) {
|
||||
top: 50%;
|
||||
right: 11.5%;
|
||||
transform: rotate(-22deg);
|
||||
}
|
||||
|
||||
&:nth-child(13) {
|
||||
top: 34%;
|
||||
right: 16%;
|
||||
transform: rotate(13deg);
|
||||
|
||||
rect {
|
||||
stroke: $theme;
|
||||
}
|
||||
line,
|
||||
path {
|
||||
stroke: $theme;
|
||||
}
|
||||
}
|
||||
|
||||
&:nth-child(4) {
|
||||
top: -9.5%;
|
||||
right: 41.5%;
|
||||
transform: rotate(13deg);
|
||||
|
||||
path,
|
||||
line {
|
||||
stroke: $yellow;
|
||||
}
|
||||
}
|
||||
|
||||
&:nth-child(5) {
|
||||
top: -16%;
|
||||
right: 26%;
|
||||
|
||||
circle,
|
||||
path {
|
||||
stroke: $red;
|
||||
}
|
||||
}
|
||||
|
||||
&:nth-child(6) {
|
||||
top: -13%;
|
||||
right: 49%;
|
||||
}
|
||||
|
||||
&:nth-child(7) {
|
||||
top: 2.5%;
|
||||
right: 46%;
|
||||
|
||||
polygon {
|
||||
stroke: $purple;
|
||||
}
|
||||
}
|
||||
|
||||
&:nth-child(8) {
|
||||
top: 13%;
|
||||
right: 2.5%;
|
||||
transform: rotate(22deg);
|
||||
|
||||
polyline,
|
||||
path,
|
||||
line {
|
||||
stroke: $red;
|
||||
}
|
||||
}
|
||||
|
||||
&:nth-child(9) {
|
||||
top: 14%;
|
||||
right: 11%;
|
||||
|
||||
circle,
|
||||
line {
|
||||
stroke: $purple;
|
||||
}
|
||||
}
|
||||
|
||||
&:nth-child(10) {
|
||||
top: 29%;
|
||||
right: 7%;
|
||||
transform: rotate(19deg);
|
||||
}
|
||||
|
||||
&:nth-child(11) {
|
||||
top: 38%;
|
||||
right: 3%;
|
||||
|
||||
polygon {
|
||||
stroke: $yellow;
|
||||
}
|
||||
}
|
||||
|
||||
&:nth-child(12) {
|
||||
top: 50%;
|
||||
right: 11.5%;
|
||||
transform: rotate(-22deg);
|
||||
}
|
||||
|
||||
&:nth-child(13) {
|
||||
top: 34%;
|
||||
right: 16%;
|
||||
transform: rotate(13deg);
|
||||
|
||||
rect {
|
||||
stroke: $theme;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.hero-screenshot {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
padding-top: 75px;
|
||||
padding-bottom: 130px;
|
||||
|
||||
img {
|
||||
border-radius: 8px;
|
||||
width: 80%;
|
||||
box-shadow: 0 7px 255px rgba(#19363c, 0.1);
|
||||
|
||||
&.hero-dark {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 890px) {
|
||||
.icons {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.hero-screenshot {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
padding-top: 75px;
|
||||
padding-bottom: 130px;
|
||||
padding-top: 40px;
|
||||
padding-bottom: 90px;
|
||||
|
||||
img {
|
||||
border-radius: 8px;
|
||||
width: 80%;
|
||||
box-shadow: 0 7px 255px rgba(#19363C, 0.1);
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.hero-dark {
|
||||
.dark {
|
||||
.hero-screenshot {
|
||||
img {
|
||||
&.hero-light {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 890px) {
|
||||
|
||||
.icons {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.hero-screenshot {
|
||||
padding-top: 40px;
|
||||
padding-bottom: 90px;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.dark {
|
||||
|
||||
.hero-screenshot {
|
||||
|
||||
img {
|
||||
|
||||
&.hero-light {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&.hero-dark {
|
||||
display: block;
|
||||
box-shadow: 0 7px 185px rgba(0, 0, 0, 0.8);
|
||||
}
|
||||
&.hero-dark {
|
||||
display: block;
|
||||
box-shadow: 0 7px 185px rgba(0, 0, 0, 0.8);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user