Skip to content

Commit

Permalink
feat: add ios shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyLv committed Feb 27, 2023
1 parent e788962 commit 3ddbaef
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 17 deletions.
10 changes: 5 additions & 5 deletions components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default function Footer() {
return (
<footer className="mt-5 mb-3 flex h-16 w-full flex-col items-center justify-between space-y-3 px-3 pt-4 text-center text-slate-400 sm:mb-0 sm:h-20 sm:flex-row sm:pt-2">
<div>
Powered by{" "}
Thanks to {" "}
<a
href="https://openai.com/"
target="_blank"
Expand All @@ -25,9 +25,9 @@ export default function Footer() {
</div>
<div className="flex space-x-4 pb-4 sm:pb-0">
<Link
href="https://twitter.com/nutlope"
href="https://twitter.com/Jimmy_JingLv"
className="group"
aria-label="TaxPal on Twitter"
aria-label="JimmyLv on Twitter"
>
<svg
aria-hidden="true"
Expand All @@ -37,9 +37,9 @@ export default function Footer() {
</svg>
</Link>
<Link
href="https://github.com/Nutlope/news-summarizer"
href="https://github.com/JimmyLv"
className="group"
aria-label="TaxPal on GitHub"
aria-label="JimmyLv on GitHub"
>
<svg
aria-hidden="true"
Expand Down
32 changes: 20 additions & 12 deletions components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,31 @@ 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"
>
<a className="flex items-center space-x-3" href="https://b.jimmylv.cn">
<Image src="/video.png" alt="logo" width={50} height={50} />
<h2 className={clsx("text-lg sm:text-3xl", poppins.className)}>
<span className="text-pink-400 ">哔哩哔哩</span> BiliGPT
</h2>
</a>
<a
href="https://github.com/JimmyLv/chat-bilibili-video"
rel="noreferrer noopener"
target="_blank"
className=""
>
<Github width="33" height="33" />
</a>
<div className="flex items-center space-x-5">
<a
href="https://b.jimmylv.cn/ios"
rel="noreferrer noopener"
target="_blank"
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>
</a>
<a
href="https://github.com/JimmyLv/chat-bilibili-video"
rel="noreferrer noopener"
target="_blank"
className=""
>
<Github width="33" height="33" />
</a>
</div>
</div>
);
}
Binary file added public/shortcuts.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"redirects": [
{
"source": "/ios",
"destination": "https://www.icloud.com/shortcuts/634a3eb0c7794d3aa2df2e5fb62c851d",
"permanent": true
}
]
}

1 comment on commit 3ddbaef

@vercel
Copy link

@vercel vercel bot commented on 3ddbaef 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.