Skip to content

Commit

Permalink
modify
Browse files Browse the repository at this point in the history
  • Loading branch information
zzchust committed Apr 11, 2023
1 parent ae5b625 commit 5e2291f
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 35 deletions.
6 changes: 3 additions & 3 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ export default defineConfig({
process.env.OUTPUT !== 'netlify' && VitePWA({
registerType: 'autoUpdate',
manifest: {
name: 'ChatGPT-API Demo',
short_name: 'ChatGPT Demo',
description: 'A demo repo based on OpenAI API',
name: 'ChatGPT-API',
short_name: 'ChatGPT',
description: 'Supported by OpenAI API',
theme_color: '#212129',
background_color: '#ffffff',
icons: [
Expand Down
29 changes: 12 additions & 17 deletions src/components/Footer.astro
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
<footer>
<p mt-8 text-xs op-30>
<span pr-1>Made by</span>
<a
b-slate-link
href="https://ddiu.io" target="_blank"
>
Diu
</a>
<span px-1>|</span>
<a
b-slate-link
href="https://github.com/ddiu8081/chatgpt-demo" target="_blank"
>
Source Code
</a>
</p>
</footer>
<p mt-8 text-xs op-30>
<span pr-1>联系方式:</span>
<a
b-slate-link
href="weixin://dl/chat?fkhhh0716" target="_blank"
>
微信:fkhhh0716
</a>
<span px-1>|</span>
<span>关注公众号“二狗回来了”,获取最新密码</span>
</p>
</footer>
24 changes: 10 additions & 14 deletions src/components/Header.astro
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
---
import Logo from './Logo.astro'
import Themetoggle from './Themetoggle.astro'
---

<header>
<div class="fb items-center">
<Logo />
<Themetoggle />
</div>
<div class="fi mt-2">
<span class="gpt-title">ChatGPT</span>
<span class="gpt-subtitle">Demo</span>
</div>
<p mt-1 op-60>Based on OpenAI API (gpt-3.5-turbo).</p>
</header>
<div class="fb items-center">
<Logo />
<Themetoggle />
</div>
<div class="fi mt-2">
<span class="gpt-title">聊天机器人</span>
<span class="gpt-subtitle">演示版</span>
</div>
<p mt-1 op-60>基于 OpenAI API (gpt-3.5-turbo) 开发。</p>
</header>
4 changes: 3 additions & 1 deletion src/pages/password.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import Layout from '../layouts/Layout.astro'

<Layout title="Password Protection">
<main class="h-screen col-fcc">
<div class="op-30">Please input password</div>
<div class="op-30">请联系我们获取密码</div>
<div class="op-30">关注公众号“二狗回来了”,发送“密码”或联系微信号:fkhhh0716</div>
<div class="op-30">请输入密码:</div>
<div id="input_container" class="flex mt-4">
<input id="password_input" type="password" class="gpt-password-input" />
<div id="submit" class="gpt-password-submit">
Expand Down

1 comment on commit 5e2291f

@vercel
Copy link

@vercel vercel bot commented on 5e2291f Apr 11, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

chatgpt-zzc – ./

chatgpt-zzc-zzchust.vercel.app
chatgpt-zzc.vercel.app
chatgpt-zzc-git-main-zzchust.vercel.app

Please sign in to comment.