Skip to content

Commit

Permalink
fix: add more policies
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyLv committed Mar 6, 2023
1 parent eabc0ee commit d4cafdd
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 4 deletions.
2 changes: 1 addition & 1 deletion components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function Footer() {
</div>
<div className="flex items-center space-x-1">
<Link
href="https://github.com/JimmyLv/BiliGPT/wiki/%E9%9A%90%E7%A7%81%E5%A3%B0%E6%98%8E"
href="/privacy"
className="group"
aria-label="隐私声明"
>
Expand Down
24 changes: 23 additions & 1 deletion components/sign-in-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import React, {
import Modal from "~/components/shared/modal";
import Image from "next/image";
import { BASE_DOMAIN, LOGIN_LIMIT_COUNT } from "~/utils/constants";
import Link from "next/link";

const SignInModal = ({
showSignInModal,
Expand All @@ -35,7 +36,7 @@ const SignInModal = ({
</a>
<h3 className="font-display text-2xl font-bold">登录 BibiGPT</h3>
<h4>(每天都赠送 {LOGIN_LIMIT_COUNT} 次哦)</h4>
<p className="text-sm text-pink-400">Prompt, Publish, Profit</p>
<p className="text-sm text-pink-400">Input, Prompt, Output</p>
</div>

<div className="flex flex-col space-y-4 bg-gray-50 px-4 py-8 md:px-16">
Expand Down Expand Up @@ -73,6 +74,27 @@ const SignInModal = ({
}}
/>
</div>
<p className="pb-6 text-center text-slate-400">
点击登录或注册,即同意
<a
href="/terms-of-use"
target="_blank"
className="group underline"
aria-label="服务条款"
>
服务条款
</a>
<Link
href="/privacy"
target="_blank"
className="group underline"
aria-label="隐私声明"
>
隐私政策
</Link>
</p>
</div>
</Modal>
);
Expand Down
4 changes: 2 additions & 2 deletions vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
},
{
"source": "/privacy",
"destination": "https://github.com/JimmyLv/BiliGPT/wiki/Privacy-Statement",
"destination": "https://github.com/JimmyLv/BiliGPT/wiki/%E9%9A%90%E7%A7%81%E5%A3%B0%E6%98%8E",
"permanent": true
},
{
"source": "/terms-of-use",
"destination": "https://github.com/JimmyLv/BiliGPT",
"destination": "https://github.com/JimmyLv/BiliGPT/wiki/Terms-Of-Use",
"permanent": true
},
{
Expand Down

1 comment on commit d4cafdd

@vercel
Copy link

@vercel vercel bot commented on d4cafdd Mar 6, 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.