Skip to content

Commit db2ea53

Browse files
committed
added GH badge
Fixes #197
1 parent ba55096 commit db2ea53

File tree

1 file changed

+37
-1
lines changed

1 file changed

+37
-1
lines changed

src/components/BaseTemplate.vue

+37-1
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,49 @@
66
<p class="pb-4 text-xl leading-relaxed tracking-wide text-gray-700 md:pb-6">
77
Opinionated, production ready template for Vite and Vue 3
88
</p>
9+
<div
10+
class="github-ribbon"
11+
style="
12+
position: absolute;
13+
right: 0px;
14+
top: 0px;
15+
width: 150px;
16+
height: 150px;
17+
overflow: hidden;
18+
z-index: 99999;
19+
"
20+
>
21+
<a
22+
style="
23+
display: inline-block;
24+
width: 200px;
25+
overflow: hidden;
26+
padding: 6px 0px;
27+
text-align: center;
28+
transform: rotate(45deg);
29+
text-decoration: none;
30+
color: rgb(255, 255, 255);
31+
position: inherit;
32+
top: 45px;
33+
right: -40px;
34+
border-width: 1px 0px;
35+
border-style: dotted;
36+
border-color: rgba(255, 255, 255, 0.7);
37+
font: 700 13px 'Helvetica Neue', Helvetica, Arial, sans-serif;
38+
box-shadow: rgba(0, 0, 0, 0.5) 0px 2px 3px 0px;
39+
background-color: rgb(170, 0, 0);
40+
"
41+
href="https://github.com/Uninen/vite-ts-tailwind-starter"
42+
>Fork me on GitHub</a
43+
>
44+
</div>
945
</header>
1046
<main class="container mx-auto">
1147
<div class="p-4 mx-auto prose bg-white md:px-6 prose-indigo sm:rounded-md">
1248
<slot></slot>
1349
</div>
1450
</main>
15-
<footer class="container py-6 mx-auto mt-6 text-sm text-center text-gray-700">
51+
<footer class="container py-6 mx-auto text-sm text-center text-gray-700">
1652
<p>
1753
Vite-ts-tailwind-starter by
1854
<a class="underline" href="https://twitter.com/uninen">@Uninen</a> &copy; 2020-{{ thisYear }}.

0 commit comments

Comments
 (0)