Disable SPA router for browsers without View Transition support

This commit is contained in:
Mikkel Svartveit 2023-10-24 16:44:45 -07:00
parent 819f2e4aca
commit f2bdee51f9

View file

@ -23,7 +23,7 @@ const fullTitle = `${title ? title + " " : ""}Mikkel Svartveit`;
content="Hi, I'm Mikkel! I am a Computer Science student from Norway and this is my playground. Here you will find some programming projects, and a small collection of photos I'm proud of."
/>
<meta name="theme-color" content="#facc15" />
<ViewTransitions fallback="swap" />
<ViewTransitions fallback="none" />
</head>
<body class={`bg-gray-50 ${hideScrollbar ? "" : "overflow-y-scroll"}`}>