@garagem-ai/site-sdk 0.4.1 → 0.4.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@garagem-ai/site-sdk",
3
- "version": "0.4.1",
3
+ "version": "0.4.3",
4
4
  "private": false,
5
5
  "description": "Typed, runtime-agnostic SDK for building custom real estate sites against the Garagem platform. Drop into any Next.js (or other JS) project to fetch listings, sites and CMS data.",
6
6
  "main": "./dist/index.js",
package/src/client.ts CHANGED
@@ -23,6 +23,16 @@ import {
23
23
  type QueryListingsOptions,
24
24
  type SearchListingsOptions,
25
25
  } from "./fetchers";
26
+ import {
27
+ getLeadUi,
28
+ submitContactLead,
29
+ submitVisitLead,
30
+ type ContactLeadInput,
31
+ type GetLeadUiOptions,
32
+ type LeadSubmitResult,
33
+ type LeadUi,
34
+ type VisitLeadInput,
35
+ } from "./leads";
26
36
  import type {
27
37
  CmsCollection,
28
38
  CmsEntriesResult,
@@ -125,6 +135,23 @@ export interface GaragemClient {
125
135
  siteId?: string;
126
136
  next?: RequestNextOptions;
127
137
  }): Promise<CmsEntry>;
138
+ /** Visit/contact dialog schema (slots, labels). */
139
+ getLeadUi(args?: {
140
+ siteId?: string;
141
+ next?: RequestNextOptions;
142
+ }): Promise<LeadUi>;
143
+ /** POST a visit lead (`leadType: "visit"`). */
144
+ submitVisitLead(
145
+ args: Omit<VisitLeadInput, "siteId" | "baseUrl" | "fetch"> & {
146
+ siteId?: string;
147
+ }
148
+ ): Promise<LeadSubmitResult>;
149
+ /** POST a contact lead (`leadType: "contact"`). */
150
+ submitContactLead(
151
+ args: Omit<ContactLeadInput, "siteId" | "baseUrl" | "fetch"> & {
152
+ siteId?: string;
153
+ }
154
+ ): Promise<LeadSubmitResult>;
128
155
  }
129
156
 
