create-qwik 1.5.7-dev20240622232308 → 1.6.0-dev20240709155456

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/index.cjs +11 -11
  2. package/package.json +1 -1
  3. package/starters/apps/base/package.json +3 -3
  4. package/starters/apps/base/vite.config.ts +1 -1
  5. package/starters/apps/empty/package.json +1 -1
  6. package/starters/apps/empty/src/root.tsx +8 -2
  7. package/starters/apps/library/package.json +3 -3
  8. package/starters/apps/{basic → playground}/package.json +2 -2
  9. package/starters/apps/{site-with-visual-cms → playground}/src/root.tsx +8 -2
  10. package/starters/apps/basic/src/root.tsx +0 -32
  11. package/starters/apps/site-with-visual-cms/.env +0 -2
  12. package/starters/apps/site-with-visual-cms/README.md +0 -15
  13. package/starters/apps/site-with-visual-cms/package.json +0 -17
  14. package/starters/apps/site-with-visual-cms/public/favicon.svg +0 -1
  15. package/starters/apps/site-with-visual-cms/public/manifest.json +0 -9
  16. package/starters/apps/site-with-visual-cms/public/robots.txt +0 -0
  17. package/starters/apps/site-with-visual-cms/src/components/builder-registry.ts +0 -25
  18. package/starters/apps/site-with-visual-cms/src/components/counter/counter.module.css +0 -23
  19. package/starters/apps/site-with-visual-cms/src/components/counter/counter.tsx +0 -81
  20. package/starters/apps/site-with-visual-cms/src/components/footer/footer.module.css +0 -17
  21. package/starters/apps/site-with-visual-cms/src/components/footer/footer.tsx +0 -14
  22. package/starters/apps/site-with-visual-cms/src/components/gauge/gauge.module.css +0 -22
  23. package/starters/apps/site-with-visual-cms/src/components/gauge/index.tsx +0 -36
  24. package/starters/apps/site-with-visual-cms/src/components/header/header.module.css +0 -50
  25. package/starters/apps/site-with-visual-cms/src/components/header/header.tsx +0 -43
  26. package/starters/apps/site-with-visual-cms/src/components/icons/qwik.tsx +0 -44
  27. package/starters/apps/site-with-visual-cms/src/components/router-head/router-head.tsx +0 -32
  28. package/starters/apps/site-with-visual-cms/src/entry.dev.tsx +0 -17
  29. package/starters/apps/site-with-visual-cms/src/entry.preview.tsx +0 -20
  30. package/starters/apps/site-with-visual-cms/src/entry.ssr.tsx +0 -33
  31. package/starters/apps/site-with-visual-cms/src/global.css +0 -128
  32. package/starters/apps/site-with-visual-cms/src/routes/[...index]/index.tsx +0 -61
  33. package/starters/apps/site-with-visual-cms/src/routes/layout.tsx +0 -15
  34. package/starters/apps/site-with-visual-cms/src/routes/service-worker.ts +0 -18
  35. package/starters/apps/site-with-visual-cms/vite.config.ts +0 -11
  36. /package/starters/apps/{basic → playground}/public/favicon.svg +0 -0
  37. /package/starters/apps/{basic → playground}/public/fonts/poppins-400.woff2 +0 -0
  38. /package/starters/apps/{basic → playground}/public/fonts/poppins-500.woff2 +0 -0
  39. /package/starters/apps/{basic → playground}/public/fonts/poppins-700.woff2 +0 -0
  40. /package/starters/apps/{basic → playground}/public/manifest.json +0 -0
  41. /package/starters/apps/{basic → playground}/public/robots.txt +0 -0
  42. /package/starters/apps/{basic → playground}/src/components/router-head/router-head.tsx +0 -0
  43. /package/starters/apps/{basic → playground}/src/components/starter/counter/counter.module.css +0 -0
  44. /package/starters/apps/{basic → playground}/src/components/starter/counter/counter.tsx +0 -0
  45. /package/starters/apps/{basic → playground}/src/components/starter/footer/footer.module.css +0 -0
  46. /package/starters/apps/{basic → playground}/src/components/starter/footer/footer.tsx +0 -0
  47. /package/starters/apps/{basic → playground}/src/components/starter/gauge/gauge.module.css +0 -0
  48. /package/starters/apps/{basic → playground}/src/components/starter/gauge/index.tsx +0 -0
  49. /package/starters/apps/{basic → playground}/src/components/starter/header/header.module.css +0 -0
  50. /package/starters/apps/{basic → playground}/src/components/starter/header/header.tsx +0 -0
  51. /package/starters/apps/{basic → playground}/src/components/starter/hero/hero.module.css +0 -0
  52. /package/starters/apps/{basic → playground}/src/components/starter/hero/hero.tsx +0 -0
  53. /package/starters/apps/{basic → playground}/src/components/starter/icons/qwik.tsx +0 -0
  54. /package/starters/apps/{basic → playground}/src/components/starter/infobox/infobox.module.css +0 -0
  55. /package/starters/apps/{basic → playground}/src/components/starter/infobox/infobox.tsx +0 -0
  56. /package/starters/apps/{basic → playground}/src/components/starter/next-steps/next-steps.module.css +0 -0
  57. /package/starters/apps/{basic → playground}/src/components/starter/next-steps/next-steps.tsx +0 -0
  58. /package/starters/apps/{basic → playground}/src/global.css +0 -0
  59. /package/starters/apps/{basic → playground}/src/media/thunder.png +0 -0
  60. /package/starters/apps/{basic → playground}/src/routes/demo/flower/flower.css +0 -0
  61. /package/starters/apps/{basic → playground}/src/routes/demo/flower/index.tsx +0 -0
  62. /package/starters/apps/{basic → playground}/src/routes/demo/todolist/index.tsx +0 -0
  63. /package/starters/apps/{basic → playground}/src/routes/demo/todolist/todolist.module.css +0 -0
  64. /package/starters/apps/{basic → playground}/src/routes/index.tsx +0 -0
  65. /package/starters/apps/{basic → playground}/src/routes/layout.tsx +0 -0
  66. /package/starters/apps/{basic → playground}/src/routes/service-worker.ts +0 -0
  67. /package/starters/apps/{basic → playground}/src/routes/styles.css +0 -0
