mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 16:51:37 +00:00
Add tailwind css support
This commit is contained in:
@ -16,7 +16,7 @@ export const metadata = {
|
||||
export default function Page() {
|
||||
return (
|
||||
<main className="h-[calc(100vh-142px)] flex justify-center items-center text-xl">
|
||||
<div className="z-0 flex flex-col w-full h-full max-w-4xl px-4 py-32 text-2xl">
|
||||
<div className="max-w-4xl flex flex-col w-full h-full px-4 py-32 text-2xl">
|
||||
<h1 className="flex pb-4 text-5xl">
|
||||
<span className={clsx('font-Aleo font-semibold', styles.gradient)}>
|
||||
Hi there
|
||||
|
@ -2,12 +2,10 @@
|
||||
|
||||
import { DocSearch } from '@docsearch/react';
|
||||
import clsx from 'clsx';
|
||||
import dynamic from 'next/dynamic';
|
||||
import Link from 'next/link';
|
||||
import { memo, useEffect, useState } from 'react';
|
||||
import { FiMenu } from 'react-icons/fi';
|
||||
|
||||
const DarkModeBtn = dynamic(() => import('components/dark-mode-btn'));
|
||||
import DarkModeBtn from 'components/dark-mode-btn';
|
||||
|
||||
const txtMenu = [
|
||||
{
|
||||
|
@ -1,6 +1,7 @@
|
||||
module.exports = {
|
||||
darkMode: 'class',
|
||||
content: [
|
||||
'./app/**/*.{js,ts,jsx,tsx,md,mdx}',
|
||||
'./pages/**/*.{js,ts,jsx,tsx,md,mdx}',
|
||||
'./components/**/*.{js,ts,jsx,tsx}',
|
||||
'./layouts/**/*.{js,ts,jsx,tsx}',
|
||||
|
Reference in New Issue
Block a user