Skip to content

Commit 5fa5636

Browse files
chore: add GitHub Corners
1 parent 0dc3b1d commit 5fa5636

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

index.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,26 @@
99
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
1010
<meta name="description" content="Compare the diff between 2 texts" />
1111
<title>Diff</title>
12+
13+
<!--
14+
GitHub Corners. See https://github.com/remarkablemark/github-corners
15+
-->
16+
<script
17+
src="https://unpkg.com/github-corners/dist/embed.min.js"
18+
data-href="https://github.com/remarkablemark/diff"
19+
data-target="_blank"
20+
async
21+
defer
22+
></script>
23+
<style>
24+
.github-corner > svg {
25+
opacity: 0.5;
26+
transition: opacity 0.4s;
27+
}
28+
.github-corner:hover > svg {
29+
opacity: 1;
30+
}
31+
</style>
1232
</head>
1333
<body
1434
class="flex min-h-screen min-w-80 bg-white text-gray-900 dark:bg-gray-900 dark:text-gray-100"

0 commit comments

Comments
 (0)