130
157
  /**
@@ -286,5 +313,29 @@ export function createGaragemClient(
286
313
  if (merged !== undefined) opts.next = merged;
287
314
  return getCmsEntry(opts);
288
315
  },
316
+ async getLeadUi({ siteId, next } = {}) {
317
+ const opts: GetLeadUiOptions = withDefaults({
318
+ siteId: resolveSiteId(siteId),
319
+ });
320
+ const merged = mergeNext(next);
321
+ if (merged !== undefined) opts.next = merged;
322
+ return getLeadUi(opts);
323
+ },
324
+ async submitVisitLead(args) {
325
+ return submitVisitLead(
326
+ withDefaults({
327
+ ...args,
328
+ siteId: resolveSiteId(args.siteId),
329
+ })
330
+ );
331
+ },
332
+ async submitContactLead(args) {
333
+ return submitContactLead(
334
+ withDefaults({
335
+ ...args,
336
+ siteId: resolveSiteId(args.siteId),
337
+ })
338
+ );
339
+ },
289
340
  };
290
341
  }
package/src/fetchers.ts CHANGED
@@ -105,7 +105,8 @@ interface FetchInit extends RequestInit {
105
105
  next?: RequestNextOptions;
106
106
  }
107
107
 
108
- async function callJson<T>(
108
+ /** Shared JSON fetch for SDK helpers (not part of the public barrel). */
109
+ export async function callJson<T>(
109
110
  url: string,
110
111
  init: FetchInit,
111
112
  fetchImpl: FetchLike
package/src/index.ts CHANGED
@@ -82,6 +82,36 @@ export {
82
82
  type SearchListingsOptions,
83
83
  } from "./fetchers";
84
84
 
85
+ export {
86
+ STUDIO_DEFAULT_VISIT_SCHEDULE,
87
+ VISIT_TIME_ZONE,
88
+ expandVisitSchedule,
89
+ expandVisitTimeSlots,
90
+ isVisitSlotAllowed,
91
+ slotsForDate,
92
+ type HHmm,
93
+ type VisitHours,
94
+ type VisitSchedule,
95
+ type VisitScheduleConfig,
96
+ } from "./schedule";
97
+
98
+ export {
99
+ LeadSubmitError,
100
+ getLeadUi,
101
+ studioDefaultLeadUi,
102
+ submitContactLead,
103
+ submitVisitLead,
104
+ type ContactLeadInput,
105
+ type GetLeadUiOptions,
106
+ type LeadContact,
107
+ type LeadField,
108
+ type LeadFieldId,
109
+ type LeadSubmitErrorCode,
110
+ type LeadSubmitResult,
111
+ type LeadUi,
112
+ type VisitLeadInput,
113
+ } from "./leads";
114
+
85
115
  export { listingLookupKey, listingPublicPath } from "./listing-path";
86
116
 
87
117
  export {
@@ -153,6 +183,21 @@ export {
153
183
  type ResolvePublicSiteIdOptions,
154
184
  } from "./resolve-site-id";
155
185
 
186
+ export {
187
+ STUDIO_SDK_CONTRACT,
188
+ STUDIO_SDK_PACKAGE,
189
+ coerceNpmVersion,
190
+ compareSemver,
191
+ parseReactSdkNamedImports,
192
+ studioChromeInstruction,
193
+ studioCodegenContractViolations,
194
+ studioLeadInstruction,
195
+ studioSdkPinInstruction,
196
+ hasShowcaseLeadsPostUrl,
197
+ unavailableReactImports,
198
+ type StudioSdkContract,
199
+ } from "./studio-contract";
200
+
156
201
  export {
157
202
  createGaragemClient,
158
203
  type CreateGaragemClientOptions,
package/src/leads.ts ADDED
@@ -0,0 +1,341 @@
1
+ /**
2
+ * Headless visit / contact leads. Schema via GET /leads/ui; POST always
3
+ * goes to the webhook (`source: "site-sdk"`). v0 draws the dialog.
4
+ */
5
+
6
+ import { callJson, type FetchLike } from "./fetchers";
7
+ import { coerceSiteId, normalizeBaseUrl } from "./internal/url";
8
+ import {
9
+ STUDIO_DEFAULT_VISIT_SCHEDULE,
10
+ isVisitSlotAllowed,
11
+ type HHmm,
12
+ type VisitSchedule,
13
+ } from "./schedule";
14
+ import type { RequestNextOptions } from "./types";
15
+
16
+ export type LeadFieldId = "name" | "email" | "phone" | "message";
17
+
18
+ export type LeadField = {
19
+ id: LeadFieldId;
20
+ required: boolean;
21
+ };
22
+
23
+ export type LeadUi = {
24
+ defaultVariant: "visit";
25
+ timeZone: "America/Sao_Paulo";
26
+ variants: {
27
+ visit: {
28
+ ctaLabel: string;
29
+ requireDateTime: true;
30
+ schedule: VisitSchedule;
31
+ fields: LeadField[];
32
+ };
33
+ contact: {
34
+ ctaLabel: string;
35
+ requireDateTime: false;
36
+ whatsappPhone: string | null;
37
+ fields: LeadField[];
38
+ };
39
+ };
40
+ };
41
+
42
+ export type GetLeadUiOptions = {
43
+ siteId: string;
44
+ baseUrl?: string;
45
+ fetch?: FetchLike;
46
+ next?: RequestNextOptions;
47
+ };
48
+
49
+ export type LeadContact = {
50
+ name: string;
51
+ email?: string;
52
+ phone?: string;
53
+ message?: string;
54
+ };
55
+
56
+ type LeadSubmitBase = LeadContact & {
57
+ siteId: string;
58
+ baseUrl?: string;
59
+ fetch?: FetchLike;
60
+ listingId: string;
61
+ visitorId?: string;
62
+ brokerRef?: string;
63
+ referrer?: string;
64
+ };
65
+
66
+ export type VisitLeadInput = LeadSubmitBase & {
67
+ visitDate: string;
68
+ visitTime: HHmm;
69
+ schedule?: VisitSchedule;
70
+ };
71
+
72
+ export type ContactLeadInput = LeadSubmitBase;
73
+
74
+ export type LeadSubmitResult = { ok: true; status: 202; id: string };
75
+
76
+ export type LeadSubmitErrorCode =
77
+ | "invalid_listing_id"
78
+ | "invalid_contact"
79
+ | "invalid_slot"
80
+ | "rate_limited"
81
+ | "not_found"
82
+ | "http"
83
+ | "network";
84
+
85
+ export class LeadSubmitError extends Error {
86
+ readonly code: LeadSubmitErrorCode;
87
+ readonly status?: number;
88
+ readonly retryAfterSeconds?: number;
89
+
90
+ constructor(
91
+ message: string,
92
+ info: {
93
+ code: LeadSubmitErrorCode;
94
+ status?: number;
95
+ retryAfterSeconds?: number;
96
+ }
97
+ ) {
98
+ super(message);
99
+ this.name = "LeadSubmitError";
100
+ this.code = info.code;
101
+ if (info.status != null) this.status = info.status;
102
+ if (info.retryAfterSeconds != null) {
103
+ this.retryAfterSeconds = info.retryAfterSeconds;
104
+ }
105
+ }
106
+ }
107
+
108
+ const UUID_RE =
109
+ /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
110
+ const EMAIL_RE = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
111
+ const MESSAGE_MAX = 2000;
112
+
113
+ const CONTACT_FIELDS: LeadField[] = [
114
+ { id: "name", required: true },
115
+ { id: "email", required: false },
116
+ { id: "phone", required: false },
117
+ { id: "message", required: false },
118
+ ];
119
+
120
+ /** Fallback when GET /leads/ui fails — same default the API publishes. */
121
+ export function studioDefaultLeadUi(): LeadUi {
122
+ return {
123
+ defaultVariant: "visit",
124
+ timeZone: "America/Sao_Paulo",
125
+ variants: {
126
+ visit: {
127
+ ctaLabel: "Agendar visita",
128
+ requireDateTime: true,
129
+ schedule: STUDIO_DEFAULT_VISIT_SCHEDULE,
130
+ fields: CONTACT_FIELDS,
131
+ },
132
+ contact: {
133
+ ctaLabel: "Fale conosco",
134
+ requireDateTime: false,
135
+ whatsappPhone: null,
136
+ fields: CONTACT_FIELDS,
137
+ },
138
+ },
139
+ };
140
+ }
141
+
142
+ export async function getLeadUi(options: GetLeadUiOptions): Promise<LeadUi> {
143
+ const siteId = await coerceSiteId(options.siteId);
144
+ const url = `${normalizeBaseUrl(options.baseUrl)}/api/sites/${encodeURIComponent(siteId)}/leads/ui`;
145
+ return callJson<LeadUi>(
146
+ url,
147
+ {
148
+ method: "GET",
149
+ headers: { Accept: "application/json" },
150
+ next: options.next,
151
+ },
152
+ options.fetch ?? fetch
153
+ );
154
+ }
155
+
156
+ function assertListingId(listingId: string): void {
157
+ if (!UUID_RE.test(listingId.trim())) {
158
+ throw new LeadSubmitError(
159
+ "Garagem SDK: listingId must be the listing UUID, not a path or code.",
160
+ { code: "invalid_listing_id" }
161
+ );
162
+ }
163
+ }
164
+
165
+ function normalizeContact(input: LeadContact): {
166
+ name: string;
167
+ email?: string;
168
+ phone?: string;
169
+ message?: string;
170
+ } {
171
+ const name = input.name.trim();
172
+ if (name.length < 2 || name.length > 200) {
173
+ throw new LeadSubmitError("Garagem SDK: name is required.", {
174
+ code: "invalid_contact",
175
+ });
176
+ }
177
+ const email = input.email?.trim() || undefined;
178
+ const phone = input.phone?.trim() || undefined;
179
+ if (!email && !phone) {
180
+ throw new LeadSubmitError("Garagem SDK: email and/or phone is required.", {
181
+ code: "invalid_contact",
182
+ });
183
+ }
184
+ if (email && !EMAIL_RE.test(email)) {
185
+ throw new LeadSubmitError("Garagem SDK: email is invalid.", {
186
+ code: "invalid_contact",
187
+ });
188
+ }
189
+ if (phone && (phone.length < 5 || phone.length > 40)) {
190
+ throw new LeadSubmitError("Garagem SDK: phone is invalid.", {
191
+ code: "invalid_contact",
192
+ });
193
+ }
194
+ const message = input.message?.trim() || undefined;
195
+ if (message && message.length > MESSAGE_MAX) {
196
+ throw new LeadSubmitError("Garagem SDK: message is too long.", {
197
+ code: "invalid_contact",
198
+ });
199
+ }
200
+ return {
201
+ name,
202
+ ...(email ? { email } : {}),
203
+ ...(phone ? { phone } : {}),
204
+ ...(message ? { message } : {}),
205
+ };
206
+ }
207
+
208
+ type SiteSdkLeadBody = {
209
+ source: "site-sdk";
210
+ leadType: "visit" | "contact";
211
+ name: string;
212
+ email?: string;
213
+ phone?: string;
214
+ message?: string;
215
+ propertyId: string;
216
+ listingId: string;
217
+ visitDate?: string;
218
+ visitTime?: string;
219
+ visitorId?: string;
220
+ brokerRef?: string;
221
+ referrer?: string;
222
+ };
223
+
224
+ async function postSiteLead(input: {
225
+ siteId: string;
226
+ baseUrl?: string;
227
+ fetch?: FetchLike;
228
+ body: SiteSdkLeadBody;
229
+ }): Promise<LeadSubmitResult> {
230
+ const siteId = await coerceSiteId(input.siteId);
231
+ const base = normalizeBaseUrl(input.baseUrl);
232
+ const url = `${base}/api/webhooks/sites/${encodeURIComponent(siteId)}/leads`;
233
+ const f = input.fetch ?? fetch;
234
+ let response: Response;
235
+ try {
236
+ response = await f(url, {
237
+ method: "POST",
238
+ headers: {
239
+ Accept: "application/json",
240
+ "Content-Type": "application/json",
241
+ },
242
+ body: JSON.stringify(input.body),
243
+ });
244
+ } catch (error) {
245
+ throw new LeadSubmitError(
246
+ error instanceof Error ? error.message : "Garagem SDK: network error.",
247
+ { code: "network" }
248
+ );
249
+ }
250
+
251
+ if (response.status === 202) {
252
+ const data = (await response.json().catch(() => ({}))) as {
253
+ id?: unknown;
254
+ };
255
+ const id = typeof data.id === "string" && data.id ? data.id : "";
256
+ return { ok: true, status: 202, id };
257
+ }
258
+
259
+ const retryAfter = Number(response.headers.get("Retry-After") ?? "");
260
+ if (response.status === 429) {
261
+ throw new LeadSubmitError("Garagem SDK: too many lead submissions.", {
262
+ code: "rate_limited",
263
+ status: 429,
264
+ retryAfterSeconds: Number.isFinite(retryAfter) ? retryAfter : undefined,
265
+ });
266
+ }
267
+ if (response.status === 404) {
268
+ throw new LeadSubmitError("Garagem SDK: listing or site not found.", {
269
+ code: "not_found",
270
+ status: 404,
271
+ });
272
+ }
273
+ throw new LeadSubmitError(
274
+ `Garagem SDK: lead submit failed (${response.status}).`,
275
+ { code: "http", status: response.status }
276
+ );
277
+ }
278
+
279
+ function leadPostContext(input: LeadSubmitBase): {
280
+ listingId: string;
281
+ contact: ReturnType<typeof normalizeContact>;
282
+ extras: Pick<SiteSdkLeadBody, "visitorId" | "brokerRef" | "referrer">;
283
+ } {
284
+ assertListingId(input.listingId);
285
+ return {
286
+ listingId: input.listingId.trim(),
287
+ contact: normalizeContact(input),
288
+ extras: {
289
+ ...(input.visitorId ? { visitorId: input.visitorId } : {}),
290
+ ...(input.brokerRef ? { brokerRef: input.brokerRef } : {}),
291
+ ...(input.referrer ? { referrer: input.referrer } : {}),
292
+ },
293
+ };
294
+ }
295
+
296
+ export async function submitVisitLead(
297
+ input: VisitLeadInput
298
+ ): Promise<LeadSubmitResult> {
299
+ const prepared = leadPostContext(input);
300
+ const schedule = input.schedule ?? STUDIO_DEFAULT_VISIT_SCHEDULE;
301
+ if (!isVisitSlotAllowed(schedule, input.visitDate, input.visitTime)) {
302
+ throw new LeadSubmitError(
303
+ "Garagem SDK: visitDate/visitTime is outside the published schedule.",
304
+ { code: "invalid_slot" }
305
+ );
306
+ }
307
+ return postSiteLead({
308
+ siteId: input.siteId,
309
+ baseUrl: input.baseUrl,
310
+ fetch: input.fetch,
311
+ body: {
312
+ source: "site-sdk",
313
+ leadType: "visit",
314
+ ...prepared.contact,
315
+ propertyId: prepared.listingId,
316
+ listingId: prepared.listingId,
317
+ visitDate: input.visitDate,
318
+ visitTime: input.visitTime,
319
+ ...prepared.extras,
320
+ },
321
+ });
322
+ }
323
+
324
+ export async function submitContactLead(
325
+ input: ContactLeadInput
326
+ ): Promise<LeadSubmitResult> {
327
+ const prepared = leadPostContext(input);
328
+ return postSiteLead({
329
+ siteId: input.siteId,
330
+ baseUrl: input.baseUrl,
331
+ fetch: input.fetch,
332
+ body: {
333
+ source: "site-sdk",
334
+ leadType: "contact",
335
+ ...prepared.contact,
336
+ propertyId: prepared.listingId,
337
+ listingId: prepared.listingId,
338
+ ...prepared.extras,
339
+ },
340
+ });
341
+ }
@@ -7,6 +7,7 @@ import { formatAreaM2 } from "../presentation";
7
7
  import { toListingCardModel } from "../listing-card-model";
8
8
  import type { Listing } from "../types";
9
9
  import { cn } from "./cn";
10
+ import { SearchChromeStyles } from "./styles";
10
11
  import type { ListingCardProps } from "./types";
11
12
 
12
13
  function isListing(value: ListingCardProps["listing"]): value is Listing {
@@ -27,60 +28,71 @@ export function ListingCard({
27
28
  const target = href ?? model.href;
28
29
  const areaLabel = formatAreaM2(model.areaM2);
29
30
  return (
30
- <article
31
- data-slot="listing-card"
32
- className={cn(className, classNames?.root)}
33
- style={style}
34
- >
35
- <Link href={target} data-slot="listing-card-link">
36
- <div data-slot="listing-card-media" className={classNames?.media}>
37
- {slots?.media ??
38
- (model.coverSrc ? (
39
- <img src={model.coverSrc} alt={model.coverAlt} />
40
- ) : (
41
- <div data-slot="listing-card-empty">Sem foto</div>
42
- ))}
43
- {slots?.badge ?? (
44
- <span data-slot="listing-card-badge" className={classNames?.badge}>
45
- {model.businessLabel}
46
- </span>
47
- )}
48
- </div>
49
- <div data-slot="listing-card-body" className={classNames?.body}>
50
- <div data-slot="listing-card-price-row">
51
- <p data-slot="listing-card-price" className={classNames?.price}>
52
- {model.priceLabel}
31
+ <>
32
+ <SearchChromeStyles />
33
+ <article
34
+ data-slot="listing-card"
35
+ className={cn(className, classNames?.root)}
36
+ style={style}
37
+ >
38
+ <Link href={target} data-slot="listing-card-link">
39
+ <div data-slot="listing-card-media" className={classNames?.media}>
40
+ {slots?.media ??
41
+ (model.coverSrc ? (
42
+ <img src={model.coverSrc} alt={model.coverAlt} />
43
+ ) : (
44
+ <div data-slot="listing-card-empty">Sem foto</div>
45
+ ))}
46
+ {slots?.badge ?? (
47
+ <span
48
+ data-slot="listing-card-badge"
49
+ className={classNames?.badge}
50
+ >
51
+ {model.businessLabel}
52
+ </span>
53
+ )}
54
+ </div>
55
+ <div data-slot="listing-card-body" className={classNames?.body}>
56
+ <div data-slot="listing-card-price-row">
57
+ <p data-slot="listing-card-price" className={classNames?.price}>
58
+ {model.priceLabel}
59
+ </p>
60
+ {model.pricePeriod ? (
61
+ <span data-slot="listing-card-period">{model.pricePeriod}</span>
62
+ ) : null}
63
+ </div>
64
+ <h3 data-slot="listing-card-title" className={classNames?.title}>
65
+ {model.title}
66
+ </h3>
67
+ <p
68
+ data-slot="listing-card-location"
69
+ className={classNames?.location}
70
+ >
71
+ {model.locationLabel || model.propertyType || ""}
53
72
  </p>
54
- {model.pricePeriod ? (
55
- <span data-slot="listing-card-period">{model.pricePeriod}</span>
73
+ <ul
74
+ data-slot="listing-card-features"
75
+ className={classNames?.features}
76
+ >
77
+ {model.bedrooms != null ? (
78
+ <li>{model.bedrooms} quartos</li>
79
+ ) : null}
80
+ {model.bathrooms != null ? (
81
+ <li>{model.bathrooms} banheiros</li>
82
+ ) : null}
83
+ {model.parkingSpaces != null ? (
84
+ <li>{model.parkingSpaces} vagas</li>
85
+ ) : null}
86
+ {areaLabel ? <li>{areaLabel}</li> : null}
87
+ </ul>
88
+ {slots?.cta ? (
89
+ <div data-slot="listing-card-cta" className={classNames?.cta}>
90
+ {slots.cta}
91
+ </div>
56
92
  ) : null}
57
93
  </div>
58
- <h3 data-slot="listing-card-title" className={classNames?.title}>
59
- {model.title}
60
- </h3>
61
- <p data-slot="listing-card-location" className={classNames?.location}>
62
- {model.locationLabel || model.propertyType || ""}
63
- </p>
64
- <ul
65
- data-slot="listing-card-features"
66
- className={classNames?.features}
67
- >
68
- {model.bedrooms != null ? <li>{model.bedrooms} quartos</li> : null}
69
- {model.bathrooms != null ? (
70
- <li>{model.bathrooms} banheiros</li>
71
- ) : null}
72
- {model.parkingSpaces != null ? (
73
- <li>{model.parkingSpaces} vagas</li>
74
- ) : null}
75
- {areaLabel ? <li>{areaLabel}</li> : null}
76
- </ul>
77
- {slots?.cta ? (
78
- <div data-slot="listing-card-cta" className={classNames?.cta}>
79
- {slots.cta}
80
- </div>
81
- ) : null}
82
- </div>
83
- </Link>
84
- </article>
94
+ </Link>
95
+ </article>
96
+ </>
85
97
  );
86
98
  }
@@ -44,18 +44,21 @@ export function ResultsSkeleton({
44
44
  className?: string;
45
45
  }): ReactElement {
46
46
  return (
47
- <div data-slot="search-skeleton" className={className}>
48
- {Array.from({ length: 6 }, (_, i) => (
49
- <div key={i} data-slot="search-skeleton-card">
50
- <div data-slot="search-skeleton-block" data-kind="media" />
51
- <div data-slot="search-skeleton-body">
52
- <div data-slot="search-skeleton-block" data-kind="line-lg" />
53
- <div data-slot="search-skeleton-block" data-kind="line-md" />
54
- <div data-slot="search-skeleton-block" data-kind="line-sm" />
47
+ <>
48
+ <SearchChromeStyles />
49
+ <div data-slot="search-skeleton" className={className}>
50
+ {Array.from({ length: 6 }, (_, i) => (
51
+ <div key={i} data-slot="search-skeleton-card">
52
+ <div data-slot="search-skeleton-block" data-kind="media" />
53
+ <div data-slot="search-skeleton-body">
54
+ <div data-slot="search-skeleton-block" data-kind="line-lg" />
55
+ <div data-slot="search-skeleton-block" data-kind="line-md" />
56
+ <div data-slot="search-skeleton-block" data-kind="line-sm" />
57
+ </div>
55
58
  </div>
56
- </div>
57
- ))}
58
- </div>
59
+ ))}
60
+ </div>
61
+ </>
59
62
  );
60
63
  }
61
64
 
@@ -66,7 +69,6 @@ export function SearchPageFallback({
66
69
  }): ReactElement {
67
70
  return (
68
71
  <main data-slot="search-page">
69
- <SearchChromeStyles />
70
72
  <ResultsSkeleton className={className} />
71
73
  </main>
72
74
  );