Skip to content

Commit

Permalink
规范了一些代码
Browse files Browse the repository at this point in the history
  • Loading branch information
zitons committed Mar 31, 2024
1 parent a6a383b commit d4e4af0
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
* @Author: zitons
* @Date: 2024-02-10 10:30:54
* @LastEditors: Please set LastEditors
* @LastEditTime: 2024-02-16 15:21:06
* @LastEditTime: 2024-03-31 21:57:21
* @Description: 简介
*/
import "../app/copy.css";
import { Providers } from "./providers";
import { Inter } from "next/font/google";
// import { Inter } from "next/font/google";
import { Noto_Sans_SC } from "next/font/google";
const inter = Inter({ subsets: ["latin"] });
// const inter = Inter({ subsets: ["latin"] });
const noto = Noto_Sans_SC({
subsets: ["latin"],
weight: "500",
Expand Down
6 changes: 3 additions & 3 deletions components/Head.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
/*
* @Author: zitons
* @Date: 2024-02-16 14:41:22
* @LastEditors: vhko
* @LastEditTime: 2024-03-11 22:18:12
* @LastEditors: Please set LastEditors
* @LastEditTime: 2024-03-31 22:00:05
* @Description: 简介
*/
"use client";
import React, { useEffect, useState } from "react";
import styles from "../components/Head.module.css";
import ThemeSwitcher from "./ui/ThemeSwitch";
import Dropdown from "./ui/Dropdown";
import Timeline from "./ui/timeline";
// import Timeline from "./ui/timeline";

export default async function Head(props) {
const btn = () => {
Expand Down
2 changes: 1 addition & 1 deletion components/NotionPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import "../components/ui/prism-vsc-dark-plus.css";
import Main from "./Main";
import Head from "../components/Head";
import Pageinfo from "./ui/Pageinfo";
import Footer from "../components/ui/Footer";
// import Footer from "../components/ui/Footer";

import { createElement as h } from "react";
import { Loading } from "../components/Loading";
Expand Down
10 changes: 5 additions & 5 deletions components/ui/Pageinfo.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/*
* @Author: zitons
* @Date: 2024-02-21 09:19:46
* @LastEditors: vhko
* @LastEditTime: 2024-03-23 22:05:33
* @LastEditors: Please set LastEditors
* @LastEditTime: 2024-03-31 21:59:41
* @Description: 简介
*/
import Image from "next/image";
import { HiMiniClock, HiMiniUserCircle } from "react-icons/hi2";
import Head from "../Head";
// import Head from "../Head";

import Style from "./ui.module.css";
const Pageinfo = (props) => {
Expand Down Expand Up @@ -36,9 +36,9 @@ const Pageinfo = (props) => {
))}
</div>
<div className={Style.title}>
<p>[{props.data?.type}]&nbsp;</p>
<p>[{props.data.type}]&nbsp;</p>
<p>
{props.data?.icon}
{props.data.icon}
{props.title}
</p>

Expand Down

0 comments on commit d4e4af0

Please sign in to comment.