Add frontend JS and improve post styling
Frontend is built with Bun. It uses Stimulus to progressively enhance the server-built HTML. Currently, it only replaces UTC timestamps from the server with the time in the browser's timezone.
This commit is contained in:
5
frontend/globals.d.ts
vendored
Normal file
5
frontend/globals.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import { Application } from "@hotwired/stimulus";
|
||||
|
||||
declare global {
|
||||
var Stimulus: Application;
|
||||
}
|
||||
Reference in New Issue
Block a user