mirror of
https://github.com/inzerosight/zwus.pages.dev.git
synced 2026-04-07 05:02:16 +00:00
Feat: Add Rust crate link to landing page
This commit is contained in:
17
index.html
17
index.html
@@ -34,6 +34,13 @@
|
|||||||
padding: 0 1.5rem;
|
padding: 0 1.5rem;
|
||||||
max-width: 600px;
|
max-width: 600px;
|
||||||
}
|
}
|
||||||
|
.btn-group {
|
||||||
|
display: flex;
|
||||||
|
gap: 1rem;
|
||||||
|
margin-bottom: 4rem;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
.btn {
|
.btn {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@@ -45,12 +52,14 @@
|
|||||||
border-radius: 9999px; /* Fully round */
|
border-radius: 9999px; /* Fully round */
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
margin-bottom: 4rem;
|
|
||||||
transition: transform 0.1s ease;
|
transition: transform 0.1s ease;
|
||||||
}
|
}
|
||||||
.btn:active {
|
.btn:active {
|
||||||
transform: scale(0.95);
|
transform: scale(0.95);
|
||||||
}
|
}
|
||||||
|
.btn.rust {
|
||||||
|
background-color: #ce412b; /* Rust-ish color */
|
||||||
|
}
|
||||||
.playground {
|
.playground {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@@ -76,6 +85,7 @@
|
|||||||
@media (max-width: 400px) {
|
@media (max-width: 400px) {
|
||||||
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; }
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
@@ -83,9 +93,14 @@
|
|||||||
|
|
||||||
<h1>Zero Width Unicode Standard</h1>
|
<h1>Zero Width Unicode Standard</h1>
|
||||||
|
|
||||||
|
<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
|
npm package
|
||||||
</a>
|
</a>
|
||||||
|
<a href="https://crates.io/crates/zwus" target="_blank" rel="noopener noreferrer" class="btn rust">
|
||||||
|
rust crate
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="playground">
|
<div class="playground">
|
||||||
<img src="https://raw.githubusercontent.com/planetrenox/inzerosight/main/icon_128.png" alt="inØsight logo">
|
<img src="https://raw.githubusercontent.com/planetrenox/inzerosight/main/icon_128.png" alt="inØsight logo">
|
||||||
|
|||||||
Reference in New Issue
Block a user