Remove node

This commit is contained in:
Akira Tempaku 2024-04-11 23:01:47 +09:00
commit 0441d03206
17 changed files with 163 additions and 2406 deletions

View file

@ -1,17 +0,0 @@
import './style.css'
import HTMX from 'htmx.org'
import Alpine from 'alpinejs'
import anchor from '@alpinejs/anchor'
import intersect from '@alpinejs/intersect'
import persist from '@alpinejs/persist'
window.htmx = HTMX
import("htmx.org/dist/ext/debug.js")
import("htmx.org/dist/ext/alpine-morph.js")
import("htmx.org/dist/ext/head-support.js")
window.Alpine = Alpine
Alpine.plugin(anchor)
Alpine.plugin(intersect)
Alpine.plugin(persist)
Alpine.start()

View file

@ -1,3 +0,0 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

View file

@ -9,8 +9,10 @@
(html
(head
(title "skyizwhite.dev")
(script :type "module" :src "http://localhost:5173/@vite/client")
(script :type "module" :src "http://localhost:5173/src/assets/main.js"))
(body :hx-ext "debug, alpine-morph, head-support" :class "h-[100svh] w-screen"
(main :class "h-full"
(script :src "/js/htmx.min.js")
(script :src "/js/htmx-ext/head-support.js")
(script :src "/js/alpine.min.js" :defer t)
(link :rel "stylesheet" :href "/style/main.css" type="text/css"))
(body :hx-ext "head-support"
(main
pi:children)))))

View file

@ -9,6 +9,5 @@
(pi:define-element not-found-page ()
(pi:h
(layout
(section :class "h-full flex justify-center items-center"
(h1 :class "text-error text-4xl"
"404 Not Found")))))
(section
(h1 "404 Not Found")))))

View file

@ -10,14 +10,7 @@
(pi:define-element page ()
(pi:h
(cmp:layout
(section :class "h-full flex justify-center items-center"
(div :class "flex flex-col items-center gap-2"
(div :class "avatar"
(div :class "w-32 mask mask-squircle"
(img :src "/img/me.jpg")))
(p :class "text-primary text-3xl text-center"
"Hello, World!"))))))
(div)))
;;; Controller