From caf7676c6c4ad3ffa9fda1e3d664634a790a2fd4 Mon Sep 17 00:00:00 2001 From: Guillaume Dorce Date: Sat, 12 Aug 2023 19:39:02 +0200 Subject: [PATCH] fix some panda problems --- panda.config.ts | 2 +- src/components/Footer.tsx | 63 ++++++++++++++------------- src/components/Header.tsx | 39 +++++++++++++---- src/layouts/Home.tsx | 15 +++---- src/pages/le-club.tsx | 90 ++++++++++++++++++--------------------- 5 files changed, 113 insertions(+), 96 deletions(-) diff --git a/panda.config.ts b/panda.config.ts index bc0b2fc..b6747e5 100644 --- a/panda.config.ts +++ b/panda.config.ts @@ -5,7 +5,7 @@ export default defineConfig({ preflight: true, // Where to look for your css declarations - include: ["./src/**/*.{js,jsx,ts,tsx}", "./pages/**/*.{js,jsx,ts,tsx}"], + include: ["./src/**/*.{js,jsx,ts,tsx}", "./src/pages/**/*.{js,jsx,ts,tsx}"], // Files to exclude exclude: [], diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index 959781f..f720fd0 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -1,41 +1,46 @@ -import Link from "next/link"; -import Image from "next/image"; -import { FaGithub } from "react-icons/fa"; +import { css } from '../../styled-system/css'; + +import Link from 'next/link' +import Image from 'next/image' +import { FaGithub } from 'react-icons/fa' export default function Footer() { return ( -