feat(copyright): final component

This commit is contained in:
Julien
2018-09-09 18:58:41 +02:00
parent a56a5c800a
commit b5c448f697
7 changed files with 160 additions and 8 deletions

View File

@@ -4,8 +4,14 @@
<template lang="pug">
.c-index
h2(
img(
src="/images/common/logo.png"
srcset="/images/common/logo@2x.png"
class="c-index__logo"
)
p(
v-html="description"
class="c-index__description"
)
</template>
@@ -19,7 +25,7 @@ export default {
return {
description: `
Awesome cheatsheets for popular programming languages, frameworks and development tools.<br/>
They include everything you should know in one single file. 🤓👌
They include everything you should know in one single file. 👩‍💻👨‍💻
`
};
}
@@ -30,4 +36,21 @@ export default {
STYLE
************************************************************************* -->
<style lang="scss"></style>
<style lang="scss">
$c: ".c-index";
#{$c} {
#{$c}__logo {
width: 245px;
height: 165px;
user-select: none;
}
#{$c}__description {
margin: 0;
margin: 40px 0;
font-size: 24px;
line-height: 36px;
}
}
</style>