Skip to content

Commit 8571784

Browse files
committed
docs
1 parent 4d1e12e commit 8571784

22 files changed

Lines changed: 6693 additions & 289 deletions

File tree

packages/docs/src/components/AlternativeSidebar.svelte

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
<script>
2-
import Sponsors from "$components/Sponsors.svelte"
32
import Carbon from "$components/Carbon.svelte"
43
</script>
54

65
<div>
76
<div class="sticky top-20 my-6 xl:mx-2 xl:my-0 xl:mt-32 xl:w-[130px]">
8-
<div class="hidden xl:block">
9-
<Sponsors />
10-
</div>
117
<div class="h-6"></div>
128
{#if import.meta.env.DEV}
139
<div

packages/docs/src/components/Carbon.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
const script = document.createElement("script")
1515
script.async = true
1616
script.id = "_carbonads_js"
17-
script.src = "//cdn.carbonads.com/carbon.js?serve=CEAI423U&placement=daisyuicom"
17+
script.src = "//cdn.carbonads.com/carbon.js?serve=CEAI423U&placement=daisyuicom&format=cover"
1818
1919
const container = document.querySelector("#carbon-container")
2020
if (container) {

packages/docs/src/components/Footer.svelte

Lines changed: 60 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<p class="text-base-content/70 mb-5">
2323
{@html $t("footer-tagline")}
2424
</p>
25-
25+
<a href="/docs/faq/" class="link link-hover">{$t("FAQ")}</a>
2626
<a
2727
target="_blank"
2828
rel="noopener, noreferrer"
@@ -47,15 +47,6 @@
4747
{$t("license")}
4848
{@html newtabicon}
4949
</a>
50-
<a
51-
target="_blank"
52-
rel="noopener, noreferrer"
53-
href="https://github.com/saadeghi/daisyui/discussions/1949"
54-
class="link link-hover group"
55-
>
56-
FAQ
57-
{@html newtabicon}
58-
</a>
5950
<a
6051
target="_blank"
6152
rel="noopener, noreferrer"
@@ -77,7 +68,6 @@
7768
<a href="/blog/" class="link link-hover">{$t("Blog")}</a>
7869
<a href="/resources/" class="link link-hover">{$t("Resources")}</a>
7970
<a href="/store/" class="link link-hover">{$t("Store")}</a>
80-
<a href="/docs/faq/" class="link link-hover">{$t("FAQ")}</a>
8171
</div>
8272
<div>
8373
<span class="footer-title opacity-70">{$t("available-on")}</span>
@@ -170,16 +160,34 @@
170160
href="https://mary-ui.com/"
171161
class="link link-hover group"
172162
>
173-
MaryUI for Laravel
163+
MaryUI (Laravel)
164+
{@html newtabicon}
165+
</a>
166+
<a
167+
target="_blank"
168+
rel="noopener, noreferrer"
169+
href="https://github.com/willpinha/daisy-components"
170+
class="link link-hover group"
171+
>
172+
willpinha/daisy-components
173+
{@html newtabicon}
174+
</a>
175+
<a
176+
target="_blank"
177+
rel="noopener, noreferrer"
178+
href="https://github.com/phcurado/daisy_ui_components"
179+
class="link link-hover group"
180+
>
181+
phcurado/daisy_ui_components (Phoenix)
174182
{@html newtabicon}
175183
</a>
176184
<a
177185
target="_blank"
178186
rel="noopener, noreferrer"
179-
href="https://www.saraui.com/"
187+
href="https://github.com/Dzoukr/Feliz.DaisyUI"
180188
class="link link-hover group"
181189
>
182-
SaraUI for SvelteKit
190+
Dzoukr/Feliz.DaisyUI (F#)
183191
{@html newtabicon}
184192
</a>
185193
<a
@@ -199,7 +207,7 @@
199207
>
200208
<div class="flex w-full max-w-6xl flex-col items-center justify-between gap-6 sm:flex-row">
201209
<a
202-
href="https://github.com/saadeghi"
210+
href="https://x.com/saadeghi"
203211
rel="noopener, noreferrer"
204212
target="_blank"
205213
class="inline-flex items-center justify-center hover:opacity-90"
@@ -221,9 +229,7 @@
221229
<p class="text-base-content text-lg font-bold">Pouya Saadeghi</p>
222230
</div>
223231
</a>
224-
<div class="flex flex-col items-center gap-4 text-left sm:flex-row">
225-
<!-- <Sponsors wrapperClasses="flex-col sm:flex-row" classes="bg-base-100" /> -->
226-
232+
<div class="max-w-md grow text-left">
227233
<!-- <div id="mc_embed_signup">
228234
<form
229235
action="https://gmail.us8.list-manage.com/subscribe/post?u=42813cff910e47b1bd132369a&amp;id=9fd7333f07&amp;f_id=003d03e0f0"
@@ -305,6 +311,42 @@
305311
</div>
306312
</form>
307313
</div> -->
314+
315+
<form
316+
action="https://app.kit.com/forms/7041226/subscriptions"
317+
method="post"
318+
target="_blank"
319+
class="flex flex-col"
320+
>
321+
<p class="text-base-content/70 mb-4 text-xs font-bold">
322+
Get the daisyUI updates and news
323+
</p>
324+
<div class="join mb-2">
325+
<input
326+
type="email"
327+
class="join-item input"
328+
name="email_address"
329+
placeholder="email@site.com"
330+
required
331+
/>
332+
<button class="join-item btn btn-neutral">Subscribe</button>
333+
</div>
334+
<p class="text-base-content/60 text-[0.625rem] tracking-wide">
335+
<svg
336+
xmlns="http://www.w3.org/2000/svg"
337+
viewBox="0 0 16 16"
338+
fill="currentColor"
339+
class="text-success inline-block size-3"
340+
>
341+
<path
342+
fill-rule="evenodd"
343+
d="M8.5 1.709a.75.75 0 0 0-1 0 8.963 8.963 0 0 1-4.84 2.217.75.75 0 0 0-.654.72 10.499 10.499 0 0 0 5.647 9.672.75.75 0 0 0 .694-.001 10.499 10.499 0 0 0 5.647-9.672.75.75 0 0 0-.654-.719A8.963 8.963 0 0 1 8.5 1.71Zm2.34 5.504a.75.75 0 0 0-1.18-.926L7.394 9.17l-1.156-.99a.75.75 0 1 0-.976 1.138l1.75 1.5a.75.75 0 0 0 1.078-.106l2.75-3.5Z"
344+
clip-rule="evenodd"
345+
/>
346+
</svg>
347+
We don't share your email address with anyone
348+
</p>
349+
</form>
308350
</div>
309351
</div>
310352
</footer>

packages/docs/src/components/Sponsors.svelte

Lines changed: 0 additions & 165 deletions
This file was deleted.

packages/docs/src/components/themegenerator/Preview.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<h3 class="mb-6 px-2 font-bold">Preview</h3>
88

99
<div
10-
class="text-base-content [&>.card]:bg-base-100 mx-auto pb-20 sm:columns-2 md:columns-1 lg:columns-1 lg:gap-6 xl:columns-3 [&_:is(div,button)]:[transition:background-color_0ms,border-color_100ms,box-shadow_300ms,border-radius_500ms_ease-out] [&>*]:mb-6 [&>*]:break-inside-avoid"
10+
class="text-base-content [&>.card]:bg-base-100 mx-auto pb-20 sm:columns-2 md:columns-1 lg:columns-1 lg:gap-6 xl:columns-3 [&_.carbon-responsive-wrap]:flex-nowrap! [&_.carbon-responsive-wrap]:text-[11px]! [&_:is(div,button)]:[transition:background-color_0ms,border-color_100ms,box-shadow_300ms,border-radius_500ms_ease-out] [&>*]:mb-6 [&>*]:break-inside-avoid"
1111
>
1212
<!-- filters -->
1313
<div class="card card-border border-base-300 card-sm">

0 commit comments

Comments
 (0)