build React.

This commit is contained in:
tangly1024.com
2023-11-06 14:20:43 +08:00
parent 0a6c59ed7b
commit ecf7825dad
117 changed files with 121 additions and 206 deletions

View File

@@ -1,7 +1,6 @@
import BLOG from '@/blog.config'
import Link from 'next/link'
import { useRouter } from 'next/router'
import React from 'react'
const BlogPostCard = ({ post, className }) => {
const router = useRouter()

View File

@@ -1,5 +1,4 @@
import { useGitBookGlobal } from '@/themes/gitbook'
import React from 'react'
import JumpToTopButton from './JumpToTopButton'
export default function BottomMenuBar({ post, className }) {

View File

@@ -1,4 +1,4 @@
import React from 'react'
import CategoryItem from './CategoryItem'
const CategoryGroup = ({ currentCategory, categoryOptions }) => {

View File

@@ -1,4 +1,4 @@
import React from 'react'
import BLOG from '@/blog.config'
import { siteConfig } from '@/lib/config'

View File

@@ -1,5 +1,4 @@
import Link from 'next/link'
import React from 'react'
export default function LeftMenuBar () {
return (

View File

@@ -1,5 +1,5 @@
import BlogPostCard from './BlogPostCard'
import React, { useState } from 'react'
import { useState } from 'react'
import Collapse from '@/components/Collapse'
/**

View File

@@ -1,4 +1,4 @@
import React, { useEffect, useState } from 'react'
import { useEffect, useState } from 'react'
import { isBrowser } from '@/lib/utils'
/**