mirror of
https://github.com/LeCoupa/awesome-cheatsheets.git
synced 2025-11-08 14:01:35 +00:00
feat(copyright): final component
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user