@lukoweb/apitogo-module-landing 0.2.23 → 0.2.24

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.
@@ -1,32 +1,32 @@
1
- import type { ResolvedLandingContent } from "@lukoweb/apitogo";
2
-
3
- export type TrustSectionProps = {
4
- trust: NonNullable<ResolvedLandingContent["trust"]>;
5
- };
6
-
7
- export const TrustSection = ({ trust }: TrustSectionProps) => {
8
- const logos = trust.logos ?? [];
9
- if (logos.length === 0) {
10
- return null;
11
- }
12
-
13
- return (
14
- <section className="mx-auto max-w-[1200px] px-6 py-10">
15
- {trust.title ? (
16
- <p className="mb-[1.375rem] text-center text-[0.78125rem] font-semibold tracking-[0.08em] text-muted-foreground/70 uppercase">
17
- {trust.title}
18
- </p>
19
- ) : null}
20
- <div className="flex flex-wrap items-center justify-center gap-x-[2.875rem] gap-y-3.5 opacity-70">
21
- {logos.map((logo) => (
22
- <span
23
- key={logo}
24
- className="text-[1.1875rem] font-semibold tracking-[-0.01em] text-muted-foreground"
25
- >
26
- {logo}
27
- </span>
28
- ))}
29
- </div>
30
- </section>
31
- );
32
- };
1
+ import type { ResolvedLandingContent } from "@lukoweb/apitogo";
2
+
3
+ export type TrustSectionProps = {
4
+ trust: NonNullable<ResolvedLandingContent["trust"]>;
5
+ };
6
+
7
+ export const TrustSection = ({ trust }: TrustSectionProps) => {
8
+ const logos = trust.logos ?? [];
9
+ if (logos.length === 0) {
10
+ return null;
11
+ }
12
+
13
+ return (
14
+ <section className="mx-auto max-w-[1200px] px-6 py-10">
15
+ {trust.title ? (
16
+ <p className="mb-[1.375rem] text-center text-[0.78125rem] font-semibold tracking-[0.08em] text-muted-foreground/70 uppercase">
17
+ {trust.title}
18
+ </p>
19
+ ) : null}
20
+ <div className="flex flex-wrap items-center justify-center gap-x-[2.875rem] gap-y-3.5 opacity-70">
21
+ {logos.map((logo) => (
22
+ <span
23
+ key={logo}
24
+ className="text-[1.1875rem] font-semibold tracking-[-0.01em] text-muted-foreground"
25
+ >
26
+ {logo}
27
+ </span>
28
+ ))}
29
+ </div>
30
+ </section>
31
+ );
32
+ };