@sharadox/sharadox-web-library 0.41.0 → 0.42.0
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/README.md +1 -1
- package/distribution/component/footer/index.d.ts.map +1 -1
- package/distribution/component/footer/index.js +8 -1
- package/distribution/component/footer/index.js.map +1 -1
- package/distribution/component/navigation/index.d.ts +1 -1
- package/distribution/component/navigation/index.js +2 -2
- package/distribution/component/navigation/index.module.css +1 -1
- package/distribution/component/navigation/index.module.scss +3 -3
- package/distribution/component/portfolio/browser/index.d.ts +7 -0
- package/distribution/component/portfolio/browser/index.d.ts.map +1 -0
- package/distribution/component/portfolio/browser/index.js +26 -0
- package/distribution/component/portfolio/browser/index.js.map +1 -0
- package/distribution/component/portfolio/browser/index.module.css +1 -0
- package/distribution/component/portfolio/browser/index.module.scss +147 -0
- package/distribution/component/portfolio/browser/type.d.ts +5 -0
- package/distribution/component/portfolio/browser/type.d.ts.map +1 -0
- package/distribution/component/portfolio/browser/type.js +2 -0
- package/distribution/component/portfolio/browser/type.js.map +1 -0
- package/distribution/component/portfolio/index.d.ts +7 -0
- package/distribution/component/portfolio/index.d.ts.map +1 -0
- package/distribution/component/portfolio/index.js +17 -0
- package/distribution/component/portfolio/index.js.map +1 -0
- package/distribution/component/portfolio/index.module.css +1 -0
- package/distribution/component/portfolio/index.module.scss +14 -0
- package/distribution/component/portfolio/project/index.d.ts +7 -0
- package/distribution/component/portfolio/project/index.d.ts.map +1 -0
- package/distribution/component/portfolio/project/index.js +23 -0
- package/distribution/component/portfolio/project/index.js.map +1 -0
- package/distribution/component/portfolio/project/index.module.css +1 -0
- package/distribution/component/portfolio/project/index.module.scss +116 -0
- package/distribution/component/portfolio/project/type.d.ts +9 -0
- package/distribution/component/portfolio/project/type.d.ts.map +1 -0
- package/distribution/component/portfolio/project/type.js +2 -0
- package/distribution/component/portfolio/project/type.js.map +1 -0
- package/distribution/component/portfolio/screens/index.d.ts +7 -0
- package/distribution/component/portfolio/screens/index.d.ts.map +1 -0
- package/distribution/component/portfolio/screens/index.js +13 -0
- package/distribution/component/portfolio/screens/index.js.map +1 -0
- package/distribution/component/portfolio/screens/index.module.css +1 -0
- package/distribution/component/portfolio/screens/index.module.scss +118 -0
- package/distribution/component/portfolio/screens/type.d.ts +7 -0
- package/distribution/component/portfolio/screens/type.d.ts.map +1 -0
- package/distribution/component/portfolio/screens/type.js +2 -0
- package/distribution/component/portfolio/screens/type.js.map +1 -0
- package/distribution/component/portfolio/select-projects/index.d.ts +45 -0
- package/distribution/component/portfolio/select-projects/index.d.ts.map +1 -0
- package/distribution/component/portfolio/select-projects/index.js +30 -0
- package/distribution/component/portfolio/select-projects/index.js.map +1 -0
- package/distribution/component/portfolio/select-projects/type.d.ts +11 -0
- package/distribution/component/portfolio/select-projects/type.d.ts.map +1 -0
- package/distribution/component/portfolio/select-projects/type.js +2 -0
- package/distribution/component/portfolio/select-projects/type.js.map +1 -0
- package/distribution/component/portfolio/type.d.ts +5 -0
- package/distribution/component/portfolio/type.d.ts.map +1 -0
- package/distribution/component/portfolio/type.js +2 -0
- package/distribution/component/portfolio/type.js.map +1 -0
- package/distribution/content/navigation/index.d.ts +4 -0
- package/distribution/content/navigation/index.d.ts.map +1 -1
- package/distribution/content/navigation/index.js +9 -1
- package/distribution/content/navigation/index.js.map +1 -1
- package/distribution/content/portfolio/index.d.ts +140 -0
- package/distribution/content/portfolio/index.d.ts.map +1 -0
- package/distribution/content/portfolio/index.js +66 -0
- package/distribution/content/portfolio/index.js.map +1 -0
- package/distribution/content/section/index.d.ts +5 -0
- package/distribution/content/section/index.d.ts.map +1 -1
- package/distribution/content/section/index.js +1 -0
- package/distribution/content/section/index.js.map +1 -1
- package/distribution/content/section-indicator/index.d.ts +4 -0
- package/distribution/content/section-indicator/index.d.ts.map +1 -1
- package/distribution/content/section-indicator/index.js +1 -0
- package/distribution/content/section-indicator/index.js.map +1 -1
- package/llms.txt +2 -1
- package/package.json +1 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import Image from "next/image";
|
|
3
|
+
import styles from "./index.module.css";
|
|
4
|
+
/**
|
|
5
|
+
* The project live, on a computer and on a phone: a browser window and a phone in front of it, each scrolling slowly
|
|
6
|
+
* through the whole page and back (paused while pointed at, and still for visitors who prefer less motion).
|
|
7
|
+
*/
|
|
8
|
+
export function Screens({ project, label }) {
|
|
9
|
+
const { computer, phone } = project.screens;
|
|
10
|
+
const domain = new URL(project.url).host;
|
|
11
|
+
return (_jsxs("div", { className: styles.stage, role: "img", "aria-label": label, children: [_jsx("div", { className: styles.glow, "aria-hidden": true }), _jsxs("div", { className: styles.browser, "aria-hidden": true, children: [_jsxs("div", { className: styles.bar, children: [_jsxs("span", { className: styles.dots, children: [_jsx("i", {}), _jsx("i", {}), _jsx("i", {})] }), _jsx("span", { className: `monospace ${styles.address}`, children: domain })] }), _jsx("div", { className: styles.viewport, children: _jsx(Image, { src: computer.src, width: computer.width, height: computer.height, alt: "", sizes: "(min-width: 960px) 720px, 100vw", className: styles.page }) })] }), _jsx("div", { className: styles.phone, "aria-hidden": true, children: _jsx("div", { className: styles.viewport, children: _jsx(Image, { src: phone.src, width: phone.width, height: phone.height, alt: "", sizes: "220px", className: styles.page }) }) })] }));
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/portfolio/screens/index.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,YAAY,CAAC;AAC/B,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC;;;GAGG;AACH,MAAM,UAAU,OAAO,CAAC,EAAE,OAAO,EAAE,KAAK,EAAqB;IAC3D,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC,OAAO,CAAC;IAC5C,MAAM,MAAM,GAAG,IAAI,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC;IACzC,OAAO,CACL,eAAK,SAAS,EAAE,MAAM,CAAC,KAAK,EAAE,IAAI,EAAC,KAAK,gBAAa,KAAK,aACxD,cAAK,SAAS,EAAE,MAAM,CAAC,IAAI,wBAAgB,EAC3C,eAAK,SAAS,EAAE,MAAM,CAAC,OAAO,kCAC5B,eAAK,SAAS,EAAE,MAAM,CAAC,GAAG,aACxB,gBAAM,SAAS,EAAE,MAAM,CAAC,IAAI,aAC1B,aAAK,EACL,aAAK,EACL,aAAK,IACA,EACP,eAAM,SAAS,EAAE,aAAa,MAAM,CAAC,OAAO,EAAE,YAAG,MAAM,GAAQ,IAC3D,EACN,cAAK,SAAS,EAAE,MAAM,CAAC,QAAQ,YAC7B,KAAC,KAAK,IACJ,GAAG,EAAE,QAAQ,CAAC,GAAG,EACjB,KAAK,EAAE,QAAQ,CAAC,KAAK,EACrB,MAAM,EAAE,QAAQ,CAAC,MAAM,EACvB,GAAG,EAAC,EAAE,EACN,KAAK,EAAC,iCAAiC,EACvC,SAAS,EAAE,MAAM,CAAC,IAAI,GACtB,GACE,IACF,EACN,cAAK,SAAS,EAAE,MAAM,CAAC,KAAK,iCAC1B,cAAK,SAAS,EAAE,MAAM,CAAC,QAAQ,YAC7B,KAAC,KAAK,IACJ,GAAG,EAAE,KAAK,CAAC,GAAG,EACd,KAAK,EAAE,KAAK,CAAC,KAAK,EAClB,MAAM,EAAE,KAAK,CAAC,MAAM,EACpB,GAAG,EAAC,EAAE,EACN,KAAK,EAAC,OAAO,EACb,SAAS,EAAE,MAAM,CAAC,IAAI,GACtB,GACE,GACF,IACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.stage{position:relative;display:grid;justify-content:stretch;padding:clamp(28px,5vw,64px) clamp(28px,7vw,96px) clamp(48px,7vw,88px) clamp(20px,4vw,48px);perspective:1600px}.glow{position:absolute;inset:10% 6% 0;background:radial-gradient(closest-side, color-mix(in srgb, var(--foreground) 35%, transparent), transparent);filter:blur(40px);opacity:.55;pointer-events:none}.browser,.phone{position:relative;box-sizing:border-box;background:color-mix(in srgb, var(--foreground) 9%, var(--background));border:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);overflow:hidden;box-shadow:0 40px 80px -40px color-mix(in srgb, var(--foreground) 35%, transparent),0 1px 0 color-mix(in srgb, var(--foreground) 20%, transparent) inset;transition:transform .9s cubic-bezier(0.22, 1, 0.36, 1)}.browser{display:grid;grid-template-rows:auto 1fr;justify-content:stretch;border-radius:14px;transform:rotateY(8deg) rotateX(2deg);transform-origin:left center}.browser .viewport{aspect-ratio:16/10}.stage:hover .browser,.stage:hover .phone{transform:none}.bar{display:grid;grid-template-columns:auto 1fr auto;gap:12px;padding:10px 14px;border-bottom:1px solid var(--line-2)}.bar::after{content:"";width:42px}.dots{display:flex;gap:6px}.dots i{width:9px;height:9px;border-radius:50%;background:color-mix(in srgb, var(--foreground) 20%, transparent)}.address{justify-self:center;padding:4px 14px;border:1px solid var(--line-2);border-radius:99px;background:color-mix(in srgb, var(--foreground) 10%, var(--background));font-size:11px;color:var(--foreground-2)}.phone{position:absolute;right:clamp(8px,3vw,40px);bottom:clamp(12px,3vw,36px);width:clamp(104px,22%,200px);padding:5px;border-radius:26px;transform:rotateY(-10deg) translateZ(40px)}.phone .viewport{aspect-ratio:9/19.5;border-radius:21px}.viewport{position:relative;overflow:hidden;container-type:size;background:var(--background)}.page{display:block;width:100%;height:auto;animation:screen-scroll 48s ease-in-out infinite alternate}@media(prefers-reduced-motion: reduce){.page{animation:none}}.phone .page{animation-duration:60s}.stage:hover .page{animation-play-state:paused}@keyframes screen-scroll{0%,4%{transform:translateY(0)}96%,100%{transform:translateY(calc(-100% + 100cqh))}}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
@use "style/token" as *;
|
|
2
|
+
@use "style/object" as *;
|
|
3
|
+
|
|
4
|
+
/* The browser fills the stage; the phone stands in front of its lower right corner. */
|
|
5
|
+
.stage {
|
|
6
|
+
position: relative;
|
|
7
|
+
display: grid;
|
|
8
|
+
justify-content: stretch;
|
|
9
|
+
padding: clamp(28px, 5vw, 64px) clamp(28px, 7vw, 96px) clamp(48px, 7vw, 88px) clamp(20px, 4vw, 48px);
|
|
10
|
+
perspective: 1600px;
|
|
11
|
+
}
|
|
12
|
+
.glow {
|
|
13
|
+
position: absolute;
|
|
14
|
+
inset: 10% 6% 0;
|
|
15
|
+
background: radial-gradient(closest-side, tint($glow), transparent);
|
|
16
|
+
filter: blur(40px);
|
|
17
|
+
opacity: 0.55;
|
|
18
|
+
pointer-events: none;
|
|
19
|
+
}
|
|
20
|
+
/* A window or a phone: a raised face, its page scrolling inside. */
|
|
21
|
+
.browser,
|
|
22
|
+
.phone {
|
|
23
|
+
position: relative;
|
|
24
|
+
@include face;
|
|
25
|
+
overflow: hidden;
|
|
26
|
+
box-shadow:
|
|
27
|
+
0 40px 80px -40px tint($glow),
|
|
28
|
+
0 1px 0 tint($faint) inset;
|
|
29
|
+
transition: transform 0.9s $ease;
|
|
30
|
+
}
|
|
31
|
+
.browser {
|
|
32
|
+
display: grid;
|
|
33
|
+
grid-template-rows: auto 1fr;
|
|
34
|
+
justify-content: stretch;
|
|
35
|
+
border-radius: 14px;
|
|
36
|
+
transform: rotateY(8deg) rotateX(2deg);
|
|
37
|
+
transform-origin: left center;
|
|
38
|
+
.viewport {
|
|
39
|
+
aspect-ratio: 16 / 10;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
.stage:hover .browser,
|
|
43
|
+
.stage:hover .phone {
|
|
44
|
+
transform: none;
|
|
45
|
+
}
|
|
46
|
+
.bar {
|
|
47
|
+
display: grid;
|
|
48
|
+
grid-template-columns: auto 1fr auto;
|
|
49
|
+
gap: 12px;
|
|
50
|
+
padding: 10px 14px;
|
|
51
|
+
border-bottom: 1px solid var(--line-2);
|
|
52
|
+
&::after {
|
|
53
|
+
content: "";
|
|
54
|
+
width: 42px;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
.dots {
|
|
58
|
+
display: flex;
|
|
59
|
+
gap: 6px;
|
|
60
|
+
i {
|
|
61
|
+
width: 9px;
|
|
62
|
+
height: 9px;
|
|
63
|
+
border-radius: 50%;
|
|
64
|
+
background: tint($faint);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
.address {
|
|
68
|
+
justify-self: center;
|
|
69
|
+
padding: 4px 14px;
|
|
70
|
+
border: 1px solid var(--line-2);
|
|
71
|
+
border-radius: 99px;
|
|
72
|
+
background: surface($hint);
|
|
73
|
+
font-size: 11px;
|
|
74
|
+
color: var(--foreground-2);
|
|
75
|
+
}
|
|
76
|
+
.phone {
|
|
77
|
+
position: absolute;
|
|
78
|
+
right: clamp(8px, 3vw, 40px);
|
|
79
|
+
bottom: clamp(12px, 3vw, 36px);
|
|
80
|
+
width: clamp(104px, 22%, 200px);
|
|
81
|
+
padding: 5px;
|
|
82
|
+
border-radius: 26px;
|
|
83
|
+
transform: rotateY(-10deg) translateZ(40px);
|
|
84
|
+
.viewport {
|
|
85
|
+
aspect-ratio: 9 / 19.5;
|
|
86
|
+
border-radius: 21px;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
/* The page inside a screen glides from its top to its bottom and back: the viewport is its container, so the image
|
|
90
|
+
stops exactly as its end comes into view. */
|
|
91
|
+
.viewport {
|
|
92
|
+
position: relative;
|
|
93
|
+
overflow: hidden;
|
|
94
|
+
container-type: size;
|
|
95
|
+
background: var(--background);
|
|
96
|
+
}
|
|
97
|
+
.page {
|
|
98
|
+
display: block;
|
|
99
|
+
width: 100%;
|
|
100
|
+
height: auto;
|
|
101
|
+
@include loop(screen-scroll 48s ease-in-out infinite alternate);
|
|
102
|
+
.phone & {
|
|
103
|
+
animation-duration: 60s;
|
|
104
|
+
}
|
|
105
|
+
.stage:hover & {
|
|
106
|
+
animation-play-state: paused;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
@keyframes screen-scroll {
|
|
110
|
+
0%,
|
|
111
|
+
4% {
|
|
112
|
+
transform: translateY(0);
|
|
113
|
+
}
|
|
114
|
+
96%,
|
|
115
|
+
100% {
|
|
116
|
+
transform: translateY(calc(-100% + 100cqh));
|
|
117
|
+
}
|
|
118
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Project } from "@sharadox/sharadox-web-library/component/portfolio/select-projects/type";
|
|
2
|
+
export interface ScreensProperties {
|
|
3
|
+
project: Project;
|
|
4
|
+
/** What the screens show, for screen readers. */
|
|
5
|
+
label: string;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../source/component/portfolio/screens/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yEAAyE,CAAC;AAEvG,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,iDAAiD;IACjD,KAAK,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../source/component/portfolio/screens/type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { Locale } from "@sharadox/sharadox-web-library/content/locale/type";
|
|
2
|
+
import type { Project, ProjectChoice } from "@sharadox/sharadox-web-library/component/portfolio/select-projects/type";
|
|
3
|
+
/** A service card key's short name, as its chip says it ("Website", "Alojamento"). */
|
|
4
|
+
export declare const serviceName: (key: string, locale: Locale) => string;
|
|
5
|
+
/** The year a project went live. */
|
|
6
|
+
export declare const yearOf: (project: Project) => string;
|
|
7
|
+
/** What there is to filter by, in the services' own order, clients A to Z, and years newest first. */
|
|
8
|
+
export declare function filterOptions(projects: readonly Project[]): {
|
|
9
|
+
services: string[];
|
|
10
|
+
clients: "Luis Pires Decor"[];
|
|
11
|
+
years: string[];
|
|
12
|
+
};
|
|
13
|
+
/** The projects the visitor's filters keep, in the order they picked. */
|
|
14
|
+
export declare function selectProjects(projects: readonly Project[], choice: ProjectChoice, locale: Locale): {
|
|
15
|
+
readonly key: "luis-pires-decor";
|
|
16
|
+
readonly client: "Luis Pires Decor";
|
|
17
|
+
readonly name: {
|
|
18
|
+
readonly en: "Made by hand, now online.";
|
|
19
|
+
readonly pt: "Feito à mão, agora online.";
|
|
20
|
+
};
|
|
21
|
+
readonly text: {
|
|
22
|
+
readonly en: "An upholstery and interiors workshop in the Algarve since 1996. A bilingual website with a 3D logo, its work in a filterable portfolio, booking requests that reach the workshop by email, hosting on its own domain, professional email, and an app customers can install.";
|
|
23
|
+
readonly pt: "Uma oficina de estofos e decoração no Algarve desde 1996. Um website bilingue com um logótipo em 3D, o seu trabalho num portefólio com filtros, pedidos de visita que chegam à oficina por email, alojamento no seu próprio domínio, email profissional e uma aplicação que os clientes podem instalar.";
|
|
24
|
+
};
|
|
25
|
+
readonly place: {
|
|
26
|
+
readonly en: "Algarve, Portugal";
|
|
27
|
+
readonly pt: "Algarve, Portugal";
|
|
28
|
+
};
|
|
29
|
+
readonly date: "2026-11-17";
|
|
30
|
+
readonly url: "https://luispiresdecor.com";
|
|
31
|
+
readonly services: readonly ["website", "hosting", "professional-email", "progressive-web-application"];
|
|
32
|
+
readonly screens: {
|
|
33
|
+
readonly computer: {
|
|
34
|
+
readonly src: "/portfolio/luis-pires-decor/computer.webp";
|
|
35
|
+
readonly width: 1200;
|
|
36
|
+
readonly height: 12309;
|
|
37
|
+
};
|
|
38
|
+
readonly phone: {
|
|
39
|
+
readonly src: "/portfolio/luis-pires-decor/phone.webp";
|
|
40
|
+
readonly width: 390;
|
|
41
|
+
readonly height: 16000;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
}[];
|
|
45
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/portfolio/select-projects/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AACjF,OAAO,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,yEAAyE,CAAC;AAOtH,sFAAsF;AACtF,eAAO,MAAM,WAAW,GAAI,KAAK,MAAM,EAAE,QAAQ,MAAM,WAAgE,CAAC;AAExH,oCAAoC;AACpC,eAAO,MAAM,MAAM,GAAI,SAAS,OAAO,WAA6B,CAAC;AAErE,sGAAsG;AACtG,wBAAgB,aAAa,CAAC,QAAQ,EAAE,SAAS,OAAO,EAAE;;;;EAOzD;AAED,yEAAyE;AACzE,wBAAgB,cAAc,CAAC,QAAQ,EAAE,SAAS,OAAO,EAAE,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAcjG"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { SERVICES } from "@sharadox/sharadox-web-library/content/services";
|
|
2
|
+
/** Every service card's key and chip name. */
|
|
3
|
+
const CARDS = SERVICES.items.flatMap((group) => group.cards.map(({ key, chip }) => ({ key, chip })));
|
|
4
|
+
/** A service card key's short name, as its chip says it ("Website", "Alojamento"). */
|
|
5
|
+
export const serviceName = (key, locale) => CARDS.find((card) => card.key === key)?.chip[locale] ?? key;
|
|
6
|
+
/** The year a project went live. */
|
|
7
|
+
export const yearOf = (project) => project.date.slice(0, 4);
|
|
8
|
+
/** What there is to filter by, in the services' own order, clients A to Z, and years newest first. */
|
|
9
|
+
export function filterOptions(projects) {
|
|
10
|
+
const used = new Set(projects.flatMap((project) => project.services));
|
|
11
|
+
return {
|
|
12
|
+
services: CARDS.map((card) => card.key).filter((key) => used.has(key)),
|
|
13
|
+
clients: [...new Set(projects.map((project) => project.client))].sort((a, b) => a.localeCompare(b)),
|
|
14
|
+
years: [...new Set(projects.map(yearOf))].sort().reverse(),
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
/** The projects the visitor's filters keep, in the order they picked. */
|
|
18
|
+
export function selectProjects(projects, choice, locale) {
|
|
19
|
+
const kept = projects.filter((project) => (!choice.service || project.services.includes(choice.service)) &&
|
|
20
|
+
(!choice.client || project.client === choice.client) &&
|
|
21
|
+
(!choice.year || yearOf(project) === choice.year));
|
|
22
|
+
const order = {
|
|
23
|
+
newest: (a, b) => b.date.localeCompare(a.date),
|
|
24
|
+
oldest: (a, b) => a.date.localeCompare(b.date),
|
|
25
|
+
client: (a, b) => a.client.localeCompare(b.client, locale),
|
|
26
|
+
name: (a, b) => a.name[locale].localeCompare(b.name[locale], locale),
|
|
27
|
+
};
|
|
28
|
+
return [...kept].sort(order[choice.sort]);
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/portfolio/select-projects/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAI3E,8CAA8C;AAC9C,MAAM,KAAK,GAAiE,QAAQ,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE,CAC3G,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC,CACpD,CAAC;AAEF,sFAAsF;AACtF,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,GAAW,EAAE,MAAc,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,KAAK,GAAG,CAAC,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,GAAG,CAAC;AAExH,oCAAoC;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C,MAAM,KAAK,MAAM,CAAC,MAAM,CAAC;QACpD,CAAC,CAAC,MAAM,CAAC,IAAI,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,MAAM,CAAC,IAAI,CAAC,CACpD,CAAC;IACF,MAAM,KAAK,GAAsE;QAC/E,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC;QAC9C,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC;QAC9C,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC;QAC1D,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;KACrE,CAAC;IACF,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC;AAC5C,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { PORTFOLIO } from "@sharadox/sharadox-web-library/content/portfolio";
|
|
2
|
+
export type Project = (typeof PORTFOLIO.projects)[number];
|
|
3
|
+
export type SortKey = (typeof PORTFOLIO.sorts)[number]["key"];
|
|
4
|
+
/** What the visitor picked: each filter empty for all. */
|
|
5
|
+
export interface ProjectChoice {
|
|
6
|
+
service: string;
|
|
7
|
+
client: string;
|
|
8
|
+
year: string;
|
|
9
|
+
sort: SortKey;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../source/component/portfolio/select-projects/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kDAAkD,CAAC;AAElF,MAAM,MAAM,OAAO,GAAG,CAAC,OAAO,SAAS,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC;AAC1D,MAAM,MAAM,OAAO,GAAG,CAAC,OAAO,SAAS,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,CAAC;AAE9D,0DAA0D;AAC1D,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,OAAO,CAAC;CACf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../source/component/portfolio/select-projects/type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../source/component/portfolio/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AAEjF,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../source/component/portfolio/type.ts"],"names":[],"mappings":""}
|
|
@@ -12,6 +12,10 @@ export declare const NAVIGATION: {
|
|
|
12
12
|
readonly id: "capabilities";
|
|
13
13
|
readonly en: "Capabilities";
|
|
14
14
|
readonly pt: "Capacidades";
|
|
15
|
+
}, {
|
|
16
|
+
readonly id: "portfolio";
|
|
17
|
+
readonly en: "Portfolio";
|
|
18
|
+
readonly pt: "Portefólio";
|
|
15
19
|
}, {
|
|
16
20
|
readonly id: "process";
|
|
17
21
|
readonly en: "Process";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/navigation/index.ts"],"names":[],"mappings":"AAEA,0GAA0G;AAC1G,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/navigation/index.ts"],"names":[],"mappings":"AAEA,0GAA0G;AAC1G,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAab,CAAC"}
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
import { SECTION } from "@sharadox/sharadox-web-library/content/section";
|
|
2
2
|
/** The sections the top navigation and the phone menu link to, in order, and the menu button's labels. */
|
|
3
3
|
export const NAVIGATION = {
|
|
4
|
-
links: [
|
|
4
|
+
links: [
|
|
5
|
+
SECTION.about,
|
|
6
|
+
SECTION.services,
|
|
7
|
+
SECTION.capabilities,
|
|
8
|
+
SECTION.portfolio,
|
|
9
|
+
SECTION.process,
|
|
10
|
+
SECTION.faq,
|
|
11
|
+
SECTION.contact,
|
|
12
|
+
],
|
|
5
13
|
main: { en: "Main", pt: "Principal" },
|
|
6
14
|
menu: { en: "Open menu", pt: "Abrir menu" },
|
|
7
15
|
close: { en: "Close menu", pt: "Fechar menu" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/navigation/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AAEzE,0GAA0G;AAC1G,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/navigation/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AAEzE,0GAA0G;AAC1G,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,KAAK,EAAE;QACL,OAAO,CAAC,KAAK;QACb,OAAO,CAAC,QAAQ;QAChB,OAAO,CAAC,YAAY;QACpB,OAAO,CAAC,SAAS;QACjB,OAAO,CAAC,OAAO;QACf,OAAO,CAAC,GAAG;QACX,OAAO,CAAC,OAAO;KAChB;IACD,IAAI,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,WAAW,EAAE;IACrC,IAAI,EAAE,EAAE,EAAE,EAAE,WAAW,EAAE,EAAE,EAAE,YAAY,EAAE;IAC3C,KAAK,EAAE,EAAE,EAAE,EAAE,YAAY,EAAE,EAAE,EAAE,aAAa,EAAE;CACtC,CAAC"}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The portfolio: the work Sharadox has made, newest first, and the words around it. A project's `services` are
|
|
3
|
+
* service card keys (content/services), so its chips use the cards' own names and filter by them. Its screens are
|
|
4
|
+
* whole pages captured from the live site, kept in the site's `public/portfolio/<key>/` folder.
|
|
5
|
+
*/
|
|
6
|
+
export declare const PORTFOLIO: {
|
|
7
|
+
readonly title: {
|
|
8
|
+
readonly en: "Work that speaks for itself.";
|
|
9
|
+
readonly pt: "Trabalho que fala por si.";
|
|
10
|
+
};
|
|
11
|
+
readonly text: {
|
|
12
|
+
readonly en: "Every project, with what we made for it. Filter by service, client or year, and sort it your way.";
|
|
13
|
+
readonly pt: "Cada projeto, com o que fizemos para ele. Filtre por serviço, cliente ou ano, e ordene à sua maneira.";
|
|
14
|
+
};
|
|
15
|
+
readonly filters: {
|
|
16
|
+
readonly label: {
|
|
17
|
+
readonly en: "Filter and sort the projects";
|
|
18
|
+
readonly pt: "Filtrar e ordenar os projetos";
|
|
19
|
+
};
|
|
20
|
+
readonly service: {
|
|
21
|
+
readonly en: "Service";
|
|
22
|
+
readonly pt: "Serviço";
|
|
23
|
+
};
|
|
24
|
+
readonly client: {
|
|
25
|
+
readonly en: "Client";
|
|
26
|
+
readonly pt: "Cliente";
|
|
27
|
+
};
|
|
28
|
+
readonly year: {
|
|
29
|
+
readonly en: "Year";
|
|
30
|
+
readonly pt: "Ano";
|
|
31
|
+
};
|
|
32
|
+
readonly sort: {
|
|
33
|
+
readonly en: "Sort";
|
|
34
|
+
readonly pt: "Ordenar";
|
|
35
|
+
};
|
|
36
|
+
readonly allServices: {
|
|
37
|
+
readonly en: "All";
|
|
38
|
+
readonly pt: "Todos";
|
|
39
|
+
};
|
|
40
|
+
readonly allClients: {
|
|
41
|
+
readonly en: "All";
|
|
42
|
+
readonly pt: "Todos";
|
|
43
|
+
};
|
|
44
|
+
readonly allYears: {
|
|
45
|
+
readonly en: "All";
|
|
46
|
+
readonly pt: "Todos";
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
readonly sorts: readonly [{
|
|
50
|
+
readonly key: "newest";
|
|
51
|
+
readonly en: "Newest first";
|
|
52
|
+
readonly pt: "Mais recentes";
|
|
53
|
+
}, {
|
|
54
|
+
readonly key: "oldest";
|
|
55
|
+
readonly en: "Oldest first";
|
|
56
|
+
readonly pt: "Mais antigos";
|
|
57
|
+
}, {
|
|
58
|
+
readonly key: "client";
|
|
59
|
+
readonly en: "Client, A to Z";
|
|
60
|
+
readonly pt: "Cliente, de A a Z";
|
|
61
|
+
}, {
|
|
62
|
+
readonly key: "name";
|
|
63
|
+
readonly en: "Project, A to Z";
|
|
64
|
+
readonly pt: "Projeto, de A a Z";
|
|
65
|
+
}];
|
|
66
|
+
/** How many projects show: one, or many (the number goes before it). */
|
|
67
|
+
readonly count: {
|
|
68
|
+
readonly en: readonly ["project", "projects"];
|
|
69
|
+
readonly pt: readonly ["projeto", "projetos"];
|
|
70
|
+
};
|
|
71
|
+
readonly empty: {
|
|
72
|
+
readonly en: "No project matches these filters yet.";
|
|
73
|
+
readonly pt: "Ainda nenhum projeto corresponde a estes filtros.";
|
|
74
|
+
};
|
|
75
|
+
readonly reset: {
|
|
76
|
+
readonly en: "Show all";
|
|
77
|
+
readonly pt: "Mostrar tudo";
|
|
78
|
+
};
|
|
79
|
+
readonly details: {
|
|
80
|
+
readonly client: {
|
|
81
|
+
readonly en: "Client";
|
|
82
|
+
readonly pt: "Cliente";
|
|
83
|
+
};
|
|
84
|
+
readonly place: {
|
|
85
|
+
readonly en: "Where";
|
|
86
|
+
readonly pt: "Onde";
|
|
87
|
+
};
|
|
88
|
+
readonly launched: {
|
|
89
|
+
readonly en: "Launched";
|
|
90
|
+
readonly pt: "Lançado";
|
|
91
|
+
};
|
|
92
|
+
readonly services: {
|
|
93
|
+
readonly en: "What we made";
|
|
94
|
+
readonly pt: "O que fizemos";
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
readonly visit: {
|
|
98
|
+
readonly en: "Visit the Site";
|
|
99
|
+
readonly pt: "Visitar o Site";
|
|
100
|
+
};
|
|
101
|
+
/** The screens' description, for screen readers: "<project> on a computer and on a phone". */
|
|
102
|
+
readonly screens: {
|
|
103
|
+
readonly en: "on a computer and on a phone";
|
|
104
|
+
readonly pt: "num computador e num telemóvel";
|
|
105
|
+
};
|
|
106
|
+
readonly projects: readonly [{
|
|
107
|
+
readonly key: "luis-pires-decor";
|
|
108
|
+
readonly client: "Luis Pires Decor";
|
|
109
|
+
readonly name: {
|
|
110
|
+
readonly en: "Made by hand, now online.";
|
|
111
|
+
readonly pt: "Feito à mão, agora online.";
|
|
112
|
+
};
|
|
113
|
+
readonly text: {
|
|
114
|
+
readonly en: "An upholstery and interiors workshop in the Algarve since 1996. A bilingual website with a 3D logo, its work in a filterable portfolio, booking requests that reach the workshop by email, hosting on its own domain, professional email, and an app customers can install.";
|
|
115
|
+
readonly pt: "Uma oficina de estofos e decoração no Algarve desde 1996. Um website bilingue com um logótipo em 3D, o seu trabalho num portefólio com filtros, pedidos de visita que chegam à oficina por email, alojamento no seu próprio domínio, email profissional e uma aplicação que os clientes podem instalar.";
|
|
116
|
+
};
|
|
117
|
+
readonly place: {
|
|
118
|
+
readonly en: "Algarve, Portugal";
|
|
119
|
+
readonly pt: "Algarve, Portugal";
|
|
120
|
+
};
|
|
121
|
+
/** When it went live, as an ISO date. */
|
|
122
|
+
readonly date: "2026-11-17";
|
|
123
|
+
readonly url: "https://luispiresdecor.com";
|
|
124
|
+
readonly services: readonly ["website", "hosting", "professional-email", "progressive-web-application"];
|
|
125
|
+
/** Whole-page captures from the live site: on a computer (1440 wide) and on a phone (390 wide). */
|
|
126
|
+
readonly screens: {
|
|
127
|
+
readonly computer: {
|
|
128
|
+
readonly src: "/portfolio/luis-pires-decor/computer.webp";
|
|
129
|
+
readonly width: 1200;
|
|
130
|
+
readonly height: 12309;
|
|
131
|
+
};
|
|
132
|
+
readonly phone: {
|
|
133
|
+
readonly src: "/portfolio/luis-pires-decor/phone.webp";
|
|
134
|
+
readonly width: 390;
|
|
135
|
+
readonly height: 16000;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
}];
|
|
139
|
+
};
|
|
140
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/portfolio/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAsBpB,wEAAwE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAcxE,8FAA8F;;;;;;;;;;;;;;;;;;;;QAY1F,yCAAyC;;;;QAIzC,mGAAmG;;;;;;;;;;;;;;CAO/F,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The portfolio: the work Sharadox has made, newest first, and the words around it. A project's `services` are
|
|
3
|
+
* service card keys (content/services), so its chips use the cards' own names and filter by them. Its screens are
|
|
4
|
+
* whole pages captured from the live site, kept in the site's `public/portfolio/<key>/` folder.
|
|
5
|
+
*/
|
|
6
|
+
export const PORTFOLIO = {
|
|
7
|
+
title: { en: "Work that speaks for itself.", pt: "Trabalho que fala por si." },
|
|
8
|
+
text: {
|
|
9
|
+
en: "Every project, with what we made for it. Filter by service, client or year, and sort it your way.",
|
|
10
|
+
pt: "Cada projeto, com o que fizemos para ele. Filtre por serviço, cliente ou ano, e ordene à sua maneira.",
|
|
11
|
+
},
|
|
12
|
+
filters: {
|
|
13
|
+
label: { en: "Filter and sort the projects", pt: "Filtrar e ordenar os projetos" },
|
|
14
|
+
service: { en: "Service", pt: "Serviço" },
|
|
15
|
+
client: { en: "Client", pt: "Cliente" },
|
|
16
|
+
year: { en: "Year", pt: "Ano" },
|
|
17
|
+
sort: { en: "Sort", pt: "Ordenar" },
|
|
18
|
+
allServices: { en: "All", pt: "Todos" },
|
|
19
|
+
allClients: { en: "All", pt: "Todos" },
|
|
20
|
+
allYears: { en: "All", pt: "Todos" },
|
|
21
|
+
},
|
|
22
|
+
sorts: [
|
|
23
|
+
{ key: "newest", en: "Newest first", pt: "Mais recentes" },
|
|
24
|
+
{ key: "oldest", en: "Oldest first", pt: "Mais antigos" },
|
|
25
|
+
{ key: "client", en: "Client, A to Z", pt: "Cliente, de A a Z" },
|
|
26
|
+
{ key: "name", en: "Project, A to Z", pt: "Projeto, de A a Z" },
|
|
27
|
+
],
|
|
28
|
+
/** How many projects show: one, or many (the number goes before it). */
|
|
29
|
+
count: { en: ["project", "projects"], pt: ["projeto", "projetos"] },
|
|
30
|
+
empty: {
|
|
31
|
+
en: "No project matches these filters yet.",
|
|
32
|
+
pt: "Ainda nenhum projeto corresponde a estes filtros.",
|
|
33
|
+
},
|
|
34
|
+
reset: { en: "Show all", pt: "Mostrar tudo" },
|
|
35
|
+
details: {
|
|
36
|
+
client: { en: "Client", pt: "Cliente" },
|
|
37
|
+
place: { en: "Where", pt: "Onde" },
|
|
38
|
+
launched: { en: "Launched", pt: "Lançado" },
|
|
39
|
+
services: { en: "What we made", pt: "O que fizemos" },
|
|
40
|
+
},
|
|
41
|
+
visit: { en: "Visit the Site", pt: "Visitar o Site" },
|
|
42
|
+
/** The screens' description, for screen readers: "<project> on a computer and on a phone". */
|
|
43
|
+
screens: { en: "on a computer and on a phone", pt: "num computador e num telemóvel" },
|
|
44
|
+
projects: [
|
|
45
|
+
{
|
|
46
|
+
key: "luis-pires-decor",
|
|
47
|
+
client: "Luis Pires Decor",
|
|
48
|
+
name: { en: "Made by hand, now online.", pt: "Feito à mão, agora online." },
|
|
49
|
+
text: {
|
|
50
|
+
en: "An upholstery and interiors workshop in the Algarve since 1996. A bilingual website with a 3D logo, its work in a filterable portfolio, booking requests that reach the workshop by email, hosting on its own domain, professional email, and an app customers can install.",
|
|
51
|
+
pt: "Uma oficina de estofos e decoração no Algarve desde 1996. Um website bilingue com um logótipo em 3D, o seu trabalho num portefólio com filtros, pedidos de visita que chegam à oficina por email, alojamento no seu próprio domínio, email profissional e uma aplicação que os clientes podem instalar.",
|
|
52
|
+
},
|
|
53
|
+
place: { en: "Algarve, Portugal", pt: "Algarve, Portugal" },
|
|
54
|
+
/** When it went live, as an ISO date. */
|
|
55
|
+
date: "2026-11-17",
|
|
56
|
+
url: "https://luispiresdecor.com",
|
|
57
|
+
services: ["website", "hosting", "professional-email", "progressive-web-application"],
|
|
58
|
+
/** Whole-page captures from the live site: on a computer (1440 wide) and on a phone (390 wide). */
|
|
59
|
+
screens: {
|
|
60
|
+
computer: { src: "/portfolio/luis-pires-decor/computer.webp", width: 1200, height: 12309 },
|
|
61
|
+
phone: { src: "/portfolio/luis-pires-decor/phone.webp", width: 390, height: 16000 },
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
],
|
|
65
|
+
};
|
|
66
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/portfolio/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,KAAK,EAAE,EAAE,EAAE,E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BAC1F,KAAK,EAAE,EAAE,GAAG,EAAE,wCAAwC,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE;aACpF;SACF;KACF;CACO,CAAC"}
|
|
@@ -23,6 +23,11 @@ export declare const SECTION: {
|
|
|
23
23
|
readonly en: "Capabilities";
|
|
24
24
|
readonly pt: "Capacidades";
|
|
25
25
|
};
|
|
26
|
+
readonly portfolio: {
|
|
27
|
+
readonly id: "portfolio";
|
|
28
|
+
readonly en: "Portfolio";
|
|
29
|
+
readonly pt: "Portefólio";
|
|
30
|
+
};
|
|
26
31
|
readonly process: {
|
|
27
32
|
readonly id: "process";
|
|
28
33
|
readonly en: "Process";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/section/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/section/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASV,CAAC"}
|
|
@@ -7,6 +7,7 @@ export const SECTION = {
|
|
|
7
7
|
about: { id: "about", en: "About", pt: "Sobre" },
|
|
8
8
|
services: { id: "services", en: "Services", pt: "Serviços" },
|
|
9
9
|
capabilities: { id: "capabilities", en: "Capabilities", pt: "Capacidades" },
|
|
10
|
+
portfolio: { id: "portfolio", en: "Portfolio", pt: "Portefólio" },
|
|
10
11
|
process: { id: "process", en: "Process", pt: "Processo" },
|
|
11
12
|
faq: { id: "faq", en: "Questions", pt: "Perguntas" },
|
|
12
13
|
contact: { id: "contact", en: "Contact", pt: "Contacto" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/section/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CA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AC3E,SAAS,EAAE,EAAE,EAAE,EAAE,WAAW,EAAE,EAAE,EAAE,WAAW,EAAE,EAAE,EAAE,YAAY,EAAE;IACjE,OAAO,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,UAAU,EAAE;IACzD,GAAG,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,WAAW,EAAE,EAAE,EAAE,WAAW,EAAE;IACpD,OAAO,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,UAAU,EAAE;CACjD,CAAC"}
|
|
@@ -20,6 +20,10 @@ export declare const SECTION_INDICATOR: {
|
|
|
20
20
|
readonly id: "capabilities";
|
|
21
21
|
readonly en: "Capabilities";
|
|
22
22
|
readonly pt: "Capacidades";
|
|
23
|
+
}, {
|
|
24
|
+
readonly id: "portfolio";
|
|
25
|
+
readonly en: "Portfolio";
|
|
26
|
+
readonly pt: "Portefólio";
|
|
23
27
|
}, {
|
|
24
28
|
readonly id: "process";
|
|
25
29
|
readonly en: "Process";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/section-indicator/index.ts"],"names":[],"mappings":"AAEA,4DAA4D;AAC5D,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/section-indicator/index.ts"],"names":[],"mappings":"AAEA,4DAA4D;AAC5D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/section-indicator/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AAEzE,4DAA4D;AAC5D,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,KAAK,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,SAAS,EAAE;IACxC,QAAQ,EAAE;QACR,OAAO,CAAC,IAAI;QACZ,OAAO,CAAC,KAAK;QACb,OAAO,CAAC,QAAQ;QAChB,OAAO,CAAC,YAAY;QACpB,OAAO,CAAC,OAAO;QACf,OAAO,CAAC,GAAG;QACX,OAAO,CAAC,OAAO;KAChB;CACO,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/section-indicator/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AAEzE,4DAA4D;AAC5D,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,KAAK,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,SAAS,EAAE;IACxC,QAAQ,EAAE;QACR,OAAO,CAAC,IAAI;QACZ,OAAO,CAAC,KAAK;QACb,OAAO,CAAC,QAAQ;QAChB,OAAO,CAAC,YAAY;QACpB,OAAO,CAAC,SAAS;QACjB,OAAO,CAAC,OAAO;QACf,OAAO,CAAC,GAAG;QACX,OAAO,CAAC,OAAO;KAChB;CACO,CAAC"}
|