@@ -5,6 +5,7 @@ import {
5
5
  ServiceWorkerRegister,
6
6
  } from "@builder.io/qwik-city";
7
7
  import { RouterHead } from "./components/router-head/router-head";
8
+ import { isDev } from "@builder.io/qwik/build";
8
9
 
9
10
  import "./global.css";
10
11
 
@@ -20,12 +21,17 @@ export default component$(() => {
20
21
  <QwikCityProvider>
21
22
  <head>
22
23
  <meta charset="utf-8" />
23
- <link rel="manifest" href="/manifest.json" />
24
+ {!isDev && (
25
+ <link
26
+ rel="manifest"
27
+ href={`${import.meta.env.BASE_URL}manifest.json`}
28
+ />
29
+ )}
24
30
  <RouterHead />
25
31
  </head>
26
32
  <body lang="en">
27
33
  <RouterOutlet />
28
- <ServiceWorkerRegister />
34
+ {!isDev && <ServiceWorkerRegister />}
29
35
  </body>
30
36
  </QwikCityProvider>
31
37
  );
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qwik-library-name",
3
- "description": "Create a reusable Qwik component library",
3
+ "description": "Create a Qwik library",
4
4
  "version": "0.0.1",
5
5
  "private": false,
6
6
  "main": "./lib/index.qwik.mjs",
@@ -33,7 +33,7 @@
33
33
  "release": "np"
34
34
  },
35
35
  "devDependencies": {
36
- "@builder.io/qwik": "1.5.7",
36
+ "@builder.io/qwik": "1.6.0",
37
37
  "@types/eslint": "^8.56.10",
38
38
  "@types/node": "^20.12.7",
39
39
  "@typescript-eslint/eslint-plugin": "^7.7.1",
@@ -48,7 +48,7 @@
48
48
  "vite-tsconfig-paths": "^4.2.1"
49
49
  },
