1
0
mirror of https://github.com/axzilla/templui.git synced 2025-02-21 21:52:40 +00:00

fix: remove/comment HTMX for now because of browser console issue/bug

This commit is contained in:
“axzilla” 2024-10-07 16:31:26 +02:00
parent e3a19be6d0
commit 86d5cb9934
3 changed files with 4 additions and 4 deletions

View File

@ -11,6 +11,7 @@
- Changed: Add button type prop
- Changed: Use own input component on tabs example
- Changed: Update all current components with library comments
- Fixed: Remove/comment HTMX for now because of browser console issue/bug
## 2024-10-06

View File

@ -35,8 +35,8 @@ templ BaseLayout() {
<!-- Tailwind CSS (local) -->
<link href="/assets/css/output.css" rel="stylesheet"/>
<!-- htmx 2.0 -->
<script src="/assets/js/htmx.min.js"></script>
<script src="https://unpkg.com/htmx.org@1.9.12/dist/ext/loading-states.js"></script>
// <script src="/assets/js/htmx.min.js"></script>
// <script src="https://unpkg.com/htmx.org@1.9.12/dist/ext/loading-states.js"></script>
<!-- Alpine.js -->
<script defer src="https://cdn.jsdelivr.net/npm/@alpinejs/focus@3.x.x/dist/cdn.min.js"></script>
<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>

View File

@ -1,14 +1,13 @@
package pages
import (
"github.com/axzilla/goilerplate/internals/ui/layouts"
"github.com/axzilla/goilerplate/internals/ui/components"
"github.com/axzilla/goilerplate/internals/ui/layouts"
)
templ Landing() {
@layouts.BaseLayout() {
<header class="relative flex items-center justify-center w-full min-h-screen bg-gradient-to-br from-gray-100 to-white dark:from-gray-900 dark:to-black text-gray-900 dark:text-white overflow-hidden">
<div class="absolute inset-0 bg-[url('/assets/img/grid.svg')] bg-center [mask-image:linear-gradient(180deg,white,rgba(255,255,255,0))]"></div>
<div class="relative z-10 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12 text-center">
<div class="flex justify-center mb-8">
<a href="https://www.producthunt.com/posts/goilerplate-1?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-goilerplate-1" target="_blank">