Skip to content

Commit fae9f39

Browse files
committed
💄 Readd example pages
1 parent 73b6769 commit fae9f39

File tree

6 files changed

+15
-14
lines changed

6 files changed

+15
-14
lines changed

package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "webcore",
33
"type": "module",
4-
"version": "0.7.0",
4+
"version": "0.8.0",
55
"scripts": {
66
"prepare": "husky",
77
"pre-commit": "lint-staged",
@@ -35,7 +35,7 @@
3535
"svelte-eslint-parser": "0.41.0",
3636
"typescript": "5.4.5",
3737
"typescript-eslint": "8.3.0",
38-
"webcoreui": "0.7.0"
38+
"webcoreui": "0.8.0"
3939
},
4040
"exports": {
4141
".": "./index.js",

src/pages/blocks/faq.astro

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,15 @@ import Tiles from '@blocks/Tiles/Tiles.astro'
1717
</a>
1818
</h2>
1919

20-
<AstroFAQ items={accordionItems}>
20+
<AstroFAQ items={accordionItems} titleTag="strong">
2121
<span class="muted">Here are the most common questions we get asked. If you don't find an answer for your question, please reach out to us through our <a href="#">contact form</a>.</span>
2222
</AstroFAQ>
2323

2424
<hr />
2525

2626
<SvelteFAQ
2727
title="FAQs"
28+
titleTag="strong"
2829
items={accordionItems}
2930
client:load
3031
/>
@@ -33,6 +34,7 @@ import Tiles from '@blocks/Tiles/Tiles.astro'
3334

3435
<ReactFAQ
3536
items={accordionItems}
37+
titleTag="strong"
3638
client:load
3739
>
3840
<span class="muted mb">Looking for a specific page? Find them below:</span>
@@ -43,7 +45,6 @@ import Tiles from '@blocks/Tiles/Tiles.astro'
4345
{ icon: 'file', label: 'Documentation', href: '' }
4446
]} columns={1} />
4547
</ReactFAQ>
46-
4748
</Layout>
4849

4950
<style lang="scss" is:global>
@@ -55,6 +56,6 @@ import Tiles from '@blocks/Tiles/Tiles.astro'
5556
}
5657

5758
hr {
58-
@include spacing(my-default);
59+
@include spacing('my-5xl');
5960
}
6061
</style>

src/pages/index.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
import Box from '@static/Box.astro'
33
import CardWrapper from '@static/CardWrapper.astro'
4-
// import Examples from '@static/Examples.astro'
4+
import Examples from '@static/Examples.astro'
55
import Layout from '@static/Layout.astro'
66
77
import Accordion from '@components/Accordion/Accordion.astro'
@@ -96,7 +96,7 @@ const tabItems = [{
9696
</div>
9797

9898
<ThemeSwitcher themes={themes} className="switcher" />
99-
<!-- <Examples /> -->
99+
<Examples />
100100

101101
<h2 class="my components-heading">Components</h2>
102102
<div class="grid md-2 lg-3">

src/static/Examples.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import Timeline from '@blocks/Timeline/Timeline.astro'
2626
</div>
2727

2828
<style is:global lang="scss">
29-
@use '../scss/config.scss';
29+
@use '../scss/config.scss' as *;
3030

3131
.examples {
3232
margin-top: 50px;

src/static/Link.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const {
2323
>{'->'}</Button>
2424

2525
<style lang="scss">
26-
@use 'webcoreui/config';
26+
@use 'webcoreui/config' as *;
2727

2828
.link {
2929
@include position(absolute, b0, r0);

0 commit comments

Comments
 (0)