update showcase location

This commit is contained in:
Cory LaViska
2025-06-17 13:31:46 -04:00
parent c3fe8fa14c
commit ec1f378df9
2 changed files with 9 additions and 3 deletions

View File

@@ -30,13 +30,13 @@ isPro: true
</header>
<wa-comparison position="80">
<wa-zoomable-frame
src="/docs/examples/themes/showcase?color-scheme=dark"
src="/examples/themes/showcase?color-scheme=dark"
slot="before"
without-controls
without-interaction
></wa-zoomable-frame>
<wa-zoomable-frame
src="/docs/examples/themes/showcase"
src="/examples/themes/showcase"
slot="after"
without-controls
without-interaction

View File

@@ -1,5 +1,6 @@
---
unlisted: true
layout: false
---
<!doctype html>
<html lang="en" class="wa-cloak" data-fa-kit-code="b10bfbde90">
@@ -12,11 +13,16 @@ unlisted: true
<link rel="stylesheet" href="/dist/styles/webawesome.css" />
<script type="module" src="/dist/webawesome.loader.js"></script>
<!-- Load all available themes -->
<!-- Available themes -->
{% for theme in themer.themes %}
<link rel="stylesheet" href="/dist/styles/themes/{{theme.filename}}" />
{% endfor %}
<!-- Available palettes -->
{% for palette in themer.palettes %}
<link rel="stylesheet" href="/dist/styles/color/{{palette.filename}}" />
{% endfor %}
<!-- Set the initial theme and color scheme based on ?theme and ?color-scheme -->
<script type="module">
const htmlElement = document.documentElement;