1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-12-23 02:28:55 +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; background: #273142;
#{$c}__thumbnail { #{$c}__thumbnail {
margin-bottom: 5px;
width: 100%; width: 100%;
height: 160px; height: 160px;
border-radius: 4px; border-radius: 4px;
margin-bottom: 5px;
} }
#{$c}__content { #{$c}__content {

View File

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