-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More fixes to LAF. Added a "What is Eidolon?" section
- Loading branch information
Showing
6 changed files
with
104 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
webui/apps/docs/src/components/widgets/ProductDescription.astro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
import Headline from '~/components/ui/Headline.astro'; | ||
import ItemGrid from '~/components/ui/ItemGrid.astro'; | ||
import WidgetWrapper from '~/components/ui/WidgetWrapper.astro'; | ||
const { | ||
title = '', | ||
subtitle = '', | ||
tagline = '', | ||
itemSetup = '', | ||
items = [], | ||
columns = 2, | ||
id, | ||
isDark = false, | ||
classes = {}, | ||
bg = await Astro.slots.render('bg'), | ||
} = Astro.props; | ||
--- | ||
|
||
<WidgetWrapper id={id} isDark={isDark} containerClass={`mx-auto ${classes?.container ?? ''}`} bg={bg}> | ||
<Headline title={title} subtitle={subtitle} tagline={tagline} classes={{ | ||
container: 'max-w-5xl text-left mb-4 md:mb-4', | ||
}}/> | ||
{itemSetup && <div class="mx-auto max-w-5xl mb-4 text-xl text-muted" set:html={itemSetup}/>} | ||
<ItemGrid | ||
items={items} | ||
columns={columns} | ||
defaultIcon="tabler:chevron-right" | ||
classes={{ | ||
container: `max-w-5xl gap-y-8 md:gap-y-12 `, | ||
panel: 'max-w-none', | ||
icon: 'flex-shrink-0 mt-1 w-6 h-6 text-primary', | ||
description: 'text-md', | ||
}} | ||
/> | ||
</WidgetWrapper> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters