| 1 |
--- |
| 2 |
import '../assets/css/site.css'; |
| 3 |
import '../assets/css/input.css'; |
| 4 |
import scrollspyBehavior from '../assets/hyperscript/scrollspy.hs?raw'; |
| 5 |
import activeSearchBehavior from '../assets/hyperscript/active-search.hs?raw'; |
| 6 |
|
| 7 |
import {Image} from 'astro:assets'; |
| 8 |
import {getFile} from '../lib/content'; |
| 9 |
import {buildJsonLd} from '../lib/jsonld'; |
| 10 |
import {isCurrentPath} from '../lib/utils'; |
| 11 |
import bssBars from '../assets/img/bss-bars.png'; |
| 12 |
|
| 13 |
import FinderLink from '../components/FinderLink.astro'; |
| 14 |
import Search from "../components/Search.astro"; |
| 15 |
import BackgroundGrid from "../components/BackgroundGrid.astro"; |
| 16 |
|
| 17 |
const { |
| 18 |
title = "htmx", |
| 19 |
description = "htmx gives you access to AJAX, CSS Transitions, WebSockets and Server Sent Events directly in HTML, using attributes, so you can build modern user interfaces with the simplicity and power of hypertext\n\nhtmx is small (~10k min.gz'd), dependency-free, extendable, IE11 compatible & has reduced code base sizes by 67% when compared with react", |
| 20 |
image = "/img/og-image.png", |
| 21 |
keywords, |
| 22 |
article, |
| 23 |
breadcrumbs, |
| 24 |
hasSidebar = false, |
| 25 |
} = Astro.props; |
| 26 |
|
| 27 |
// Site links (header nav, footer extras, social) loaded from one source. |
| 28 |
const links = (await getFile('links.yaml'))?.frontmatter; |
| 29 |
const navigationItems = links.header; |
| 30 |
const footerSections = [ |
| 31 |
{name: "Links", items: links.header}, |
| 32 |
{name: "Community", items: links.social.map((s: any) => ({name: s.name, url: s.url, iconClass: s.iconClass}))}, |
| 33 |
{name: "Resources", items: links.footer}, |
| 34 |
]; |
| 35 |
--- |
| 36 |
|
| 37 |
<!doctype html> |
| 38 |
<html lang="en"> |
| 39 |
|
| 40 |
<head> |
| 41 |
<meta charset="utf-8"> |
| 42 |
<meta name="viewport" content="width=device-width, initial-scale=1"> |
| 43 |
<title>{title === 'htmx' ? title : `${title} ~ htmx`}</title> |
| 44 |
|
| 45 |
<script is:inline> |
| 46 |
if (/Mac|iPad|iPhone|iPod/.test(navigator.userAgent)) { |
| 47 |
document.documentElement.dataset.os = 'mac'; |
| 48 |
} |
| 49 |
</script> |
| 50 |
|
| 51 |
<!-- Performance --> |
| 52 |
<link rel="dns-prefetch" href="https://cdn.jsdelivr.net"> |
| 53 |
|
| 54 |
<!-- SEO & Page Meta --> |
| 55 |
<meta name="description" content={description.trim()}> |
| 56 |
<meta name="keywords" content={[ |
| 57 |
...(keywords ?? []), |
| 58 |
'htmx', 'hypermedia', 'ajax', 'html', 'javascript', 'frontend', |
| 59 |
'web development', 'hateoas', 'rest', 'websockets', 'server sent events', 'declarative', |
| 60 |
].join(', ')}> |
| 61 |
<meta name="robots" content="index, follow"> |
| 62 |
<meta name="author" content="Big Sky Software"> |
| 63 |
<meta name="generator" content="Astro"> |
| 64 |
|
| 65 |
<!-- Sitemap --> |
| 66 |
<link rel="sitemap" href="/sitemap-index.xml"> |
| 67 |
|
| 68 |
<!-- Security --> |
| 69 |
<meta name="referrer" content="strict-origin-when-cross-origin"> |
| 70 |
|
| 71 |
<!-- Prevents iOS from turning version numbers (e.g. 2.0.0) into phone links --> |
| 72 |
<meta name="format-detection" content="telephone=no"> |
| 73 |
|
| 74 |
<!-- Theme Colors --> |
| 75 |
<meta name="theme-color" content="#ffffff" media="(prefers-color-scheme: light)"> |
| 76 |
<meta name="theme-color" content="#171717" media="(prefers-color-scheme: dark)"> |
| 77 |
|
| 78 |
{Astro.url && |
| 79 |
<link rel="canonical" href={Astro.url.href}>} |
| 80 |
|
| 81 |
<!-- Open Graph / Social Media --> |
| 82 |
<meta property="og:type" content={article ? 'article' : 'website'}> |
| 83 |
<meta property="og:site_name" content="htmx"> |
| 84 |
<meta property="og:locale" content="en_US"> |
| 85 |
<meta property="og:url" content={Astro.url}> |
| 86 |
<meta property="og:title" content={title}> |
| 87 |
<meta property="og:description" content={description.trim()}> |
| 88 |
<meta property="og:image" content={new URL(image, Astro.url)}> |
| 89 |
|
| 90 |
{article?.publishedTime && |
| 91 |
<meta property="article:published_time" content={article.publishedTime}>} |
| 92 |
{article?.modifiedTime && |
| 93 |
<meta property="article:modified_time" content={article.modifiedTime}>} |
| 94 |
{article?.authors?.map((author: string) => |
| 95 |
<meta property="article:author" content={author}>)} |
| 96 |
{article?.tags?.map((tag: string) => |
| 97 |
<meta property="article:tag" content={tag}>)} |
| 98 |
|
| 99 |
<meta name="twitter:card" content="summary_large_image"> |
| 100 |
<meta name="twitter:site" content="@htmx_org"> |
| 101 |
<meta name="twitter:title" content={title}> |
| 102 |
<meta name="twitter:description" content={description.trim()}> |
| 103 |
<meta name="twitter:image" content={new URL(image, Astro.url)}> |
| 104 |
|
| 105 |
<!-- Favicon --> |
| 106 |
<link rel="icon" href="/favicon.svg" type="image/svg+xml"> |
| 107 |
|
| 108 |
<!-- Feed auto-discovery (both formats). --> |
| 109 |
<link rel="alternate" type="application/atom+xml" title="htmx — Atom feed" href="/atom.xml"> |
| 110 |
<link rel="alternate" type="application/rss+xml" title="htmx — RSS feed" href="/rss.xml"> |
| 111 |
|
| 112 |
<!-- htmx & extensions --> |
| 113 |
<meta name="htmx-config" |
| 114 |
content='{"history":"true","morphSkip":["#search-shortcut-hint"],"morphIgnore":["data-htmx-powered","_"],"logAll":false}'> |
| 115 |
<script is:inline src="/js/htmx.js"></script> |
| 116 |
<script is:inline src="/js/ext/hx-preload.js"></script> |
| 117 |
|
| 118 |
<!-- _hyperscript 0.9.91 --> |
| 119 |
<script is:inline defer src="/js/_hyperscript.min.js"></script> |
| 120 |
|
| 121 |
<script type="text/hyperscript" is:inline set:html={scrollspyBehavior}></script> |
| 122 |
<script type="text/hyperscript" is:inline set:html={activeSearchBehavior}></script> |
| 123 |
|
| 124 |
<!-- Re-execute inline scripts after morph navigation (hyperscript + pattern demos) --> |
| 125 |
<script is:inline defer src="/js/morph-afterswap.js"></script> |
| 126 |
|
| 127 |
<!-- Enable :active pseudo-class on iOS Safari (requires touchstart listener). |
| 128 |
Used by our custom interact: TailwindCSS variant for touch feedback. |
| 129 |
https://stackoverflow.com/questions/3885018/active-pseudo-class-doesnt-work-in-mobile-safari --> |
| 130 |
<script> |
| 131 |
document.addEventListener('touchstart', function () { |
| 132 |
}, {passive: true}); |
| 133 |
</script> |
| 134 |
|
| 135 |
<!-- Structured Data --> |
| 136 |
<script type="application/ld+json" set:html={JSON.stringify(buildJsonLd({ |
| 137 |
title, description, image, article, breadcrumbs, |
| 138 |
url: Astro.url, |
| 139 |
siteUrl: Astro.site?.href ?? "https://four.htmx.org", |
| 140 |
}))}/> |
| 141 |
</head> |
| 142 |
|
| 143 |
<body hx-boost:inherited="true" |
| 144 |
hx-swap:inherited="innerMorph" |
| 145 |
class="group/body pt-(--header-height) has-[#mobile-navigation-toggle:checked]:overflow-hidden has-[dialog[open]]:overflow-hidden"> |
| 146 |
|
| 147 |
<BackgroundGrid/> |
| 148 |
|
| 149 |
<!-- ─── HEADER ──────────────────────────────────────────────────────────── --> |
| 150 |
<header role="banner" |
| 151 |
class="flex flex-col fixed inset-x-0 top-0 h-(--header-height) z-40 bg-neutral-10 dark:bg-neutral-920 border-b border-neutral-200 dark:border-neutral-850"> |
| 152 |
<nav id="navigation" |
| 153 |
class="w-full h-(--navigation-bar-height) flex items-center justify-between px-4 sm:px-6 lg:px-8 py-3 lg:py-4 gap-4 lg:gap-12" |
| 154 |
aria-label="Primary Navigation"> |
| 155 |
<div class="flex items-center gap-3"> |
| 156 |
|
| 157 |
{hasSidebar && ( |
| 158 |
<label class="lg:hidden flex items-center justify-center size-10 cursor-pointer select-none rounded-xs text-neutral-600 dark:text-neutral-400 interact:text-neutral-800 dark:interact:text-neutral-100" |
| 159 |
for="sidebar-toggle-mobile" |
| 160 |
aria-label="Toggle Sidebar" |
| 161 |
aria-controls="sidebar-nav" |
| 162 |
role="button" |
| 163 |
tabindex="0"> |
| 164 |
<i class="size-5 icon-[mdi--menu-open] |
| 165 |
transition-opacity duration-200 |
| 166 |
[html:has(#sidebar-toggle-mobile:checked)_&]:opacity-0"></i> |
| 167 |
<i class="size-5 icon-[mdi--menu-close] |
| 168 |
absolute transition-opacity duration-200 opacity-0 |
| 169 |
[html:has(#sidebar-toggle-mobile:checked)_&]:opacity-100"></i> |
| 170 |
</label> |
| 171 |
)} |
| 172 |
|
| 173 |
<!-- Logo --> |
| 174 |
<a href="/" aria-label="HTMX Homepage" |
| 175 |
class="group/logo text-xl sm:text-[1.375rem] lg:text-2xl whitespace-nowrap font-mono tracking-tight font-extrabold inline-flex items-center text-neutral-900 dark:text-neutral-100 interact:text-blue-700 dark:interact:text-blue-300 shrink-0 rounded-sm outline-hidden"> |
| 176 |
<span aria-hidden="true"><</span> |
| 177 |
<b class="relative text-blue-700 dark:text-blue-350 dark:group-interact/logo:text-blue-300" |
| 178 |
aria-hidden="true"> |
| 179 |
<span class="group-interact/logo:opacity-0">/</span> |
| 180 |
<span class="absolute inset-0 opacity-0 group-interact/logo:opacity-100">-</span> |
| 181 |
</b> |
| 182 |
<span aria-hidden="true" class="relative"> |
| 183 |
<span class="group-interact/logo:opacity-0">></span> |
| 184 |
<span class="absolute inset-0 opacity-0 group-interact/logo:opacity-100">-</span> |
| 185 |
</span> |
| 186 |
<span class="font-chicago ms-2 inline-block relative"> |
| 187 |
<span class="group-interact/logo:opacity-0"> |
| 188 |
htm<b class="text-blue-700 dark:text-blue-350 dark:group-interact/logo:text-blue-300">x</b> |
| 189 |
</span> |
| 190 |
<span class="absolute inset-0 opacity-0 group-interact/logo:opacity-100 group-interact/logo:underline"> |
| 191 |
hom<b class="text-blue-700 dark:text-blue-350 dark:group-interact/logo:text-blue-300">e</b> |
| 192 |
</span> |
| 193 |
</span> |
| 194 |
</a> |
| 195 |
|
| 196 |
<!-- Version Selector --> |
| 197 |
<div class="inline-flex items-center relative group/version"> |
| 198 |
<select aria-label="Select htmx version" |
| 199 |
class="appearance-none bg-transparent pl-2 pr-5 py-1 text-xs font-chicago rounded-sm text-neutral-600 dark:text-neutral-400 interact:text-black dark:interact:text-white cursor-pointer outline-hidden border border-transparent interact:border-neutral-200 dark:interact:border-neutral-800 translate-y-0.5" |
| 200 |
onchange="window.location.href = this.value"> |
| 201 |
<option value="/" selected>v4</option> |
| 202 |
<option value="https://htmx.org">v2</option> |
| 203 |
<option value="https://v1.htmx.org">v1</option> |
| 204 |
</select> |
| 205 |
<i class="icon-[mdi--chevron-down] absolute right-1 top-1/2 -translate-y-1/2 text-xs text-neutral-400 dark:text-neutral-500 group-hover/version:text-neutral-600 dark:group-hover/version:text-neutral-400 pointer-events-none" |
| 206 |
aria-hidden="true"></i> |
| 207 |
</div> |
| 208 |
</div> |
| 209 |
|
| 210 |
<!-- Desktop: Nav Links + Search + Social --> |
| 211 |
<div class="hidden lg:flex items-center justify-between flex-1 gap-4 xl:gap-6"> |
| 212 |
<div aria-label="Main" class="hidden lg:flex items-center gap-4 xl:gap-6 flex-1" |
| 213 |
hx-preload:inherited="mouseenter"> |
| 214 |
<ul class="flex gap-4 xl:gap-6 items-center justify-center xl:text-[1.075rem] font-chicago tracking-tight"> |
| 215 |
{navigationItems.map((item) => ( |
| 216 |
<li> |
| 217 |
<a href={item.url} |
| 218 |
aria-current={isCurrentPath(Astro.url.pathname, item.url) ? 'page' : undefined} |
| 219 |
class="px-3 py-1 interact:underline text-neutral-500 dark:text-neutral-450 interact:text-blue-700 dark:interact:text-blue-300 aria-[current=page]:text-neutral-800 dark:aria-[current=page]:text-neutral-200 aria-[current=page]:font-bold outline-hidden"> |
| 220 |
{item.name} |
| 221 |
</a> |
| 222 |
</li> |
| 223 |
))} |
| 224 |
</ul> |
| 225 |
</div> |
| 226 |
<div class="flex items-center min-w-[200px]"> |
| 227 |
<!-- Desktop: Search Trigger --> |
| 228 |
<div class="flex-1"> |
| 229 |
<button type="button" |
| 230 |
class="relative group flex items-center min-h-[44px] min-w-[200px] w-full bg-white dark:bg-neutral-910 |
| 231 |
border border-neutral-200 dark:border-neutral-800 rounded-lg py-2 px-3 text-base font-sans text-neutral-400 |
| 232 |
interact:bg-neutral-100 dark:interact:bg-neutral-800/50 |
| 233 |
interact:border-neutral-400 dark:interact:border-neutral-600 |
| 234 |
outline-hidden cursor-pointer" |
| 235 |
aria-label="Open Search" |
| 236 |
_="on click |
| 237 |
showModal() from the first of <search-index > dialog/> |
| 238 |
end |
| 239 |
on keydown[key is 'k' and (metaKey or ctrlKey)] from window |
| 240 |
halt the event |
| 241 |
trigger click |
| 242 |
end"> |
| 243 |
<i class="icon-[mdi--magnify] size-5 text-neutral-400 group-interact:text-neutral-600 dark:group-interact:text-neutral-200" |
| 244 |
aria-hidden="true"></i> |
| 245 |
<span class="text-sm mx-2 group-interact:text-neutral-600 dark:group-interact:text-neutral-200">Open |
| 246 |
Search</span> |
| 247 |
<kbd id="search-shortcut-hint" aria-hidden="true" |
| 248 |
class="ms-auto pe-1 font-chicago text-xs group-interact:text-neutral-600 dark:group-interact:text-neutral-200"> |
| 249 |
<span class="mac:hidden">Ctrl K</span> |
| 250 |
<span class="hidden mac:inline">⌘ K</span> |
| 251 |
</kbd> |
| 252 |
</button> |
| 253 |
</div> |
| 254 |
<div class="h-6 w-px bg-neutral-200 dark:bg-neutral-800 ml-7.5 mr-5.5" role="separator"></div> |
| 255 |
<a href="/discord" aria-label="Join Discord" title="Join the Discord community" |
| 256 |
target="_blank" rel="noopener noreferrer" |
| 257 |
class="flex px-3 py-2 group"> |
| 258 |
<i class="icon-[mdi--discord] size-5.5 scale-[1.1] text-neutral-600 dark:text-neutral-400 group-interact:text-black dark:group-interact:text-white" |
| 259 |
aria-hidden="true"></i> |
| 260 |
</a> |
| 261 |
<a href="https://github.com/bigskysoftware/htmx" aria-label="View Source on GitHub" |
| 262 |
title="View source code on GitHub" |
| 263 |
target="_blank" rel="noopener noreferrer" |
| 264 |
class="flex ml-3 px-3 py-2 group"> |
| 265 |
<i class="icon-[mdi--github] size-5.5 text-neutral-600 dark:text-neutral-400 group-interact:text-black dark:group-interact:text-white" |
| 266 |
aria-hidden="true"></i> |
| 267 |
</a> |
| 268 |
</div> |
| 269 |
</div> |
| 270 |
|
| 271 |
<!-- Mobile: Search + Navigation toggle --> |
| 272 |
<div class="lg:hidden flex items-center gap-4"> |
| 273 |
<button type="button" |
| 274 |
class="flex items-center justify-center size-10 text-neutral-600 dark:text-neutral-400 rounded-xs outline-hidden" |
| 275 |
aria-label="Search" |
| 276 |
_="on click showModal() from the first of <search-index > dialog/>"> |
| 277 |
<i class="icon-[mdi--magnify] size-5 sm:size-6" aria-hidden="true"></i> |
| 278 |
</button> |
| 279 |
<label class="flex items-center justify-center size-10 cursor-pointer rounded-xs outline-hidden" |
| 280 |
for="mobile-navigation-toggle" |
| 281 |
aria-label="Toggle Navigation Menu" |
| 282 |
role="button" |
| 283 |
tabindex="0"> |
| 284 |
<input id="mobile-navigation-toggle" type="checkbox" class="sr-only"> |
| 285 |
<i class="icon-[mdi--menu] [html:has(#mobile-navigation-toggle:checked)_&]:hidden size-5 sm:size-6 text-neutral-600 dark:text-neutral-400" |
| 286 |
aria-hidden="true"></i> |
| 287 |
<i class="icon-[mdi--close] hidden [html:has(#mobile-navigation-toggle:checked)_&]:block size-5 sm:size-6 text-neutral-600 dark:text-neutral-400" |
| 288 |
aria-hidden="true"></i> |
| 289 |
</label> |
| 290 |
</div> |
| 291 |
</nav> |
| 292 |
</header> |
| 293 |
|
| 294 |
<!-- Mobile Navigation Drawer --> |
| 295 |
<nav id="mobile-navigation" aria-label="Mobile Navigation" |
| 296 |
class="lg:hidden z-50 opacity-0 top-(--header-height) fixed inset-0 h-screen bg-neutral-10 dark:bg-neutral-920 pointer-events-none select-none [html:has(#mobile-navigation-toggle:checked)_&]:opacity-100 [html:has(#mobile-navigation-toggle:checked)_&]:pointer-events-auto overflow-y-auto overscroll-contain"> |
| 297 |
<div class="p-4 space-y-2"> |
| 298 |
{navigationItems.map((item) => ( |
| 299 |
<FinderLink href={item.url} |
| 300 |
aria-current={isCurrentPath(Astro.url.pathname, item.url) ? 'page' : undefined} |
| 301 |
class="!mx-0 font-chicago text-base tracking-tight gap-2 aria-[current=page]:bg-blue-700 aria-[current=page]:text-white dark:aria-[current=page]:bg-blue-350 dark:aria-[current=page]:text-black aria-[current=page]:font-bold" |
| 302 |
_="on click set #mobile-navigation-toggle.checked to false"> |
| 303 |
{item.name} |
| 304 |
</FinderLink> |
| 305 |
))} |
| 306 |
|
| 307 |
<div class="h-px bg-neutral-200 dark:bg-neutral-800 my-4" role="separator"></div> |
| 308 |
|
| 309 |
<FinderLink href="/discord" title="Join the Discord community" |
| 310 |
class="!mx-0 font-chicago text-base tracking-tight gap-3" |
| 311 |
_="on click set #mobile-navigation-toggle.checked to false"> |
| 312 |
<i class="icon-[mdi--discord] text-xl" aria-hidden="true"></i> |
| 313 |
Discord |
| 314 |
</FinderLink> |
| 315 |
|
| 316 |
<FinderLink href="https://github.com/bigskysoftware/htmx" |
| 317 |
target="_blank" rel="noopener noreferrer" |
| 318 |
title="View source code on GitHub" |
| 319 |
class="!mx-0 font-chicago text-base tracking-tight gap-3" |
| 320 |
_="on click set #mobile-navigation-toggle.checked to false"> |
| 321 |
<i class="icon-[mdi--github] text-xl" aria-hidden="true"></i> |
| 322 |
GitHub |
| 323 |
</FinderLink> |
| 324 |
</div> |
| 325 |
</nav> |
| 326 |
|
| 327 |
<!-- ─── CONSTRUCTION BANNER ─────────────────────────────────────────────── --> |
| 328 |
<a href="/docs/get-started/migration" |
| 329 |
id="construction-banner" |
| 330 |
class="sticky top-(--header-height) z-30 h-10 [html:has(#sidebar)_&]:lg:pl-72 flex justify-center items-center text-center gap-2 px-4 py-3 text-xs sm:text-[0.825rem] tracking-tight bg-blue-50 dark:bg-[#161b26] border-y border-blue-200 dark:border-blue-600/30 text-blue-900 dark:text-blue-200 interact:bg-blue-100 dark:interact:bg-[#1b253a] transition font-semibold" |
| 331 |
title="htmx 4.0 changes and migration guide"> |
| 332 |
<i class="icon-[mdi--wrench] size-3.5 opacity-60" aria-hidden="true"></i> |
| 333 |
htmx 4.0 is under construction — <span class="underline underline-offset-4 font-chicago">migration guide</span> |
| 334 |
</a> |
| 335 |
|
| 336 |
<!-- ─── PAGE CONTENT ────────────────────────────────────────────────────── --> |
| 337 |
<slot/> |
| 338 |
|
| 339 |
<!-- ─── FOOTER ──────────────────────────────────────────────────────────── --> |
| 340 |
<footer class:list={[ |
| 341 |
"text-sm border-t border-neutral-200 dark:border-neutral-850 bg-neutral-10 dark:bg-neutral-920 mt-16 sm:mt-24 pt-12 pb-6 sm:pt-16 sm:pb-8 relative z-10", |
| 342 |
hasSidebar && "lg:pl-72" |
| 343 |
]}> |
| 344 |
<div class={hasSidebar ? "px-4 sm:px-6 lg:px-12 xl:px-8" : "px-4 sm:px-6 lg:px-8"}> |
| 345 |
<div class={hasSidebar ? "mx-auto max-w-4xl" : "max-w-2xl lg:max-w-5xl mx-auto"}> |
| 346 |
|
| 347 |
<div class="grid grid-cols-2 lg:grid-cols-4 gap-x-6 gap-y-8 sm:gap-8 lg:gap-12"> |
| 348 |
|
| 349 |
{footerSections.map((section) => ( |
| 350 |
<div> |
| 351 |
<h2 class="font-sans text-xs font-medium uppercase tracking-widest text-neutral-700 dark:text-neutral-300 mb-4 sm:mb-6"> |
| 352 |
{section.name} |
| 353 |
</h2> |
| 354 |
<ul class="space-y-2 sm:space-y-3"> |
| 355 |
{section.items.map((link: { |
| 356 |
name: string; |
| 357 |
url: string; |
| 358 |
iconClass?: string; |
| 359 |
boost?: boolean |
| 360 |
}) => ( |
| 361 |
<li> |
| 362 |
<a href={link.url} |
| 363 |
target={link.url?.startsWith('http') ? "_blank" : undefined} |
| 364 |
rel={link.url?.startsWith('http') ? "noopener noreferrer" : undefined} |
| 365 |
hx-boost={link.boost === false ? "false" : undefined} |
| 366 |
title={`Go to ${link.url}`} |
| 367 |
class:list={[ |
| 368 |
"text-neutral-600 dark:text-neutral-400 interact:text-blue-600 dark:interact:text-blue-300 interact:underline", |
| 369 |
link.iconClass && "inline-flex items-center gap-3" |
| 370 |
]}> |
| 371 |
{link.iconClass && ( |
| 372 |
<span class="w-5 flex justify-center shrink-0"> |
| 373 |
<i class:list={[link.iconClass, "text-base"]}></i> |
| 374 |
</span> |
| 375 |
)} |
| 376 |
{link.name} |
| 377 |
</a> |
| 378 |
</li> |
| 379 |
))} |
| 380 |
</ul> |
| 381 |
</div> |
| 382 |
))} |
| 383 |
|
| 384 |
<div> |
| 385 |
<h2 class="font-sans text-xs font-medium uppercase tracking-widest text-neutral-700 dark:text-neutral-300 mb-4 sm:mb-6"> |
| 386 |
Haiku |
| 387 |
</h2> |
| 388 |
<p class="italic font-light text-sm text-neutral-550 dark:text-neutral-450 leading-loose -translate-y-2"> |
| 389 |
javascript fatigue:<br>longing for a hypertext<br>already in hand |
| 390 |
</p> |
| 391 |
</div> |
| 392 |
</div> |
| 393 |
|
| 394 |
<div class="mt-12 sm:mt-16 flex items-center text-neutral-600 dark:text-neutral-400 text-xs sm:text-sm"> |
| 395 |
<div class="flex-grow border-t border-neutral-200 dark:border-neutral-850"></div> |
| 396 |
<span class="flex items-center gap-2 px-4 sm:px-6"> |
| 397 |
© {new Date().getFullYear()} |
| 398 |
<span class="text-neutral-300 dark:text-neutral-800 mx-1">·</span> |
| 399 |
<a href="https://bigsky.software" target="_blank" rel="noopener noreferrer" |
| 400 |
title="Go to Big Sky Software's website" |
| 401 |
class="group inline-flex items-center gap-1.5 text-neutral-600 dark:text-neutral-400 interact:text-blue-600 dark:interact:text-blue-300 interact:underline"> |
| 402 |
<Image src={bssBars} alt="" aria-hidden="true" loading="lazy" |
| 403 |
class="size-3 shrink-0 group-interact:[filter:brightness(0)_saturate(100%)_invert(29%)_sepia(88%)_saturate(1124%)_hue-rotate(214deg)] dark:group-interact:[filter:brightness(0)_saturate(100%)_invert(72%)_sepia(60%)_saturate(430%)_hue-rotate(190deg)_brightness(1.2)]"/> |
| 404 |
Big Sky Software |
| 405 |
</a> |
| 406 |
</span> |
| 407 |
<div class="flex-grow border-t border-neutral-200 dark:border-neutral-800"></div> |
| 408 |
</div> |
| 409 |
|
| 410 |
</div> |
| 411 |
</div> |
| 412 |
</footer> |
| 413 |
|
| 414 |
<Search/> |
| 415 |
|
| 416 |
</body> |
| 417 |
</html> |