Add link to git tea source page in corner
This commit is contained in:
@@ -36,6 +36,22 @@ main {
|
||||
|
||||
header {
|
||||
text-align: center;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.git-link {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
font-size: 0.75rem;
|
||||
color: var(--text-muted);
|
||||
text-decoration: none;
|
||||
opacity: 0.6;
|
||||
transition: opacity 0.2s;
|
||||
}
|
||||
|
||||
.git-link:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
header h1 {
|
||||
|
||||
@@ -93,6 +93,7 @@ function App() {
|
||||
<header>
|
||||
<h1><Md3dRotation className="icon-spin" /> SVG to Nametag Converter</h1>
|
||||
<p>Powered by WebAssembly & Manifold 3D</p>
|
||||
<a href="https://warehouse.randomhack.com/unfunny/svg2NameTag-Ren/src/branch/web-app/" target="_blank" rel="noopener noreferrer" className="git-link">View Source</a>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
|
||||
Reference in New Issue
Block a user