From 191a9e9960af8c2f4022df3ed9844929e81aadfc Mon Sep 17 00:00:00 2001 From: JimmyLv Date: Sun, 26 Feb 2023 22:46:57 +0800 Subject: [PATCH] feat: finished the styling --- README.md | 6 +++--- components/Footer.tsx | 8 ++++---- components/Header.tsx | 6 +++--- components/SquigglyLines.tsx | 2 +- package-lock.json | 2 +- pages/[...slug].tsx | 27 +++++++++++++++++---------- pages/_document.tsx | 8 ++++---- styles/globals.css | 2 +- 8 files changed, 34 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index aa99fd71..67c3e4c0 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -# [TechCrunchSummary.com](https://www.techcrunchsummary.com/) +# [b.jimmylv.cn](https://b.jimmylv.cn/) -This project summarizes TechCrunch articles for you using AI. +This project summarizes 哔哩哔哩 videos for you using AI. -[![TechCrunch Summary Tool](./public/screenshot.png)](https://www.techcrunchsummary.com) +[![哔哩哔哩视频总结工具](./public/screenshot.png)](https://b.jimmylv.cn) ## How it works diff --git a/components/Footer.tsx b/components/Footer.tsx index dd96bc7c..57220ff7 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -9,7 +9,7 @@ export default function Footer() { href="https://openai.com/" target="_blank" rel="noreferrer" - className="font-bold underline-offset-2 transition hover:text-slate-100 hover:underline" + className="font-bold underline-offset-2 transition hover:text-pink-400 hover:underline" > OpenAI{" "} @@ -18,7 +18,7 @@ export default function Footer() { href="https://vercel.com/" target="_blank" rel="noreferrer" - className="font-bold underline-offset-2 transition hover:text-slate-100 hover:underline" + className="font-bold underline-offset-2 transition hover:text-pink-400 hover:underline" > Vercel Edge Functions. @@ -31,7 +31,7 @@ export default function Footer() { > @@ -43,7 +43,7 @@ export default function Footer() { > diff --git a/components/Header.tsx b/components/Header.tsx index 9d6836d9..1def27f7 100644 --- a/components/Header.tsx +++ b/components/Header.tsx @@ -10,15 +10,15 @@ export default function Header() {
logo

- TechCrunch summarizer + 哔哩哔哩 视频总结器

Summarize any{" "} - TechCrunch + 哔哩哔哩 {" "} article with AI

- Copy and paste any TechCrunch + Copy and paste any 哔哩哔哩 article link below.

setCurArticle(e.target.value)} - className="mx-auto mt-10 w-full rounded-lg border border-gray-500 bg-black p-3 outline-1 outline-white sm:mt-7 sm:w-3/4" + className="mx-auto mt-10 w-full appearance-none rounded-lg rounded-md border bg-transparent py-2 pl-2 text-sm leading-6 text-slate-900 shadow-sm ring-1 ring-slate-200 placeholder:text-slate-400 focus:outline-none focus:ring-2 focus:ring-blue-500 dark:text-slate-100 dark:ring-0 dark:placeholder:text-slate-500 dark:focus:ring-2" /> {!loading && (