import { Repeater, types } from 'react-bricks/rsc' import { LayoutProps, neutralBackgroundSideGroup, paddingBordersSideGroup, sectionDefaults, } from '../../LayoutSideProps' import blockNames from '../../blockNames' import Container from '../../shared/components/Container' import Section from '../../shared/components/Section' import { avatars } from '../../shared/defaultImages' export interface TestimonialProps extends LayoutProps { avatarImage: types.IImageSource logoImage: types.IImageSource testimonials: types.RepeaterItems } const Testimonial3Cols: types.Brick = ({ backgroundColor, borderTop, borderBottom, paddingTop, paddingBottom, testimonials, }) => { return (
) } Testimonial3Cols.schema = { name: blockNames.Testimonial3Cols, label: 'Testimonial 3 cols', category: 'testimonials', playgroundLinkLabel: 'View source code on Github', playgroundLinkUrl: 'https://github.com/ReactBricks/reactbricks-starters/blob/main/packages/reactbricks-ui/nextjs-app/src/testimonials/Testimonial3Cols/Testimonial3Cols.tsx', previewImageUrl: `/bricks-preview-images/${blockNames.Testimonial3Cols}.png`, getDefaultProps: () => ({ ...sectionDefaults, borderTop: 'boxed', testimonials: [ { quote: 'React Bricks allowed us to quickly create a beautiful website that drives business goals and is easy to maintain.', authorName: 'Stefan Nagey', authorJobTitle: 'Senior Dir. Engineering @ Deel', avatarImage: avatars.STEFAN_NAGEY, }, { quote: "I've wanted to see something like this for a long time. This is how web development was always supposed to be.", authorName: 'Laurie Voss', authorJobTitle: 'Data Analyst @ Netlify', avatarImage: avatars.LAURIE_VOSS, }, { quote: 'The developer experience is great and our editors are happy as well! React Bricks fits perfectly to our needs.', authorName: 'Maik Jablonski', authorJobTitle: 'Managing Director @ Neoskop', avatarImage: avatars.MAIK_JABLONSKI, }, ], }), repeaterItems: [ { name: 'testimonials', itemType: blockNames.Testimonial3ColsItem, itemLabel: 'Testimonial', min: 0, max: 3, }, ], sideEditProps: [neutralBackgroundSideGroup, paddingBordersSideGroup], } export default Testimonial3Cols