import { useRef } from 'react';
import classNames from 'classnames';
import {
Button,
Card,
Flex,
Heading,
Icon,
Rating,
Text,
View,
} from '@aws-amplify/ui-react';
import { CodeHighlight } from '@/components/CodeHighlight';
import { DataIcon } from '@/components/Icons';
import { HomeCTA } from '@/components/home/HomeCTA';
import { useIntersectionObserver } from '@/components/useIntersection';
import { FigmaLogoMono } from '@/components/Logo';
import { trackScroll } from '@/utils/track';
const StudioCard = () => {
return (
ProductCard
AWS Amplify
$99
);
};
export const FigmaSection = () => {
const ref = useRef(null);
const entry = useIntersectionObserver(ref, {
threshold: 0.25,
freezeOnceVisible: true,
});
const isVisible = !!entry?.isIntersecting;
if (isVisible) {
trackScroll('Home#Figma');
}
return (
Build UI visually in Figma
With Amplify Studio you can design components in Figma, bind them
to your data, and generate production-ready React code. Go from
design to production-ready code in minutes and eliminate the
design-development gap.
Product
Product.title
Product.rating
Product.price
`}
/>
Learn more about Figma integration
);
};