add skeleton resolvers
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { useState } from "react";
|
||||
import { Quote, ArrowLeft, ArrowRight } from "lucide-react";
|
||||
import { ArrowLeft, ArrowRight } from "lucide-react";
|
||||
import { Typography } from "@/editor/theme/Typography";
|
||||
|
||||
export type TestimonialsProps = {
|
||||
@@ -30,16 +30,11 @@ export function Testimonials({ tagline, heading, items }: TestimonialsProps) {
|
||||
|
||||
{item ? (
|
||||
<figure className="mx-auto mt-12 flex max-w-2xl flex-col items-center">
|
||||
<Quote
|
||||
size={28}
|
||||
strokeWidth={1.25}
|
||||
className="mb-6 text-muted-foreground"
|
||||
/>
|
||||
<blockquote
|
||||
className="text-balance text-foreground"
|
||||
style={{ fontSize: "clamp(1.25rem, 2.4vw, 1.75rem)", lineHeight: 1.4 }}
|
||||
>
|
||||
"{item.quote}"
|
||||
{item.quote}
|
||||
</blockquote>
|
||||
<figcaption className="mt-8 flex items-center gap-3">
|
||||
{item.avatar ? (
|
||||
|
||||
Reference in New Issue
Block a user