Skip to content

Commit

Permalink
feat: update announcement
Browse files Browse the repository at this point in the history
  • Loading branch information
Peek-A-Booo committed Sep 11, 2023
1 parent 5a47e3c commit 8fe1127
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/components/announcement/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ export default function Announcement() {

const url =
locale === "zh-CN"
? "https://docs.le-ai.app/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Fv0.8.4-1-zh-CN.b45cbba3.png&w=1080&q=75"
: "https://docs.le-ai.app/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Fv0.8.4-1-en.b530893e.png&w=1080&q=75";
? "https://docs.le-ai.app/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Fv0.9.1-1-zh-CN.953cc277.png&w=828&q=100"
: "https://docs.le-ai.app/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Fv0.9.1-1-en.93658f64.png&w=828&q=100";

const onClose = () => {
localStorage.setItem("announcement_version", pkg.version);
Expand Down Expand Up @@ -45,7 +45,7 @@ export default function Announcement() {
}
>
<div className="max-h-[500px] overflow-y-auto">
{/* <Image src={url} alt="" width={1920} height={300} /> */}
<Image src={url} alt="" width={1920} height={300} />
<div className="flex">
<Button
type="link"
Expand Down Expand Up @@ -73,7 +73,6 @@ export default function Announcement() {
<li>{tZLog("text3")}</li>
<li>{tZLog("text4")}</li>
<li>{tZLog("text5")}</li>
<li>{tZLog("text6")}</li>
</ul>
</div>
</Modal>
Expand Down

1 comment on commit 8fe1127

@vercel
Copy link

@vercel vercel bot commented on 8fe1127 Sep 11, 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.