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:
parent
fb5da7dff2
commit
cd4fcf08e5
@ -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 {
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user