mirror of
https://seed.radicle.dev/rad:z371PVmDHdjJucejRoRYJcDEvD5pp.git
synced 2026-11-16 08:20:37 +08:00
Instead of having the link to the homepage (via the logo) and the theme switcher in the footer, split this up. The logo is now in the top left and the theme toggle in the bottom right. The footer itself is removed on the homepage, but kept for blog posts, guides, etc.
53 lines
1.9 KiB
HTML
53 lines
1.9 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
{% include meta.html %}
|
|
<link rel="stylesheet" type="text/css" href="{{ "/assets/css/page.css" | relative_url }}"/>
|
|
<meta rel="me" href="{{ site.fedi | fedi_to_https }}" />
|
|
<link rel="alternate" type="application/rss+xml" title="RSS Feed for the Radicle Website" href="/feed.xml" />
|
|
</head>
|
|
<body>
|
|
<img class="desktop" width="160" height="160" id="ribbon" src="/assets/images/ribbon.svg" usemap="#ribbon-map"/>
|
|
<map name="ribbon-map">
|
|
<area shape="poly" coords="10,0,55,0,160,95,160,160,10,0" href="{{ 'rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5' | explore }}" target="_blank">
|
|
</map>
|
|
{% include header.html %}
|
|
<main>
|
|
<p>
|
|
<strong class="highlight">Radicle</strong> is a sovereign
|
|
<span id="definition">{code forge}</span> built on Git.
|
|
</p>
|
|
<nav>
|
|
<span class="cta">
|
|
<a class="button filled" href="#get-started">Get started ↓</a>
|
|
<a class="button filled secondary" href="/guides/seeder">Run a seed →</a>
|
|
</span>
|
|
<span class="links">
|
|
<a href="/guides">Guides</a>
|
|
<a href="/download">Download</a>
|
|
<a href="/faq">FAQ</a>
|
|
<a href="https://radicle.zulipchat.com" target="_blank">Community</a>
|
|
<a href="#updates">Updates</a>
|
|
</span>
|
|
</nav>
|
|
{{ content }}
|
|
</main>
|
|
{% include fixed.html %}
|
|
<script src="{{ "/assets/js/toggle-theme.js" | relative_url }}"></script>
|
|
<script>
|
|
const copyButton = document.getElementById("install");
|
|
const copyResult = document.getElementById("install-copy");
|
|
const textToCopy = document.getElementById("install-command").innerText;
|
|
|
|
copyButton.addEventListener("click", async function () {
|
|
try {
|
|
await navigator.clipboard.writeText(textToCopy);
|
|
copyResult.innerText = "copied";
|
|
} catch (err) {
|
|
console.error("Failed to copy text: ", err);
|
|
}
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|