spoko-design-system 0.0.1 → 0.0.2
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.
- package/.astro/icon.d.ts +2199 -2192
- package/.github/workflows/deploy.yml +39 -39
- package/.stackblitzrc +5 -5
- package/.vscode/extensions.json +4 -4
- package/.vscode/launch.json +11 -11
- package/LICENSE +21 -21
- package/Layout/Header.astro +111 -89
- package/README.md +69 -69
- package/astro-i18next.config.mjs +17 -17
- package/astro-i18next.config.ts +10 -10
- package/astro.config.mjs +45 -42
- package/index.ts +6 -6
- package/package.json +75 -71
- package/public/astro-design-system-logo.svg +10 -10
- package/public/fonts/lg.svg +53 -53
- package/public/fonts/vwhead-bold-demo.html +549 -549
- package/public/fonts/vwhead-regular-demo.html +549 -549
- package/public/fonts/vwtext-bold-demo.html +549 -549
- package/public/fonts/vwtext-regular-demo.html +549 -549
- package/public/github.svg +3 -3
- package/public/grid_dot.svg +4 -4
- package/public/linkedin.svg +44 -44
- package/public/locales/en/translation.json +5 -5
- package/public/locales/pl/translation.json +5 -5
- package/public/make-scrollable-code-focusable.js +3 -3
- package/public/polo.blue.svg +29 -0
- package/public/spoko.space.svg +71 -0
- package/public/twitter.svg +46 -46
- package/sandbox.config.json +11 -11
- package/src/MyComponent.astro +8 -8
- package/src/components/Badge.vue +19 -19
- package/src/components/Badges.vue +24 -23
- package/src/components/Breadcrumbs.vue +108 -111
- package/src/components/Button.vue +28 -0
- package/src/components/CategoryLink.astro +18 -0
- package/src/components/Copyright.astro +11 -11
- package/src/components/Date.astro +7 -0
- package/src/components/FuckRussia.vue +65 -65
- package/src/components/HandDrive.astro +30 -30
- package/src/components/HeadCommon.astro +40 -40
- package/src/components/HeadSEO.astro +41 -41
- package/src/components/Header/AstroLogo.astro +7 -27
- package/src/components/Header/Header.astro +44 -48
- package/src/components/Header/SkipToContent.astro +1 -1
- package/src/components/Headline.vue +28 -0
- package/src/components/Jumbatron.vue +31 -31
- package/src/components/LeftSidebar.astro +44 -44
- package/src/components/MainColors.vue +29 -29
- package/src/components/MainInput.vue +18 -18
- package/src/components/MainTable.vue +40 -45
- package/src/components/Modal.astro +30 -0
- package/src/components/PageContent.astro +14 -14
- package/src/components/PostHeader.astro +104 -0
- package/src/components/RightSidebar.astro +15 -11
- package/src/components/SlimBanner.vue +59 -59
- package/src/components/TableOfContents.astro +11 -11
- package/src/components/Translations.vue +27 -0
- package/src/components/flags/FlagPL.vue +2 -2
- package/src/components/flags/FlagUA.vue +2 -2
- package/src/components/layout/Header.astro +50 -69
- package/src/config.ts +47 -42
- package/src/design.config.ts +73 -92
- package/src/env.d.ts +1 -1
- package/src/flag-poland.svg +1 -0
- package/src/flag-uk.svg +1 -0
- package/src/layouts/Layout.astro +51 -0
- package/src/layouts/MainLayout.astro +68 -50
- package/src/pages/components/badges.mdx +37 -35
- package/src/pages/components/breadcrumbs.mdx +100 -103
- package/src/pages/components/buttons.mdx +62 -60
- package/src/pages/components/copyright.mdx +41 -24
- package/src/pages/components/flags.mdx +40 -26
- package/src/pages/components/fuck-russia.mdx +39 -16
- package/src/pages/components/hand-drive.mdx +33 -27
- package/src/pages/components/headline.mdx +129 -0
- package/src/pages/components/icons.astro +52 -45
- package/src/pages/components/input.mdx +45 -14
- package/src/pages/components/jumbatron.mdx +48 -48
- package/src/pages/components/modal.mdx +58 -0
- package/src/pages/components/post-header.mdx +36 -0
- package/src/pages/components/slimbanner.mdx +29 -27
- package/src/pages/components/table.mdx +20 -20
- package/src/pages/core/colors.mdx +8 -8
- package/src/pages/core/introduction.mdx +74 -68
- package/src/pages/core/shadows.astro +20 -20
- package/src/pages/core/typography.astro +46 -46
- package/src/pages/index.astro +67 -52
- package/src/pages/patterns/introduction.mdx +60 -61
- package/src/styles/_variables.scss +75 -75
- package/src/styles/base/_base.scss +158 -158
- package/src/styles/base/_typography.scss +147 -147
- package/src/styles/content.scss +51 -72
- package/src/styles/main.scss +22 -22
- package/tailwind.config.cjs +8 -8
- package/tsconfig.json +11 -11
- package/uno.config.ts +227 -227
- package/src/components/MainButton.vue +0 -26
- package/src/components/MainStatusPill.vue +0 -32
- package/src/pages/components/status-pill.mdx +0 -22
package/src/design.config.ts
CHANGED
|
@@ -1,92 +1,73 @@
|
|
|
1
|
-
export const COLORS = {
|
|
2
|
-
gray: [
|
|
3
|
-
{ name: "100", value: "#f3f4f6" },
|
|
4
|
-
{ name: "200", value: "#e5e7eb" },
|
|
5
|
-
{ name: "300", value: "#b5bbc5" },
|
|
6
|
-
{ name: "400", value: "#9ca3af" },
|
|
7
|
-
{ name: "500", value: "#64748B" },
|
|
8
|
-
],
|
|
9
|
-
blue: [
|
|
10
|
-
{ name: "50", value: "#eff6ff" },
|
|
11
|
-
{ name: "100", value: "#dbeafe" },
|
|
12
|
-
{ name: "200", value: "#bfdbfe" },
|
|
13
|
-
{ name: "300", value: "#93c5fd" },
|
|
14
|
-
{ name: "400", value: "#60a5fa" },
|
|
15
|
-
{ name: "500", value: "#3b82f6" },
|
|
16
|
-
{ name: "600", value: "#02307d" },
|
|
17
|
-
{ name: "700", value: "#001e50" },
|
|
18
|
-
{ name: "800", value: "#00437a" },
|
|
19
|
-
{ name: "900", value: "#000f28" },
|
|
20
|
-
{ name: "901", value: "#0c1a32" },
|
|
21
|
-
{ name: "wrc", value: "#0000c8" },
|
|
22
|
-
],
|
|
23
|
-
lightBlue: [
|
|
24
|
-
{ name: "400", value: "#00b0f0" },
|
|
25
|
-
{ name: "500", value: "#0099da" },
|
|
26
|
-
{ name: "600", value: "#0087c1" },
|
|
27
|
-
{ name: "700", value: "#006ea6" },
|
|
28
|
-
],
|
|
29
|
-
|
|
30
|
-
{ name: "
|
|
31
|
-
{ name: "
|
|
32
|
-
{ name: "
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
{ name: "
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
{ name: "
|
|
43
|
-
{ name: "
|
|
44
|
-
{ name: "
|
|
45
|
-
{ name: "
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
{ name: "
|
|
52
|
-
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
{ name: "
|
|
64
|
-
{ name: "
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
{ name: "
|
|
71
|
-
{ name: "
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
{ name: "xl", value: "0px 32px 64px rgba(0, 0, 0, 0.125)" },
|
|
75
|
-
{ name: "2xl", value: "0px 64px 128px rgba(0, 0, 0, 0.125)" },
|
|
76
|
-
],
|
|
77
|
-
};
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
export const FONTS = {
|
|
81
|
-
types: [
|
|
82
|
-
{ name: "vw_textregular", value: "font-textregular" },
|
|
83
|
-
{ name: "vw_textregular", value: "font-sans" },
|
|
84
|
-
{ name: "vw_textbold", value: "font-textbold" },
|
|
85
|
-
{ name: "vw_headbold", value: "font-headbold" },
|
|
86
|
-
{ name: "vw_headregular", value: "vw_headregular" },
|
|
87
|
-
{ name: "vw_headlight", value: "font-headlight" },
|
|
88
|
-
{ name: "vw_textlight", value: "font-textlight" },
|
|
89
|
-
{ name: "Nova Mono", value: "font-novamono" },
|
|
90
|
-
{ name: "Nova Mono", value: "font-mono" }
|
|
91
|
-
],
|
|
92
|
-
};
|
|
1
|
+
export const COLORS = {
|
|
2
|
+
gray: [
|
|
3
|
+
{ name: "100", value: "#f3f4f6" },
|
|
4
|
+
{ name: "200", value: "#e5e7eb" },
|
|
5
|
+
{ name: "300", value: "#b5bbc5" },
|
|
6
|
+
{ name: "400", value: "#9ca3af" },
|
|
7
|
+
{ name: "500", value: "#64748B" },
|
|
8
|
+
],
|
|
9
|
+
blue: [
|
|
10
|
+
{ name: "50", value: "#eff6ff" },
|
|
11
|
+
{ name: "100", value: "#dbeafe" },
|
|
12
|
+
{ name: "200", value: "#bfdbfe" },
|
|
13
|
+
{ name: "300", value: "#93c5fd" },
|
|
14
|
+
{ name: "400", value: "#60a5fa" },
|
|
15
|
+
{ name: "500", value: "#3b82f6" },
|
|
16
|
+
{ name: "600", value: "#02307d" },
|
|
17
|
+
{ name: "700", value: "#001e50" },
|
|
18
|
+
{ name: "800", value: "#00437a" },
|
|
19
|
+
{ name: "900", value: "#000f28" },
|
|
20
|
+
{ name: "901", value: "#0c1a32" },
|
|
21
|
+
{ name: "wrc", value: "#0000c8" },
|
|
22
|
+
],
|
|
23
|
+
lightBlue: [
|
|
24
|
+
{ name: "400", value: "#00b0f0" },
|
|
25
|
+
{ name: "500", value: "#0099da" },
|
|
26
|
+
{ name: "600", value: "#0087c1" },
|
|
27
|
+
{ name: "700", value: "#006ea6" },
|
|
28
|
+
],
|
|
29
|
+
red: [
|
|
30
|
+
{ name: "400", value: "#f8b5b5" },
|
|
31
|
+
{ name: "500", value: "#f49f9f" },
|
|
32
|
+
{ name: "600", value: "#e57373" },
|
|
33
|
+
],
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
export const TYPOGRAPHY = {
|
|
37
|
+
fontFamily: "Inter, system",
|
|
38
|
+
scale: [
|
|
39
|
+
{ name: "h1", size: "22pt", weight: "400" },
|
|
40
|
+
{ name: "h2", size: "17pt", weight: "500" },
|
|
41
|
+
{ name: "h3", size: "13pt", weight: "600" },
|
|
42
|
+
{ name: "h4", size: "13pt", weight: "500" },
|
|
43
|
+
{ name: "body", size: "13pt", weight: "400" },
|
|
44
|
+
{ name: "button", size: "13pt", weight: "400" },
|
|
45
|
+
{ name: "caption", size: "10pt", weight: "400" },
|
|
46
|
+
],
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
export const SHADOWS = {
|
|
50
|
+
types: [
|
|
51
|
+
{ name: "xs", value: "0px 2px 4px rgba(0, 0, 0, 0.08)" },
|
|
52
|
+
{ name: "sm", value: "0px 4px 8px rgba(0, 0, 0, 0.125)" },
|
|
53
|
+
{ name: "md", value: "0px 8px 16px rgba(0, 0, 0, 0.125)" },
|
|
54
|
+
{ name: "lg", value: "0px 16px 32px rgba(0, 0, 0, 0.125)" },
|
|
55
|
+
{ name: "xl", value: "0px 32px 64px rgba(0, 0, 0, 0.125)" },
|
|
56
|
+
{ name: "2xl", value: "0px 64px 128px rgba(0, 0, 0, 0.125)" },
|
|
57
|
+
],
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
export const FONTS = {
|
|
62
|
+
types: [
|
|
63
|
+
{ name: "vw_textregular", value: "font-textregular" },
|
|
64
|
+
{ name: "vw_textregular", value: "font-sans" },
|
|
65
|
+
{ name: "vw_textbold", value: "font-textbold" },
|
|
66
|
+
{ name: "vw_headbold", value: "font-headbold" },
|
|
67
|
+
{ name: "vw_headregular", value: "font-headregular" },
|
|
68
|
+
{ name: "vw_headlight", value: "font-headlight" },
|
|
69
|
+
{ name: "vw_textlight", value: "font-textlight" },
|
|
70
|
+
{ name: "Nova Mono", value: "font-novamono" },
|
|
71
|
+
{ name: "Nova Mono", value: "font-mono" }
|
|
72
|
+
],
|
|
73
|
+
};
|
package/src/env.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/// <reference path="../.astro/types.d.ts" />
|
|
1
|
+
/// <reference path="../.astro/types.d.ts" />
|
|
2
2
|
/// <reference types="astro/client" />
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?><svg enable-background="new 0 0 512 512" version="1.1" viewBox="0 0 512 512" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><rect width="512" height="512" fill="#F0F0F0"/><rect y="256" width="512" height="256" fill="#D80027"/></svg>
|
package/src/flag-uk.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?><svg enable-background="new 0 0 512 512" version="1.1" viewBox="0 0 512 512" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><rect width="512" height="512" fill="#F0F0F0"/><polygon points="0 304 208 304 208 512 304 512 304 304 512 304 512 208 304 208 304 0 208 0 208 208 0 208" fill="#D80027"/><g fill="#0052B4"><polygon points="406.92 333.91 512 438.99 512 333.91"/><polygon points="333.91 333.91 512 512 512 461.64 384.27 333.91"/><polygon points="464.56 512 333.91 381.34 333.91 512"/></g><polygon points="333.91 333.91 512 512 512 461.64 384.27 333.91" fill="#F0F0F0"/><polygon points="333.91 333.91 512 512 512 461.64 384.27 333.91" fill="#D80027"/><g fill="#0052B4"><polygon points="80.302 333.91 0 414.22 0 333.91"/><polygon points="178.08 356.56 178.08 512 22.658 512"/></g><polygon points="127.72 333.92 0 461.64 0 512 0 512 178.08 333.92" fill="#D80027"/><g fill="#0052B4"><polygon points="105.08 178.09 0 73.007 0 178.09"/><polygon points="178.09 178.09 0 0 0 50.36 127.73 178.09"/><polygon points="47.436 0 178.09 130.66 178.09 0"/></g><polygon points="178.09 178.09 0 0 0 50.36 127.73 178.09" fill="#F0F0F0"/><polygon points="178.09 178.09 0 0 0 50.36 127.73 178.09" fill="#D80027"/><g fill="#0052B4"><polygon points="431.7 178.09 512 97.785 512 178.09"/><polygon points="333.92 155.44 333.92 3e-3 489.34 3e-3"/></g><polygon points="384.28 178.08 512 50.359 512 0 512 0 333.92 178.08" fill="#D80027"/></svg>
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
---
|
|
2
|
+
import HeadCommon from '../components/HeadCommon.astro';
|
|
3
|
+
import HeadSEO from '../components/HeadSEO.astro';
|
|
4
|
+
import Header from '../components/Header/Header.astro';
|
|
5
|
+
import PageContent from '../components/PageContent.astro';
|
|
6
|
+
import LeftSidebar from '../components/LeftSidebar.astro';
|
|
7
|
+
import { Astronav, MenuItems} from "astro-navbar";
|
|
8
|
+
import * as CONFIG from '../config';
|
|
9
|
+
import { t, changeLanguage } from "i18next";
|
|
10
|
+
import '../styles/main.scss';
|
|
11
|
+
import Copyright from '../components/Copyright.astro'
|
|
12
|
+
const locale = "en";
|
|
13
|
+
changeLanguage(locale);
|
|
14
|
+
const year = new Date().getFullYear()
|
|
15
|
+
const { content = {} } = Astro.props;
|
|
16
|
+
const currentPage = Astro.url.pathname;
|
|
17
|
+
// const currentFile = `src/pages${currentPage.replace(/\/$/, '')}.md`;
|
|
18
|
+
const canonicalURL = new URL(Astro.url.pathname, Astro.site).toString();
|
|
19
|
+
console.log('canonicalURL', canonicalURL)
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
<html dir={content.dir ?? 'ltr'} lang={content.lang ?? 'en-us'} class="initial">
|
|
23
|
+
<head>
|
|
24
|
+
<HeadCommon />
|
|
25
|
+
<HeadSEO {content} canonicalURL={canonicalURL} />
|
|
26
|
+
<title>{content.title ? `${content.title} 🚀 ${CONFIG.SITE.title}` : CONFIG.SITE.title}</title>
|
|
27
|
+
</head>
|
|
28
|
+
|
|
29
|
+
<body class="bg-blue-50">
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
<div class=" bg-white z-10 mb-11 relative">
|
|
33
|
+
<slot />
|
|
34
|
+
</div>
|
|
35
|
+
<footer>
|
|
36
|
+
<Copyright class="fixed bottom-0 z-0 w-full">
|
|
37
|
+
<a slot="middle-item" href={`https://${import.meta.env.COPYRIGHT_DOMAIN}`} target="_blank" rel="follow noopener" class="flex my-auto items-center mx-auto" title={`Proudly made in Poland by ${import.meta.env.COPYRIGHT_DOMAIN}`}>
|
|
38
|
+
<div class="text-xxs md:text-xs mr-1 mt-0.5 whitespace-nowrap">createdy by</div>
|
|
39
|
+
<img
|
|
40
|
+
class="h-4 md:h-5 w-min"
|
|
41
|
+
src={`/${import.meta.env.COPYRIGHT_IMG}`}
|
|
42
|
+
alt="Modern Websites"
|
|
43
|
+
width="126"
|
|
44
|
+
height="23"
|
|
45
|
+
loading="lazy"
|
|
46
|
+
>
|
|
47
|
+
</a>
|
|
48
|
+
</Copyright>
|
|
49
|
+
</footer>
|
|
50
|
+
</body>
|
|
51
|
+
</html>
|
|
@@ -1,50 +1,68 @@
|
|
|
1
|
-
---
|
|
2
|
-
import HeadCommon from '../components/HeadCommon.astro';
|
|
3
|
-
import HeadSEO from '../components/HeadSEO.astro';
|
|
4
|
-
import Header from '../components/Header/Header.astro';
|
|
5
|
-
import PageContent from '../components/PageContent.astro';
|
|
6
|
-
import LeftSidebar from '../components/LeftSidebar.astro';
|
|
7
|
-
import
|
|
8
|
-
import * as CONFIG from '../config';
|
|
9
|
-
import { t, changeLanguage } from "i18next";
|
|
10
|
-
import '../styles/main.scss';
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
|
|
17
|
-
const
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
<
|
|
25
|
-
<
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
</
|
|
1
|
+
---
|
|
2
|
+
import HeadCommon from '../components/HeadCommon.astro';
|
|
3
|
+
import HeadSEO from '../components/HeadSEO.astro';
|
|
4
|
+
import Header from '../components/Header/Header.astro';
|
|
5
|
+
import PageContent from '../components/PageContent.astro';
|
|
6
|
+
import LeftSidebar from '../components/LeftSidebar.astro';
|
|
7
|
+
import { Astronav, MenuItems} from "astro-navbar";
|
|
8
|
+
import * as CONFIG from '../config';
|
|
9
|
+
import { t, changeLanguage } from "i18next";
|
|
10
|
+
import '../styles/main.scss';
|
|
11
|
+
import Copyright from '../components/Copyright.astro'
|
|
12
|
+
const locale = "en";
|
|
13
|
+
changeLanguage(locale);
|
|
14
|
+
const year = new Date().getFullYear()
|
|
15
|
+
const { content = {} } = Astro.props;
|
|
16
|
+
const currentPage = Astro.url.pathname;
|
|
17
|
+
// const currentFile = `src/pages${currentPage.replace(/\/$/, '')}.md`;
|
|
18
|
+
const canonicalURL = new URL(Astro.url.pathname, Astro.site).toString();
|
|
19
|
+
console.log('canonicalURL', canonicalURL)
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
<html dir={content.dir ?? 'ltr'} lang={content.lang ?? 'en-us'} class="initial">
|
|
23
|
+
<head>
|
|
24
|
+
<HeadCommon />
|
|
25
|
+
<HeadSEO {content} canonicalURL={canonicalURL} />
|
|
26
|
+
<title>{content.title ? `${content.title} 🚀 ${CONFIG.SITE.title}` : CONFIG.SITE.title}</title>
|
|
27
|
+
</head>
|
|
28
|
+
|
|
29
|
+
<body class="bg-blue-50">
|
|
30
|
+
<div class="sticky top-0 z-10 w-full">
|
|
31
|
+
<Header currentPage={currentPage} />
|
|
32
|
+
</div>
|
|
33
|
+
|
|
34
|
+
<div class="flex bg-white z-10 mb-11 relative">
|
|
35
|
+
<div class="sticky top-0 flex sm:(h-screen w-64) z-50 ">
|
|
36
|
+
<div class="mr-auto pb-11 mb-11">
|
|
37
|
+
<Astronav>
|
|
38
|
+
<MenuItems class="hidden z-20 bg-white absolute sm:(static bg-blue-500 bg-opacity-5 lg:flex)">
|
|
39
|
+
<LeftSidebar currentPage={currentPage} />
|
|
40
|
+
</MenuItems>
|
|
41
|
+
</Astronav>
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
<main class="pb-4 px-4 sm:px-8 col-auto sm:(pb-32) overflow-auto w-full">
|
|
45
|
+
<div>
|
|
46
|
+
<PageContent content={content}>
|
|
47
|
+
<slot />
|
|
48
|
+
</PageContent>
|
|
49
|
+
</div>
|
|
50
|
+
</main>
|
|
51
|
+
</div>
|
|
52
|
+
<footer>
|
|
53
|
+
<Copyright class="fixed bottom-0 z-0 w-full">
|
|
54
|
+
<a slot="middle-item" href={`https://${import.meta.env.COPYRIGHT_DOMAIN}`} target="_blank" rel="follow noopener" class="flex my-auto items-center mx-auto" title={`Proudly made in Poland by ${import.meta.env.COPYRIGHT_DOMAIN}`}>
|
|
55
|
+
<div class="text-xxs md:text-xs mr-1 mt-0.5 whitespace-nowrap">createdy by</div>
|
|
56
|
+
<img
|
|
57
|
+
class="h-4 md:h-5 w-min"
|
|
58
|
+
src={`/${import.meta.env.COPYRIGHT_IMG}`}
|
|
59
|
+
alt="Modern Websites"
|
|
60
|
+
width="126"
|
|
61
|
+
height="23"
|
|
62
|
+
loading="lazy"
|
|
63
|
+
>
|
|
64
|
+
</a>
|
|
65
|
+
</Copyright>
|
|
66
|
+
</footer>
|
|
67
|
+
</body>
|
|
68
|
+
</html>
|
|
@@ -1,35 +1,37 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: "Badges"
|
|
3
|
-
layout: "../../layouts/MainLayout.astro"
|
|
4
|
-
---
|
|
5
|
-
import Badges from '../../components/Badges.vue'
|
|
6
|
-
|
|
7
|
-
## Badges
|
|
8
|
-
|
|
9
|
-
### Badges - GTI
|
|
10
|
-
<div class="component-preview">
|
|
11
|
-
<div class="relative min-h-6 ">
|
|
12
|
-
<Badges badges={['GTI']} class
|
|
13
|
-
</div>
|
|
14
|
-
</div>
|
|
15
|
-
```js
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
### Badges - Motorsport
|
|
24
|
-
<div class="component-preview">
|
|
25
|
-
<div class="relative min-h-6 ">
|
|
26
|
-
<Badges badges={['Motorsport']} class
|
|
27
|
-
</div>
|
|
28
|
-
</div>
|
|
29
|
-
|
|
30
|
-
```js
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
```
|
|
1
|
+
---
|
|
2
|
+
title: "Badges"
|
|
3
|
+
layout: "../../layouts/MainLayout.astro"
|
|
4
|
+
---
|
|
5
|
+
import Badges from '../../components/Badges.vue'
|
|
6
|
+
|
|
7
|
+
## Badges
|
|
8
|
+
|
|
9
|
+
### Badges - GTI
|
|
10
|
+
<div class="component-preview">
|
|
11
|
+
<div class="relative min-h-6 ">
|
|
12
|
+
<Badges badges={['GTI']} class="top-2" />
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
```js
|
|
16
|
+
<div class="relative min-h-14 ">
|
|
17
|
+
<Badges badges={['GTI']} class="top-2" />
|
|
18
|
+
</div>
|
|
19
|
+
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Badges - Motorsport
|
|
24
|
+
<div class="component-preview">
|
|
25
|
+
<div class="relative min-h-6 ">
|
|
26
|
+
<Badges badges={['Motorsport']} class="top-2" />
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
```js
|
|
31
|
+
<div class="relative min-h-14 ">
|
|
32
|
+
<Badges badges={['Motorsport']} class="top-2" />
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
|
|
@@ -1,103 +1,100 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: "Breadcrumbs"
|
|
3
|
-
layout: "../../layouts/MainLayout.astro"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
---
|
|
7
|
-
import Breadcrumbs from '../../components/Breadcrumbs.vue'
|
|
8
|
-
|
|
9
|
-
## Breadcrumbs
|
|
10
|
-
|
|
11
|
-
Breadcrumbs component
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
### simply
|
|
77
|
-
|
|
78
|
-
<div class="component-preview">
|
|
79
|
-
<Breadcrumbs
|
|
80
|
-
breadcrumbs={ [ {"name": "Level1", "path": "
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
text-back="Back"
|
|
102
|
-
/>
|
|
103
|
-
```
|
|
1
|
+
---
|
|
2
|
+
title: "Breadcrumbs"
|
|
3
|
+
layout: "../../layouts/MainLayout.astro"
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
import Breadcrumbs from '../../components/Breadcrumbs.vue'
|
|
8
|
+
|
|
9
|
+
## Breadcrumbs
|
|
10
|
+
|
|
11
|
+
Breadcrumbs component with BreadcrumbList Microdata
|
|
12
|
+
#
|
|
13
|
+
|
|
14
|
+
https://schema.org/BreadcrumbList
|
|
15
|
+
|
|
16
|
+
https://schema.org/ListItem
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### show back
|
|
21
|
+
|
|
22
|
+
<div class="component-preview">
|
|
23
|
+
<Breadcrumbs
|
|
24
|
+
breadcrumbs={ [ {"name": "Level1", "path": "#level2"}, {"name": "Level 2", "path": "#level2"}, {"name": "Level 3", "path": "#level3"} ] }
|
|
25
|
+
product-number="6R0XXXXXX"
|
|
26
|
+
class="py-1 order-0 px-1 max-w-full flex bg-white"
|
|
27
|
+
show-back
|
|
28
|
+
text-back="Home"
|
|
29
|
+
/>
|
|
30
|
+
</div>
|
|
31
|
+
|
|
32
|
+
```js
|
|
33
|
+
<Breadcrumbs
|
|
34
|
+
breadcrumbs={
|
|
35
|
+
[
|
|
36
|
+
{"name": "Level1", "path": "level1"},
|
|
37
|
+
{"name": "Level 2", "path": "level2"},
|
|
38
|
+
{"name": "Level 3", "path": "level3"}
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
product-number="6R0XXXXXX"
|
|
42
|
+
class="py-1 order-0 px-1 max-w-full flex bg-white"
|
|
43
|
+
show-back
|
|
44
|
+
text-back="Home"
|
|
45
|
+
/>
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
### show home
|
|
50
|
+
|
|
51
|
+
<div class="component-preview">
|
|
52
|
+
<Breadcrumbs
|
|
53
|
+
breadcrumbs={ [ {"name": "Level1", "path": "#level2"}, {"name": "Level 2", "path": "#level2"}, {"name": "Level 3", "path": "#level3"} ] }
|
|
54
|
+
product-number="6R0XXXXXX"
|
|
55
|
+
class="py-1 order-0 px-1 max-w-full flex bg-white"
|
|
56
|
+
show-home
|
|
57
|
+
/>
|
|
58
|
+
</div>
|
|
59
|
+
|
|
60
|
+
```js
|
|
61
|
+
<Breadcrumbs
|
|
62
|
+
breadcrumbs={
|
|
63
|
+
[
|
|
64
|
+
{"name": "Level1", "path": "level 1"},
|
|
65
|
+
{"name": "Level 2", "path": "level2"},
|
|
66
|
+
{"name": "Level 3", "path": "level3"}
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
product-number="6R0XXXXXX"
|
|
70
|
+
class="py-1 order-0 px-1 max-w-full flex bg-white"
|
|
71
|
+
show-home
|
|
72
|
+
/>
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
### simply
|
|
77
|
+
|
|
78
|
+
<div class="component-preview">
|
|
79
|
+
<Breadcrumbs
|
|
80
|
+
breadcrumbs={ [ {"name": "Level1", "path": "#level2"}, {"name": "Level 2", "path": "#level2"}, {"name": "Level 3", "path": "#level3"} ] }
|
|
81
|
+
product-number="6R0XXXXXX"
|
|
82
|
+
class="py-1 order-0 px-1 max-w-full flex bg-white"
|
|
83
|
+
/>
|
|
84
|
+
</div>
|
|
85
|
+
|
|
86
|
+
```js
|
|
87
|
+
<Breadcrumbs
|
|
88
|
+
breadcrumbs={
|
|
89
|
+
[
|
|
90
|
+
{"name": "Level1", "path": "level 1"},
|
|
91
|
+
{"name": "Level 2", "path": "level2"},
|
|
92
|
+
{"name": "Level 3", "path": "level3"}
|
|
93
|
+
]
|
|
94
|
+
}
|
|
95
|
+
product-number="6R0XXXXXX"
|
|
96
|
+
class="py-1 order-0 px-1 max-w-full flex bg-white"
|
|
97
|
+
show-back
|
|
98
|
+
text-back="Back"
|
|
99
|
+
/>
|
|
100
|
+
```
|