-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: testimonials #42
base: main
Are you sure you want to change the base?
Fix: testimonials #42
Conversation
'relative bg-white aspect-rectangle flex flex-col justify-center rounded-2xl p-6 text-black shadow-md', | ||
testimonial.styles?.wrapper | ||
)} | ||
style={{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use tailwind classes for this?
</div> | ||
|
||
{/* Inline keyframes for the scroll animation */} | ||
<style jsx>{` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tailwind for these styles too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SandalikaAriyrathna style tag is still here.
<SectionBadge id="sponsors">Testimonials</SectionBadge> | ||
<div | ||
className="grid grid-flow-col auto-cols-[33%] gap-8" | ||
style={{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we replace these also with tailwind
gridTemplateColumns: 'repeat(auto-fill, minmax(33%, 1fr))', // 3 boxes per row | ||
animation: 'scroll-reel 20s linear infinite' | ||
}}> | ||
{testimonials.concat(testimonials).map((testimonial, index) => ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we use concat here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the reason for adding concat?
|
testimonials