Skip to content

Commit 268a76c

Browse files
committed
update homepage information
1 parent 167749d commit 268a76c

7 files changed

Lines changed: 101 additions & 638 deletions

File tree

‎README.md‎

Lines changed: 3 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,5 @@
1-
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
1+
### 项目介绍
22

3-
## Getting Started
3+
<hr>
44

5-
First, run the development server:
6-
7-
```bash
8-
npm run dev
9-
# or
10-
yarn dev
11-
# or
12-
pnpm dev
13-
# or
14-
bun dev
15-
```
16-
17-
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
18-
19-
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
20-
21-
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
22-
23-
## Learn More
24-
25-
To learn more about Next.js, take a look at the following resources:
26-
27-
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
28-
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
29-
30-
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
31-
32-
## Deploy on Vercel
33-
34-
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
35-
36-
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
5+
这是一个基于Next.js的个人博客项目

‎app/about/page.tsx‎

Lines changed: 0 additions & 100 deletions
This file was deleted.

‎app/components/Navigation.tsx‎

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,40 @@
1+
import { Bitcount_Grid_Double } from 'next/font/google';
12
import Link from 'next/link';
23

4+
5+
const getBitcountGridDouble = Bitcount_Grid_Double({
6+
subsets: ["latin"],
7+
weight: '300'
8+
});
9+
10+
311
export function Navigation() {
412
return (
5-
<nav className="sticky top-0 z-50 border-b border-zinc-200 dark:border-zinc-800 bg-white/80 dark:bg-black/80 backdrop-blur-sm">
13+
<nav className="sticky top-0 z-50 border-zinc-200 dark:border-zinc-800 bg-white/80 dark:bg-black/80 backdrop-blur-sm">
614
<div className="max-w-4xl mx-auto px-6 sm:px-8 py-4 flex justify-between items-center">
7-
<Link href="/" className="flex items-center gap-2 text-xl font-light tracking-tight hover:opacity-80 transition text-blue-500 dark:hover:text-blue-400">
8-
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#0000F5"><path d="M281.5-201.5Q200-283 200-400q0-94 55.5-168.5T401-669q-33-8-57.5-28.5T304-747q-15-29-21-63t-2-69q41-5 78 5t67 32q30 22 49.5 53t23.5 70q13-31 34.5-61.5T600-856l56 56q-43 43-63.5 73T564-667q88 28 142 101.5T760-400q0 117-81.5 198.5T480-120q-117 0-198.5-81.5Zm340-57Q680-317 680-400t-58.5-141.5Q563-600 480-600t-141.5 58.5Q280-483 280-400t58.5 141.5Q397-200 480-200t141.5-58.5ZM480-400Z"/></svg>
15+
<Link
16+
href="/"
17+
className={`${getBitcountGridDouble.className} flex items-center gap-2 text-2xl font-light tracking-tight hover:opacity-80 transition text-[#034f9f]`}
18+
>
19+
Junjie Wu
920
</Link>
1021
<ul className="flex gap-8 text-sm font-poppins font-light">
11-
<li><Link href="/about" className="hover:text-zinc-600 dark:hover:text-zinc-400 transition">关于</Link></li>
12-
<li><Link href="/projects" className="hover:text-zinc-600 dark:hover:text-zinc-400 transition">项目</Link></li>
13-
<li><Link href="/contact" className="hover:text-zinc-600 dark:hover:text-zinc-400 transition">联系</Link></li>
22+
<li>
23+
<Link
24+
href=""
25+
className="hover:text-zinc-600 dark:hover:text-zinc-400 transition"
26+
>
27+
CV
28+
</Link>
29+
</li>
30+
<li>
31+
<Link
32+
href="mailto:junjwu@whu.edu.cn"
33+
className="hover:text-zinc-600 dark:hover:text-zinc-400 transition"
34+
>
35+
Contact
36+
</Link>
37+
</li>
1438
</ul>
1539
</div>
1640
</nav>

0 commit comments

Comments
 (0)