1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-06-04 05:30:47 +00:00

feat(copyright): redirect to twitter

This commit is contained in:
Julien 2018-09-09 19:49:42 +02:00
parent fb5da7dff2
commit cd4fcf08e5
2 changed files with 16 additions and 4 deletions

View File

@ -45,10 +45,10 @@ $c: ".c-base-cheatsheet";
background: #273142;
#{$c}__thumbnail {
margin-bottom: 5px;
width: 100%;
height: 160px;
border-radius: 4px;
margin-bottom: 5px;
}
#{$c}__content {

View File

@ -3,7 +3,11 @@
************************************************************************* -->
<template lang="pug">
.c-the-copyright
a(
class="c-the-copyright"
href="https://twitter.com/LeCoupa"
target="_blank"
)
span.c-the-copyright__name By LeCoupa
span.c-the-copyright__picture
@ -14,7 +18,13 @@
************************************************************************* -->
<script>
export default {};
export default {
methods: {
onClick() {
console.log("onClick");
}
}
};
</script>
<!-- *************************************************************************
@ -33,6 +43,8 @@ $c: ".c-the-copyright";
border-left: 1px solid #313d4f;
border-top-left-radius: 4px;
background-color: #171e29;
text-decoration: none;
cursor: pointer;
#{$c}__name {
margin-right: 6px;
@ -45,8 +57,8 @@ $c: ".c-the-copyright";
width: 30px;
height: 30px;
border-radius: 100%;
background-size: cover;
background-image: url("/images/common/lecoupa.jpg");
background-size: cover;
}
}
</style>