Skip to content

Commit

Permalink
Merge pull request #2 from yxiongwu/main
Browse files Browse the repository at this point in the history
增加Practice页面,删除无用依赖
  • Loading branch information
sanbuphy authored Feb 1, 2024
2 parents ea1e5d2 + c599d77 commit 2807baf
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 16 deletions.
7 changes: 2 additions & 5 deletions src/app/practice/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
"use client";
import { Swiper, SwiperSlide } from "swiper/react";
import "swiper/css";
import "swiper/css/navigation";

export default function Practice() {
return (
Expand All @@ -10,8 +7,8 @@ export default function Practice() {
<header className="min-h-40 flex flex-col justify-around">
<p className="text-2xl">What we do</p>
<p className="text-3xl">
Tianii is Social Al's most comprehensive systemintegrating advanced
knowledge of China society.
Tianii is Social Al&apos;s most comprehensive systemintegrating
advanced knowledge of China society.
</p>
</header>
<div className="mt-8 mb-8">
Expand Down
28 changes: 17 additions & 11 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
import type { Config } from "tailwindcss"
import type { Config } from "tailwindcss";

const config = {
darkMode: ["class"],
content: [
'./pages/**/*.{ts,tsx}',
'./components/**/*.{ts,tsx}',
'./app/**/*.{ts,tsx}',
'./src/**/*.{ts,tsx}',
"./pages/**/*.{ts,tsx}",
"./components/**/*.{ts,tsx}",
"./app/**/*.{ts,tsx}",
"./src/**/*.{ts,tsx}",
],
fontSize: {
// 你可以在这里定义自己的文字大小配置
sm: "0.875rem", // 14px
base: "1rem", // 16px
lg: "1.125rem", // 18px
xl: "1.25rem", // 20px
"2xl": "1.5rem", // 24px
"3xl": "1.875rem", // 28px
},
prefix: "",
theme: {
container: {
Expand All @@ -34,10 +43,7 @@ const config = {
},
},
},
plugins: [
require("tailwindcss-animate"),
require('@tailwindcss/typography'),
],
} satisfies Config
plugins: [require("tailwindcss-animate"), require("@tailwindcss/typography")],
} satisfies Config;

export default config
export default config;

0 comments on commit 2807baf

Please sign in to comment.