50
50
  "__qwik__": {
51
- "displayName": "Component library (Qwik)",
51
+ "displayName": "Library (Qwik)",
52
52
  "priority": -1,
53
53
  "docs": [
54
54
  "https://qwik.dev/docs/getting-started/"
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "qwik-basic-starter",
3
- "description": "Demo App with Routing built-in (recommended)",
3
+ "description": "Demo app with sample routes",
4
4
  "type": "module",
5
5
  "__qwik__": {
6
6
  "priority": 2,
7
- "displayName": "Basic App (Qwik City + Qwik)",
7
+ "displayName": "Playground App (Qwik City + Qwik)",
8
8
  "qwikCity": true,
9
9
  "docs": [
10
10
  "https://qwik.dev/docs/getting-started/"
@@ -1,4 +1,5 @@
1
1
  import { component$ } from "@builder.io/qwik";
2
+ import { isDev } from "@builder.io/qwik/build";
2
3
  import {
3
4
  QwikCityProvider,
4
5
  RouterOutlet,
@@ -20,9 +21,14 @@ export default component$(() => {
20
21
  <QwikCityProvider>
21
22
  <head>
22
23
  <meta charset="utf-8" />
23
- <link rel="manifest" href="/manifest.json" />
24
+ {!isDev && (
25
+ <link
26
+ rel="manifest"
27
+ href={`${import.meta.env.BASE_URL}manifest.json`}
28
+ />
29
+ )}
24
30
  <RouterHead />
25
- <ServiceWorkerRegister />
31
+ {!isDev && <ServiceWorkerRegister />}
26
32
  </head>
27
33
  <body lang="en">
28
34
  <RouterOutlet />
@@ -1,32 +0,0 @@
1
- import { component$ } from "@builder.io/qwik";
2
- import {
3
- QwikCityProvider,
4
- RouterOutlet,
5
- ServiceWorkerRegister,
6
- } from "@builder.io/qwik-city";
7
- import { RouterHead } from "./components/router-head/router-head";
8
-
9
- import "./global.css";
10
-
11
- export default component$(() => {
12
- /**
13
- * The root of a QwikCity site always start with the <QwikCityProvider> component,
14
- * immediately followed by the document's <head> and <body>.
15
- *
16
- * Don't remove the `<head>` and `<body>` elements.
17
- */
18
-
19
- return (
20
- <QwikCityProvider>
21
- <head>
22
- <meta charset="utf-8" />
23
- <link rel="manifest" href="/manifest.json" />
24
- <RouterHead />
25
- <ServiceWorkerRegister />
26
- </head>
27
- <body lang="en">
28
- <RouterOutlet />
29
- </body>
30
- </QwikCityProvider>
31
- );
32
- });
@@ -1,2 +0,0 @@
1
- # https://www.builder.io/c/docs/using-your-api-key
2
- PUBLIC_BUILDER_API_KEY=YOUR_API_KEY
@@ -1,15 +0,0 @@
1
- ## Builder.io + Qwik
2
-
3
- An example of using [Builder.io's](https://www.builder.io/) visual editor with Qwik.
4
-
5
- See the catchall route at [src/routes/[...index]/index.tsx](src/routes/[...index]/index.tsx) for the integration code.
6
-
7
- Registered components can be found in [src/components/builder-registry.ts](src/components/builder-registry.ts)
8
-
9
- ### Docs
10
-
11
- See our full integration guides [here](https://www.builder.io/c/docs/developers)
12
-
13
- Also, when you push your integration to production, go back and update your preview URL to your production URL so now anyone on your team can visuall create content in your Qwik app!
14
-
15
- Also, to integrate structured data, see [this guide](https://www.builder.io/c/docs/integrate-cms-data)
@@ -1,17 +0,0 @@
1
- {
2
- "name": "qwik-site-with-visual-cms",
3
- "description": "Site integrated with Builder.io for visual editing",
4
- "devDependencies": {
5
- "@builder.io/dev-tools": "^0.0.7",
6
- "@builder.io/sdk-qwik": "^0.4.1"
7
- },
8
- "type": "module",
9
- "__qwik__": {
10
- "priority": 2,
11
- "docs": [
12
- "https://www.builder.io/c/docs/quickstart"
13
- ],
14
- "displayName": "Site with Visual CMS (Qwik City + Qwik)",
15
- "qwikCity": true
16
- }
17
- }
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 500 500"><g clip-path="url(#a)"><circle cx="250" cy="250" r="250" fill="#fff"/><path fill="#18B6F6" d="m367.87 418.45-61.17-61.18-.94.13v-.67L175.7 227.53l32.05-31.13L188.9 87.73 99.56 199.09c-15.22 15.42-18.03 40.51-7.08 59.03l55.83 93.11a46.82 46.82 0 0 0 40.73 22.81l27.65-.27 151.18 44.68Z"/><path fill="#AC7EF4" d="m401.25 196.94-12.29-22.81-6.41-11.67-2.54-4.56-.26.26-33.66-58.63a47.07 47.07 0 0 0-41.27-23.75l-29.51.8-88.01.28a47.07 47.07 0 0 0-40.33 23.34L93.4 207l95.76-119.54L314.7 226.19l-22.3 22.67 13.35 108.54.13-.26v.26h-.26l.26.27 10.42 10.2 50.62 49.78c2.13 2 5.6-.4 4.13-2.96l-31.25-61.85 54.5-101.3 1.73-2c.67-.81 1.33-1.62 1.87-2.42a46.8 46.8 0 0 0 3.34-50.18Z"/><path fill="#fff" d="M315.1 225.65 189.18 87.6l17.9 108.14L175 227l130.5 130.27-11.75-108.14 21.37-23.48Z"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h500v500H0z"/></clipPath></defs></svg>
@@ -1,9 +0,0 @@
1
- {
2
- "$schema": "https://json.schemastore.org/web-manifest-combined.json",
3
- "name": "qwik-project-name",
4
- "short_name": "Welcome to Qwik",
5
- "start_url": ".",
6
- "display": "standalone",
7
- "background_color": "#fff",
8
- "description": "A Qwik project app."
9
- }
@@ -1,25 +0,0 @@
1
- import type { RegisteredComponent } from "@builder.io/sdk-qwik";
2
- import Counter from "./counter/counter";
3
-
4
- /**
5
- * This array is used to integrate custom components within Builder.
6
- * https://www.builder.io/c/docs/custom-components-intro
7
- *
8
- * These components will be found the "Custom Components"
9
- * section of Builder's visual editor.
10
- * You can also turn on "components only mode" to limit
11
- * editing to only these components.
12
- * https://www.builder.io/c/docs/guides/components-only-mode
13
- */
14
- export const CUSTOM_COMPONENTS: RegisteredComponent[] = [
15
- {
16
- component: Counter,
17
- name: "Counter",
18
- inputs: [
19
- {
20
- name: "initialValue",
21
- type: "number",
22
- },
23
- ],
24
- },
25
- ];
@@ -1,23 +0,0 @@
1
- .wrapper {
2
- display: flex;
3
- align-items: center;
4
- justify-content: center;
5
- gap: 20px;
6
- }
7
-
8
- .button {
9
- background: var(--qwik-dirty-black);
10
- border: none;
11
- border-radius: 8px;
12
- color: white;
13
- cursor: pointer;
14
- padding: 10px;
15
- text-align: center;
16
- font-weight: 700;
17
- font-size: 2em;
18
- min-width: 50px;
19
- }
20
-
21
- .button:hover {
22
- background: var(--qwik-dark-blue);
23
- }
@@ -1,81 +0,0 @@
1
- import { component$, useSignal, $ } from "@builder.io/qwik";
2
- import styles from "./counter.module.css";
3
- import Gauge from "../gauge";
4
-
5
- export default component$((props: { initialValue: number }) => {
6
- const count = useSignal(props.initialValue || 99);
7
-
8
- const setCount = $((newValue: number) => {
9
- if (newValue >= 0 && newValue <= 100) {
10
- count.value = newValue;
11
-
12
- if (newValue === 100) {
13
- celebrate();
14
- }
15
- }
16
- });
17
-
18
- return (
19
- <div class={styles.wrapper}>
20
- <button class={styles.button} onClick$={() => setCount(count.value - 1)}>
21
- -
22
- </button>
23
- <Gauge value={count.value} />
24
- <button class={styles.button} onClick$={() => setCount(count.value + 1)}>
25
- +
26
- </button>
27
- </div>
28
- );
29
- });
30
-
31
- export const celebrate = $(async () => {
32
- const defaults = {
33
- spread: 360,
34
- ticks: 70,
35
- gravity: 0,
36
- decay: 0.95,
37
- startVelocity: 30,
38
- colors: ["006ce9", "ac7ff4", "18b6f6", "713fc2", "ffffff"],
39
- origin: {
40
- x: 0.5,
41
- y: 0.35,
42
- },
43
- };
44
-
45
- function loadConfetti() {
46
- return new Promise<(opts: any) => void>((resolve, reject) => {
47
- if ((globalThis as any).confetti) {
48
- return resolve((globalThis as any).confetti as any);
49
- }
50
- const script = document.createElement("script");
51
- script.src =
52
- "https://cdn.jsdelivr.net/npm/canvas-confetti@1.5.1/dist/confetti.browser.min.js";
53
- script.onload = () => resolve((globalThis as any).confetti as any);
54
- script.onerror = reject;
55
- document.head.appendChild(script);
56
- script.remove();
57
- });
58
- }
59
-
60
- const confetti = await loadConfetti();
61
-
62
- function shoot() {
63
- confetti({
64
- ...defaults,
65
- particleCount: 80,
66
- scalar: 1.2,
67
- });
68
-
69
- confetti({
70
- ...defaults,
71
- particleCount: 60,
72
- scalar: 0.75,
73
- });
74
- }
75
-
76
- setTimeout(shoot, 0);
77
- setTimeout(shoot, 100);
78
- setTimeout(shoot, 200);
79
- setTimeout(shoot, 300);
80
- setTimeout(shoot, 400);
81
- });
@@ -1,17 +0,0 @@
1
- .wrapper {
2
- margin: 0 auto;
3
- padding: 30px 40px;
4
- }
5
-
6
- .anchor {
7
- color: white;
8
- display: block;
9
- font-size: 0.8rem;
10
- text-align: center;
11
- text-decoration: none;
12
- line-height: 1.5;
13
- }
14
-
15
- .anchor:hover {
16
- color: var(--qwik-light-blue);
17
- }
@@ -1,14 +0,0 @@
1
- import { component$ } from "@builder.io/qwik";
2
- import styles from "./footer.module.css";
3
-
4
- export default component$(() => {
5
- return (
6
- <footer>
7
- <div class={styles.wrapper}>
8
- <a href="https://www.builder.io/" target="_blank" class={styles.anchor}>
9
- <span>Made with ♡ by Builder.io</span>
10
- </a>
11
- </div>
12
- </footer>
13
- );
14
- });
@@ -1,22 +0,0 @@
1
- .wrapper {
2
- position: relative;
3
- }
4
-
5
- .gauge {
6
- width: 100%;
7
- min-width: 100px;
8
- }
9
-
10
- .value {
11
- position: absolute;
12
- top: 50%;
13
- left: 50%;
14
- color: white;
15
- font-size: 3rem;
16
- transform: translate(-50%, -50%);
17
- text-align: center;
18
- }
19
-
20
- circle {
21
- transition: all 500ms ease-in-out;
22
- }
@@ -1,36 +0,0 @@
1
- import { component$ } from "@builder.io/qwik";
2
- import styles from "./gauge.module.css";
3
-
4
- export default component$(({ value = 50 }: { value?: number }) => {
5
- const safeValue = value < 0 || value > 100 ? 50 : value;
6
-
7
- return (
8
- <div class={styles.wrapper}>
9
- <svg viewBox="0 0 120 120" class={styles.gauge}>
10
- <defs>
11
- <linearGradient id="gradient" x1="0%" y1="0%" x2="100%" y2="100%">
12
- <stop offset="0%" stop-color="#18B6F6" />
13
- <stop offset="1000%" stop-color="#AC7FF4" />
14
- </linearGradient>
15
- </defs>
16
- <circle
17
- r="56"
18
- cx="60"
19
- cy="60"
20
- stroke-width="8"
21
- style="fill: #000; stroke: #0000"
22
- />
23
- <circle
24
- r="56"
25
- cx="60"
26
- cy="60"
27
- stroke-width="8"
28
- style={`transform: rotate(-87.9537deg); stroke-dasharray: ${
29
- safeValue * 3.51
30
- }, 351.858; fill:none; transform-origin:50% 50%; stroke-linecap:round; stroke:url(#gradient)`}
31
- />
32
- </svg>
33
- <span class={styles.value}>{safeValue}</span>
34
- </div>
35
- );
36
- });
@@ -1,50 +0,0 @@
1
- .wrapper {
2
- display: flex;
3
- align-items: center;
4
- justify-content: space-between;
5
- margin: 0 auto;
6
- padding: 30px 40px;
7
- }
8
-
9
- .logo {
10
- display: inline-block;
11
- }
12
- .logo a {
13
- display: block;
14
- }
15
-
16
- .header {
17
- background-color: var(--header-background);
18
- }
19
-
20
- .header ul {
21
- margin: 0;
22
- padding: 0;
23
- list-style: none;
24
- display: flex;
25
- gap: 30px;
26
- }
27
-
28
- .header li {
29
- display: none;
30
- margin: 0;
31
- padding: 0;
32
- font-size: 0.8rem;
33
- }
34
-
35
- .header li a {
36
- color: white;
37
- display: inline-block;
38
- padding: 0;
39
- text-decoration: none;
40
- }
41
-
42
- .header li a:hover {
43
- color: var(--qwik-light-blue);
44
- }
45
-
46
- @media (min-width: 450px) {
47
- .header li {
48
- display: inline-block;
49
- }
50
- }
@@ -1,43 +0,0 @@
1
- import { component$ } from "@builder.io/qwik";
2
- import { QwikLogo } from "../icons/qwik";
3
- import styles from "./header.module.css";
4
-
5
- export default component$(() => {
6
- return (
7
- <header class={styles.header}>
8
- <div class={styles.wrapper}>
9
- <div class={styles.logo}>
10
- <a href="/" title="qwik">
11
- <QwikLogo height={50} width={143} />
12
- </a>
13
- </div>
14
- <ul>
15
- <li>
16
- <a
17
- href="https://qwik.dev/docs/components/overview/"
18
- target="_blank"
19
- >
20
- Docs
21
- </a>
22
- </li>
23
- <li>
24
- <a
25
- href="https://qwik.dev/examples/introduction/hello-world/"
26
- target="_blank"
27
- >
28
- Examples
29
- </a>
30
- </li>
31
- <li>
32
- <a
33
- href="https://qwik.dev/tutorial/welcome/overview/"
34
- target="_blank"
35
- >
36
- Tutorials
37
- </a>
38
- </li>
39
- </ul>
40
- </div>
41
- </header>
42
- );
43
- });
@@ -1,44 +0,0 @@
1
- export const QwikLogo = ({
2
- width = 100,
3
- height = 35,
4
- }: {
5
- width?: number;
6
- height?: number;
7
- }) => (
8
- <svg
9
- width={width}
10
- height={height}
11
- viewBox="0 0 167 53"
12
- fill="none"
13
- xmlns="http://www.w3.org/2000/svg"
14
- >
15
- <path
16
- d="M81.9545 46.5859H75.5513V35.4045C73.4363 36.8579 71.0496 37.5749 68.4884 37.5749C65.0151 37.5749 62.4344 36.6253 60.8239 34.6487C59.2134 32.6915 58.3984 29.2034 58.3984 24.2231C58.3984 19.1266 59.3492 15.5997 61.2702 13.5456C63.23 11.4721 66.3734 10.4644 70.7004 10.4644C74.7946 10.4644 78.5201 11.0264 81.9545 12.131V46.5859ZM75.5513 16.278C74.096 15.8323 72.4661 15.6191 70.7004 15.6191C68.5272 15.6191 66.9749 16.1811 66.1017 17.3244C65.2479 18.4871 64.7823 20.6962 64.7823 23.9712C64.7823 27.0524 65.1897 29.1065 66.0435 30.2304C66.8973 31.335 68.3719 31.897 70.5452 31.897C73.3781 31.897 75.5513 30.7343 75.5513 29.2809V16.278Z"
17
- fill="white"
18
- />
19
- <path
20
- d="M91.133 11.1426C93.4033 17.4406 95.3242 23.7386 96.993 30.0948C99.205 23.5836 101.087 17.2856 102.542 11.1426H108.15C110.265 17.4406 112.031 23.7386 113.447 30.0948C115.97 23.196 117.949 16.8787 119.404 11.1426H125.71C123.033 20.173 120.064 28.777 116.785 36.8966H109.256C108.402 32.3039 107.044 26.7617 105.22 20.1536C104.056 25.2889 102.445 30.8893 100.33 36.8966H92.8018C90.2793 27.5174 87.5434 18.9522 84.6328 11.1426H91.133Z"
21
- fill="white"
22
- />
23
- <path
24
- d="M132.832 7.55758C129.999 7.55758 129.203 6.85996 129.203 3.97257C129.203 1.39523 130.018 0.794495 132.832 0.794495C135.665 0.794495 136.46 1.39523 136.46 3.97257C136.46 6.85996 135.665 7.55758 132.832 7.55758ZM129.649 11.1426H136.053V36.8966H129.649V11.1426Z"
25
- fill="white"
26
- />
27
- <path
28
- d="M166.303 11.1426C161.763 17.5956 158.581 21.5295 156.815 22.9441C158.27 23.8937 162.17 28.8933 167.002 36.916H159.628C153.613 27.7887 150.742 23.8549 149.325 23.2542V36.916H142.922V0H149.325V23.2348C150.78 22.169 153.963 18.1382 158.872 11.1426H166.303Z"
29
- fill="white"
30
- />
31
- <path
32
- d="M40.973 52.5351L32.0861 43.6985L31.9503 43.7179V43.621L13.0511 24.9595L17.708 20.4637L14.9721 4.76715L1.99103 20.8513C-0.220992 23.0798 -0.628467 26.7036 0.962635 29.3778L9.07337 42.8265C10.3152 44.9 12.566 46.1402 14.9915 46.1208L19.0081 46.082L40.973 52.5351Z"
33
- fill="#18B6F6"
34
- />
35
- <path
36
- d="M45.8232 20.5411L44.038 17.2468L43.1066 15.5609L42.738 14.902L42.6992 14.9408L37.8094 6.47238C36.587 4.34075 34.2974 3.02301 31.8137 3.04239L27.5255 3.15865L14.7384 3.19741C12.313 3.21679 10.101 4.49577 8.87853 6.56927L1.09766 21.9945L15.0101 4.72831L33.2496 24.7656L30.0091 28.0406L31.9495 43.7178L31.9689 43.679V43.7178H31.9301L31.9689 43.7565L33.4824 45.2293L40.8364 52.4187C41.1469 52.7094 41.6514 52.3606 41.4379 51.9924L36.8975 43.0589L44.8142 28.4282L45.0664 28.1375C45.1634 28.0212 45.2604 27.905 45.3381 27.7887C46.8904 25.6764 47.1038 22.8472 45.8232 20.5411Z"
37
- fill="#AC7EF4"
38
- />
39
- <path
40
- d="M33.3076 24.6882L15.0099 4.74774L17.61 20.3668L12.9531 24.882L31.9105 43.6985L30.203 28.0794L33.3076 24.6882Z"
41
- fill="white"
42
- />
43
- </svg>
44
- );
@@ -1,32 +0,0 @@
1
- import { component$ } from "@builder.io/qwik";
2
- import { useDocumentHead, useLocation } from "@builder.io/qwik-city";
3
-
4
- /**
5
- * The RouterHead component is placed inside of the document `<head>` element.
6
- */
7
- export const RouterHead = component$(() => {
8
- const head = useDocumentHead();
9
- const loc = useLocation();
10
-
11
- return (
12
- <>
13
- <title>{head.title}</title>
14
-
15
- <link rel="canonical" href={loc.url.href} />
16
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
17
- <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
18
-
19
- {head.meta.map((m) => (
20
- <meta key={m.key} {...m} />
21
- ))}
22
-
23
- {head.links.map((l) => (
24
- <link key={l.key} {...l} />
25
- ))}
26
-
27
- {head.styles.map((s) => (
28
- <style key={s.key} {...s.props} dangerouslySetInnerHTML={s.style} />
29
- ))}
30
- </>
31
- );
32
- });
@@ -1,17 +0,0 @@
1
- /*
2
- * WHAT IS THIS FILE?
3
- *
4
- * Development entry point using only client-side modules:
5
- * - Do not use this mode in production!
6
- * - No SSR
7
- * - No portion of the application is pre-rendered on the server.
8
- * - All of the application is running eagerly in the browser.
9
- * - More code is transferred to the browser than in SSR mode.
10
- * - Optimizer/Serialization/Deserialization code is not exercised!
11
- */
12
- import { render, type RenderOptions } from "@builder.io/qwik";
13
- import Root from "./root";
14
-
15
- export default function (opts: RenderOptions) {
16
- return render(document, <Root />, opts);
17
- }
@@ -1,20 +0,0 @@
1
- /*
2
- * WHAT IS THIS FILE?
3
- *
4
- * It's the bundle entry point for `npm run preview`.
5
- * That is, serving your app built in production mode.
6
- *
7
- * Feel free to modify this file, but don't remove it!
8
- *
9
- * Learn more about Vite's preview command:
10
- * - https://vitejs.dev/config/preview-options.html#preview-options
11
- *
12
- */
13
- import { createQwikCity } from "@builder.io/qwik-city/middleware/node";
14
- import qwikCityPlan from "@qwik-city-plan";
15
- import render from "./entry.ssr";
16
-
17
- /**
18
- * The default export is the QwikCity adapter used by Vite preview.
19
- */
20
- export default createQwikCity({ render, qwikCityPlan });
@@ -1,33 +0,0 @@
1
- /**
2
- * WHAT IS THIS FILE?
3
- *
4
- * SSR entry point, in all cases the application is rendered outside the browser, this
5
- * entry point will be the common one.
6
- *
7
- * - Server (express, cloudflare...)
8
- * - npm run start
9
- * - npm run preview
10
- * - npm run build
11
- *
12
- */
13
- import {
14
- renderToStream,
15
- type RenderToStreamOptions,
16
- } from "@builder.io/qwik/server";
17
- import { manifest } from "@qwik-client-manifest";
18
- import Root from "./root";
19
-
20
- export default function (opts: RenderToStreamOptions) {
21
- return renderToStream(<Root />, {
22
- manifest,
23
- ...opts,
24
- // Use container attributes to set attributes on the html tag.
25
- containerAttributes: {
26
- lang: "en-us",
27
- ...opts.containerAttributes,
28
- },
29
- serverData: {
30
- ...opts.serverData,
31
- },
32
- });
33
- }