mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 01:45:10 +03:00
This PR migrates the whole monorepo to use Tailwind v4: - Removed `@tailwindcss/container-queries` plugin since it's included by default in v4, - Bump all instances of Tailwind to v4. Made minimal changes to the shared config to remove non-supported features (`alpha` mentions), - Migrate all apps to be compatible with v4 configs, - Fix the `typography.css` import in 3 apps, - Add missing rules which were included by default in v3, - Run `pnpm dlx @tailwindcss/upgrade` on all apps, which renames a lot of classes - Rename all misnamed classes according to https://tailwindcss.com/docs/upgrade-guide#renamed-utilities in all apps. --------- Co-authored-by: Jordi Enric <jordi.err@gmail.com>
53 lines
1.5 KiB
TypeScript
53 lines
1.5 KiB
TypeScript
import { useRouter } from 'next/router'
|
|
|
|
import Styles from './FloatingIcons.module.css'
|
|
|
|
function FloatingIcons() {
|
|
// base path for images
|
|
const { basePath } = useRouter()
|
|
|
|
return (
|
|
<div className="absolute hidden h-full w-full lg:block">
|
|
<div className="container relative mx-auto h-full max-w-(--breakpoint-2xl)">
|
|
<img
|
|
className={`${Styles['icon-react-one']}`}
|
|
src={`${basePath}/images/product/auth/react-icon.svg`}
|
|
alt="react icon"
|
|
/>
|
|
<img
|
|
src={`${basePath}/images/product/auth/electron-icon.svg`}
|
|
className={`${Styles['icon-electron']}`}
|
|
alt="electron icon"
|
|
/>
|
|
<img
|
|
src={`${basePath}/images/product/auth/vue-icon.svg`}
|
|
className={`${Styles['icon-vue']}`}
|
|
alt="vue icon"
|
|
/>
|
|
<img
|
|
src={`${basePath}/images/product/auth/angular-icon.svg`}
|
|
className={`${Styles['icon-angular']}`}
|
|
alt="angular icon"
|
|
/>
|
|
<img
|
|
src={`${basePath}/images/product/auth/flutter-icon.svg`}
|
|
className={`${Styles['icon-flutter']}`}
|
|
alt="flutter icon"
|
|
/>
|
|
<img
|
|
src={`${basePath}/images/product/auth/nuxt-icon.svg`}
|
|
className={`${Styles['icon-nuxt']}`}
|
|
alt="nuxt icon"
|
|
/>
|
|
<img
|
|
src={`${basePath}/images/product/auth/redwood-icon.svg`}
|
|
className={`${Styles['icon-redwood']}`}
|
|
alt="redwood icon"
|
|
/>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default FloatingIcons
|