import { useRef } from 'react' import { useRouter } from 'next/router' import { Swiper, SwiperSlide } from 'swiper/react' // import Swiper core and required modules import SwiperCore, { Navigation, Pagination } from 'swiper' import Link from 'next/link' import { Button, IconGitHub, IconArrowLeft, IconArrowRight, IconBookOpen } from '@supabase/ui' import Examples from '../../data/Examples.json' import ExampleCard from '../ExampleCard' // install Swiper modules SwiperCore.use([Navigation, Pagination]) function GithubExamples() { // base path for images const { basePath } = useRouter() const prevRef = useRef(null) const nextRef = useRef(null) return ( <>
Supported by a network of early advocates, contributors, and champions.