feat: rename mystery.astro -> index.astro, fix imports for src/ root
Halfstreet now lives at halfstreet.io as the entire site, so the game serves at / instead of /mystery. After git-filter-repo lifted src/mystery/ to src/, the page's css/ts imports need to drop the mystery/ segment.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
import '../mystery/ui/crt.css'
|
||||
import '../ui/crt.css'
|
||||
---
|
||||
|
||||
<html lang="en">
|
||||
@@ -42,8 +42,8 @@ import '../mystery/ui/crt.css'
|
||||
document.documentElement.setAttribute('data-mystery-theme', stored === 'ansi' ? 'ansi' : 'amber')
|
||||
</script>
|
||||
<script>
|
||||
import '../mystery/ui/terminal.ts'
|
||||
import '../mystery/ui/theme.ts'
|
||||
import '../ui/terminal.ts'
|
||||
import '../ui/theme.ts'
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user