Skip to content

Commit

Permalink
fix: update my bilibili link
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyLv committed Feb 27, 2023
1 parent 5c99128 commit f39ca9f
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 11 deletions.
28 changes: 21 additions & 7 deletions components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,26 @@ const poppins = Poppins({ weight: "800", subsets: ["latin"] });
export default function Header() {
return (
<div className="flex items-center justify-between px-3 sm:px-3">
<a className="flex items-center space-x-3" href="https://b.jimmylv.cn">
<Image src="/video.png" alt="logo" className="animate-bounce" width={50} height={50} />
<h2 className={clsx("text-lg sm:text-3xl", poppins.className)}>
<span className="text-pink-400 ">哔哩哔哩</span> BiliGPT
</h2>
</a>
<div className="flex items-center space-x-3">
<a
href="https://space.bilibili.com/37648256"
target="_blank"
rel="noopener noreferrer"
>
<Image
src="/video.png"
alt="logo"
className="animate-bounce"
width={50}
height={50}
/>
</a>
<a href="https://b.jimmylv.cn">
<h2 className={clsx("text-lg sm:text-3xl", poppins.className)}>
<span className="text-pink-400 ">哔哩哔哩</span> BiliGPT
</h2>
</a>
</div>
<div className="flex items-center space-x-5">
<a
href="https://b.jimmylv.cn/ios"
Expand All @@ -22,7 +36,7 @@ export default function Header() {
className="flex items-center space-x-2"
>
<Image src="/shortcuts.png" alt="logo" width={33} height={33} />
<span className="text-slate-500 relin-paragraph-target">(iOS版)</span>
<span className="relin-paragraph-target text-slate-500">(iOS版)</span>
</a>
<a
href="https://github.com/JimmyLv/chat-bilibili-video"
Expand Down
8 changes: 4 additions & 4 deletions pages/[...slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const Home: NextPage = () => {
};

return (
<div className="mx-auto flex min-h-screen max-w-5xl flex-col pt-8 sm:pt-12">
<div className="mx-auto flex min-h-screen max-w-5xl flex-col pt-8 sm:pt-10">
<Head>
<title>哔哩哔哩 · 视频字幕一键总结</title>
<link rel="icon" href="/favicon.ico" />
Expand All @@ -98,7 +98,7 @@ export const Home: NextPage = () => {
target="_blank"
rel="noreferrer"
className="mx-auto mb-5 hidden max-w-fit rounded-full border border-gray-800 px-4 py-1 text-gray-500 transition duration-300 ease-in-out hover:scale-105 hover:border-gray-700 md:block"
href="https://space.bilibili.com/37648256"
href="https://www.bilibili.com/video/BV1fX4y1Q7Ux/"
>
你只需要把任意 Bilibili 视频 URL 中的后缀 "
<span className="text-pink-400">.com</span>" 改成我的域名 "
Expand Down Expand Up @@ -205,8 +205,8 @@ export const Home: NextPage = () => {
toastOptions={{ duration: 4000 }}
/>
{summary && (
<div className="mb-10 px-4">
<h2 className="mx-auto mt-16 max-w-3xl border-t border-gray-600 pt-8 text-center text-3xl font-bold sm:text-5xl">
<div className="mb-8 px-4">
<h2 className="mx-auto mt-8 max-w-3xl border-t border-gray-600 pt-8 text-center text-3xl font-bold sm:text-5xl">
【📝 总结】
</h2>
<div className="mx-auto mt-6 max-w-3xl text-lg leading-7">
Expand Down

1 comment on commit f39ca9f

@vercel
Copy link

@vercel vercel bot commented on f39ca9f Feb 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.