Radish alpha
r
rad:z371PVmDHdjJucejRoRYJcDEvD5pp
Radicle website including documentation and guides
Radicle
Git
header: Notice about domain migration
Lorenz Leutgeb committed 9 days ago
commit a726bec91f4fa4e46a673072a8d8b602655c026d
parent ea63be1
3 files changed +12 -2
modified _includes/header.html
@@ -0,0 +1 @@
+
<header>The website of the Radicle project has moved from <i>radicle.xyz</i> to <i>radicle.dev</i>.</header>

\ No newline at end of file
modified _layouts/index.html
@@ -48,5 +48,10 @@
      }
    });
  </script>
+
  <script>
+
    if ((new URLSearchParams(window.location.search)).get("via") === "radicle.xyz") {
+
      document.querySelector("header").style.visibility = "visible";
+
    }
+
  </script>
</body>
</html>
modified assets/css/page.css
@@ -258,9 +258,7 @@ body > main > header > h1 {

body > header {
  position: relative;
-
  color: var(--color-fg-low-contrast);
  border-bottom: 1px solid var(--color-border-hint);
-
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: hidden;
@@ -269,6 +267,12 @@ body > header {
  height: 1.75rem;
  min-height: 1.5rem;
  line-height: 1.5rem;
+
  text-align: center;
+
  visibility: hidden;
+
}
+

+
body > header > i {
+
  color: var(--color-pink);
}

body > footer {