mirror of
https://github.com/inzerosight/zwus.pages.dev.git
synced 2026-04-07 05:02:16 +00:00
Feat: Add extension store links + use local assets
Co-authored-by: Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
61
index.html
61
index.html
@@ -16,7 +16,7 @@
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
overflow: hidden; /* No scroll */
|
overflow: hidden;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
color: #000000;
|
color: #000000;
|
||||||
font-family: 'Inter', sans-serif;
|
font-family: 'Inter', sans-serif;
|
||||||
@@ -37,19 +37,20 @@
|
|||||||
.btn-group {
|
.btn-group {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
margin-bottom: 4rem;
|
margin-bottom: 2.5rem;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
.btn {
|
.btn {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
gap: 0.6rem;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
background-color: #000000;
|
background-color: #000000;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
padding: 1rem 2.5rem;
|
padding: 1rem 2.5rem;
|
||||||
border-radius: 9999px; /* Fully round */
|
border-radius: 9999px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
transition: transform 0.1s ease;
|
transition: transform 0.1s ease;
|
||||||
@@ -58,7 +59,42 @@
|
|||||||
transform: scale(0.95);
|
transform: scale(0.95);
|
||||||
}
|
}
|
||||||
.btn.rust {
|
.btn.rust {
|
||||||
background-color: #ce412b; /* Rust-ish color */
|
background-color: #ce412b;
|
||||||
|
}
|
||||||
|
.btn img {
|
||||||
|
width: 22px;
|
||||||
|
height: 22px;
|
||||||
|
}
|
||||||
|
.extensions {
|
||||||
|
display: flex;
|
||||||
|
gap: 1.5rem;
|
||||||
|
margin-bottom: 2.5rem;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
.ext-link {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 0.5rem;
|
||||||
|
text-decoration: none;
|
||||||
|
color: #000000;
|
||||||
|
font-weight: 700;
|
||||||
|
font-size: 1rem;
|
||||||
|
padding: 0.6rem 1.5rem;
|
||||||
|
border: 2px solid #000000;
|
||||||
|
border-radius: 9999px;
|
||||||
|
transition: transform 0.1s ease, background-color 0.15s ease, color 0.15s ease;
|
||||||
|
}
|
||||||
|
.ext-link:hover {
|
||||||
|
background-color: #000000;
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
.ext-link:active {
|
||||||
|
transform: scale(0.95);
|
||||||
|
}
|
||||||
|
.ext-link img {
|
||||||
|
width: 22px;
|
||||||
|
height: 22px;
|
||||||
}
|
}
|
||||||
.playground {
|
.playground {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -71,7 +107,7 @@
|
|||||||
width: 40px;
|
width: 40px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
margin-bottom: 0.75rem;
|
margin-bottom: 0.75rem;
|
||||||
border-radius: 8px; /* Smooth out the icon edges a bit */
|
border-radius: 8px;
|
||||||
}
|
}
|
||||||
.playground p {
|
.playground p {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@@ -86,6 +122,8 @@
|
|||||||
h1 { font-size: 2.2rem; }
|
h1 { font-size: 2.2rem; }
|
||||||
.btn { padding: 0.8rem 2rem; font-size: 1rem; }
|
.btn { padding: 0.8rem 2rem; font-size: 1rem; }
|
||||||
.btn-group { gap: 0.5rem; }
|
.btn-group { gap: 0.5rem; }
|
||||||
|
.extensions { gap: 0.75rem; }
|
||||||
|
.ext-link { padding: 0.5rem 1.2rem; font-size: 0.9rem; }
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
@@ -95,10 +133,19 @@
|
|||||||
|
|
||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
<a href="https://www.npmjs.com/package/zwus" target="_blank" rel="noopener noreferrer" class="btn">
|
<a href="https://www.npmjs.com/package/zwus" target="_blank" rel="noopener noreferrer" class="btn">
|
||||||
npm package
|
<img src="assets/npm-logo-black.svg" alt="npm"> npm package
|
||||||
</a>
|
</a>
|
||||||
<a href="https://crates.io/crates/zwus" target="_blank" rel="noopener noreferrer" class="btn rust">
|
<a href="https://crates.io/crates/zwus" target="_blank" rel="noopener noreferrer" class="btn rust">
|
||||||
rust crate
|
<img src="assets/Cargo-Logo-Small.png" alt="Cargo"> rust crate
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="extensions">
|
||||||
|
<a href="https://addons.mozilla.org/en-US/firefox/addon/in0sight/" target="_blank" rel="noopener noreferrer" class="ext-link">
|
||||||
|
<img src="assets/Firefox_logo,_2019.svg" alt="Firefox"> Firefox Add-on
|
||||||
|
</a>
|
||||||
|
<a href="https://chromewebstore.google.com/detail/acnmohbphjmnbaboacmecidopeplkhog" target="_blank" rel="noopener noreferrer" class="ext-link">
|
||||||
|
<img src="assets/Google_Chrome_icon_(February_2022).svg.png" alt="Chrome"> Chrome Extension
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user