diff options
| -rw-r--r-- | cmd/xesite/main.go | 3 | ||||
| -rw-r--r-- | lume/src/_includes/base.njk | 16 | ||||
| -rw-r--r-- | lume/src/styles.css | 2 |
3 files changed, 20 insertions, 1 deletions
diff --git a/cmd/xesite/main.go b/cmd/xesite/main.go index c3c2dd7..ff4c92e 100644 --- a/cmd/xesite/main.go +++ b/cmd/xesite/main.go @@ -105,6 +105,9 @@ func main() { mux.HandleFunc(`/blog/%F0%9F%A5%BA`, func(w http.ResponseWriter, r *http.Request) { http.Redirect(w, r, "/blog/xn--ts9h/", http.StatusMovedPermanently) }) + mux.HandleFunc(`/blog/🥺`, func(w http.ResponseWriter, r *http.Request) { + http.Redirect(w, r, "/blog/xn--ts9h/", http.StatusMovedPermanently) + }) if *devel { mux.HandleFunc("/.within/hook/github", func(w http.ResponseWriter, r *http.Request) { diff --git a/lume/src/_includes/base.njk b/lume/src/_includes/base.njk index 9c3a278..8b3a22a 100644 --- a/lume/src/_includes/base.njk +++ b/lume/src/_includes/base.njk @@ -143,6 +143,22 @@ la budza pu cusku lu </nav> </header> + <div id="sticky-banner" tabindex="-1" class="flex justify-between w-full p-4 border-b border-fg-2 bg-bg-0 dark:bg-bgDark-0 dark:border-fg-2"> + <div class="flex items-center mx-auto"> + <p class="flex items-center font-normal"> + <span class="inline-flex p-1 mr-3 bg-bg-1 rounded-full dark:bg-bgDark-1 w-6 h-6 items-center justify-center"> + <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-exclamation-mark" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> + <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> + <path d="M12 19v.01"></path> + <path d="M12 15v-10"></path> + </svg> + <span class="sr-only">Exclamation</span> + </span> + <span>Xe is now available for employment. Should you or your company be interested, please <a href="/contact/" class="underline">contact Xe</a> for more information. Remote positions only. Must hire in Canada.</span> + </p> + </div> + </div> + <div class="mt-4 p-2"> {{ content | safe }} </div> diff --git a/lume/src/styles.css b/lume/src/styles.css index f759115..ac277b9 100644 --- a/lume/src/styles.css +++ b/lume/src/styles.css @@ -4,7 +4,7 @@ @layer base { a { - @apply text-link-light-normal hover:text-link-light-hover hover:bg-link-light-hoverBg visited:text-link-light-visited visited:hover:text-link-light-visitedHover visited:hover:bg-link-light-visitedHoverBg; + @apply text-link-light-normal hover:text-link-light-hover hover:bg-link-light-hoverBg visited:text-link-light-visited visited:hover:text-link-light-visitedHover visited:hover:bg-link-light-visitedHoverBg underline; } details { |
