Skip to content

Commit 7f3053a

Browse files
fix(docs site build does not hang): docs site build does not hang
1 parent b633fbc commit 7f3053a

File tree

5 files changed

+11
-12
lines changed

5 files changed

+11
-12
lines changed

.eslintrc.json

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
{
77
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
88
"rules": {
9-
"qwik/no-use-visible-task": ["off"],
109
"@nx/enforce-module-boundaries": [
1110
"error",
1211
{

apps/website/src/routes/docs/fluffy/(getting-started)/introduction/index.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: 'Qwik UI | Fluffy (styled) Kit - Introduction'
33
---
44

5-
import FluffyCreatureScreen from '/images/qwik-ui-fluffy-creature-screen.webp';
5+
import FluffyCreatureScreen from '../../../../../../public/images/qwik-ui-fluffy-creature.webp';
66

77
# Fluffy (styled) Kit
88

@@ -18,4 +18,4 @@ The Fluffy Kit offers a powerful solution for developers looking to create visua
1818

1919
The Headless Kit is designed to work hand-in-hand with the Qwik framework. This means that, as a developer, you can enjoy the performance benefits and SEO advantages of Qwik while having a beautiful, consistent design out of the box. It's the perfect combination: the cutting-edge technology of Qwik, paired with the modern design aesthetics of Tailwind CSS.
2020

21-
<image src={FluffyCreatureScreen} />
21+
<img src={FluffyCreatureScreen} />

apps/website/src/routes/docs/headless/install/index.mdx

+6-6
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ title: 'Qwik UI - Installation'
44

55
import QwikLogo from '~/components/icons/QwikLogo.tsx';
66
import AstroLogo from '~/components/icons/AstroLogo.tsx';
7-
import qwikCityCLI from '/images/qwik-city-cli.webp';
8-
import astroCLI from '/images/astro-cli.webp';
9-
import qwikdevAstroCLI from '/images/qwikdev-astro-cli.webp';
7+
import qwikCityCLI from '../../../../../public/images/qwik-city-cli.webp';
8+
import astroCLI from '../../../../../public/images/astro-cli.webp';
9+
import qwikdevAstroCLI from '../../../../../public/images/qwikdev-astro-cli.webp';
1010
import { ConfettiButton } from './confetti-button';
1111

1212
export const packages = {
@@ -78,7 +78,7 @@ Install Qwik UI with your choice of package manager below:
7878
Let's select the `empty app` option in the CLI to keep it simple. And remember, choosing the dad joke is not optional - it's mandatory! We have a highly sophisticated Dad Joke Detection System (DJDS) in place, so we'll know if you didn't!
7979

8080
<div class="-mx-6 lg:-mx-8">
81-
<image src={qwikCityCLI} class="block max-w-full rounded-md mb-6 border" />
81+
<img src={qwikCityCLI} class="block max-w-full rounded-md mb-6 border" />
8282
</div>
8383

8484
Below is the Qwik City project structure. Inside of the `src` directory, let's create a new folder called `accordion`. Then, a file named **`accordion.tsx`** inside of `src/components`.
@@ -138,7 +138,7 @@ Install Qwik UI with your choice of package manager below:
138138
Add a relative path for your project, and select the `empty` option in the CLI.
139139

140140
<div class="-mx-6 lg:-mx-8">
141-
<image src={astroCLI} class="block max-w-full rounded-md mb-6 border" />
141+
<img src={astroCLI} class="block max-w-full rounded-md mb-6 border" />
142142
</div>
143143

144144
Next, let's add the [@qwikdev/astro](https://www.npmjs.com/package/@qwikdev/astro) integration. This integration allows us to leverage resumability and Qwik components inside of Astro.
@@ -148,7 +148,7 @@ Install Qwik UI with your choice of package manager below:
148148
<InstallSnippet packages={qwikAstroCliPackages} />
149149

150150
<div class="-mx-6 lg:-mx-8">
151-
<image src={qwikdevAstroCLI} class="block max-w-full rounded-md mb-6 border" />
151+
<img src={qwikdevAstroCLI} class="block max-w-full rounded-md mb-6 border" />
152152
</div>
153153

154154
Then, let's make sure we use Qwik as our main **jsxImportSource** in `tsconfig.json`. Otherwise, it will not get the proper Qwik types.

apps/website/src/routes/docs/headless/introduction/index.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Qwik UI | Introduction
33
---
44

5-
import headlessHero from '/images/qwik-ui-headless-hero.webp';
5+
import headlessHero from '../../../../../public/images/qwik-ui-headless-hero.webp';
66
import { Note } from '~/components/note/note';
77
import {
88
AccordionRoot,
@@ -54,7 +54,7 @@ This means that Qwik UI can operate with any meta-framework that supports Qwik,
5454
Qwik values HTML as the source of truth, and this principle extends to Qwik UI components. We appreciate and adopt the excellent work done by the [Open UI Group](https://open-ui.org/) when appropriate.
5555

5656
<div class="mx-[-24px] lg:mx-[-32px]">
57-
<image
57+
<img
5858
src={headlessHero}
5959
class="dark:shadow-dark-high shadow-dark-low rounded-lg border-2 border-white"
6060
/>

apps/website/src/routes/docs/headless/modal/index.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Qwik UI | Modal
33
---
44

5-
import testImage from '/images/test-image.png';
5+
import testImage from '../../../../../public/images/test-image.png';
66

77
import { statusByComponent } from '~/_state/component-statuses';
88

0 commit comments

Comments
 (0)