mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-14 18:49:02 +08:00
remove ad
This commit is contained in:
parent
2922a8feaf
commit
2f1b698977
@ -1,7 +0,0 @@
|
||||
<template>
|
||||
<a class="ad" href="https://scrumpy.io/" target="_blank">
|
||||
<img class="ad__image" src="https://drop.philipp-kuehn.com/7RIu3ptVUQ.png" alt="Scrumpy. Agile, Made Simple. Get Started." />
|
||||
</a>
|
||||
</template>
|
||||
|
||||
<style lang="scss" src="./style.scss" scoped></style>
|
@ -1,42 +0,0 @@
|
||||
@import "~variables";
|
||||
|
||||
.ad {
|
||||
display: block;
|
||||
padding: 1rem;
|
||||
transition: 0.2s transform;
|
||||
margin: 3rem auto 0 auto;
|
||||
width: 15rem;
|
||||
|
||||
@media (min-width: 1020px) {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
&__image {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
border-radius: 5px;
|
||||
overflow: hidden;
|
||||
transition: 0.2s box-shadow;
|
||||
box-shadow:
|
||||
0 2px 4px 0 rgba(black, 0.05),
|
||||
0 2px 10px 0 rgba(black, 0.07)
|
||||
;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
transform: translateY(-5px);
|
||||
}
|
||||
|
||||
&:hover &__image {
|
||||
box-shadow:
|
||||
0 2px 1px 0 rgba(black, 0.07),
|
||||
0 5px 20px 0 rgba(black, 0.06),
|
||||
0 8px 40px 0 rgba(black, 0.04)
|
||||
;
|
||||
}
|
||||
|
||||
}
|
@ -20,8 +20,6 @@
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<ad />
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@ -30,7 +28,6 @@ import Navigation from 'Components/Navigation'
|
||||
import Hero from 'Components/Hero'
|
||||
import Subnavigation from 'Components/Subnavigation'
|
||||
import Icon from 'Components/Icon'
|
||||
import Ad from 'Components/Ad'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
@ -38,7 +35,6 @@ export default {
|
||||
Hero,
|
||||
Subnavigation,
|
||||
Icon,
|
||||
Ad,
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user