import Examples from '~/data/Examples' import { ArrowLeft, ArrowRight, BookOpen, Github } from 'lucide-react' import Link from 'next/link' import { useRef } from 'react' // import Swiper core and required modules import SwiperCore from 'swiper' import { Navigation, Pagination } from 'swiper/modules' import { Swiper, SwiperSlide } from 'swiper/react' import { Button } from 'ui' import ExampleCard from '../ExampleCard' // install Swiper modules SwiperCore.use([Navigation, Pagination]) function GithubExamples() { const prevRef = useRef(null) const nextRef = useRef(null) return ( <>

Community driven examples, libraries and guides

Supported by a network of early advocates, contributors, and champions.

{ swiper.params.navigation.prevEl = prevRef.current swiper.params.navigation.nextEl = nextRef.current swiper.navigation.update() }} breakpoints={{ 320: { slidesPerView: 1, }, 720: { slidesPerView: 2, }, 920: { slidesPerView: 3, }, 1024: { slidesPerView: 4, }, }} > {Object.values(Examples).map((example: any, i: number) => { return (
) })}
) } export default GithubExamples