mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-02 23:06:36 +08:00
fix
This commit is contained in:
@@ -16,7 +16,7 @@ interface LogEntry {
|
||||
}
|
||||
|
||||
function getApiBaseUrl(): string {
|
||||
return process.env.NEXT_PUBLIC_LINUX_DO_CREDIT_BACKEND_URL || ""
|
||||
return process.env.NEXT_PUBLIC_WAVELET_BACKEND_URL || ""
|
||||
}
|
||||
|
||||
function buildWsUrl(): string {
|
||||
|
||||
@@ -54,7 +54,6 @@ export const FooterSection = React.memo(function FooterSection({ className }: Fo
|
||||
<ul className="space-y-4 text-sm text-muted-foreground">
|
||||
<li><FooterLink href="https://github.com/Rain-kl/Wavelet/issues">GitHub Issues</FooterLink></li>
|
||||
<li><FooterLink href="https://github.com/Rain-kl/Wavelet/discussions">讨论</FooterLink></li>
|
||||
<li><FooterLink href="https://linux.do/">LINUX DO</FooterLink></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import * as React from "react"
|
||||
import { motion } from "motion/react"
|
||||
import { Badge } from "@/components/ui/badge"
|
||||
import { cn } from "@/lib/utils"
|
||||
import { FileTextIcon } from "lucide-react"
|
||||
import {motion} from "motion/react"
|
||||
import {Badge} from "@/components/ui/badge"
|
||||
import {cn} from "@/lib/utils"
|
||||
import {FileTextIcon} from "lucide-react"
|
||||
|
||||
/**
|
||||
* 加载页面组件
|
||||
*
|
||||
*
|
||||
* 用于统一显示加载状态
|
||||
* @example
|
||||
* ```tsx
|
||||
@@ -74,7 +74,7 @@ function LoadingCard() {
|
||||
</div>
|
||||
|
||||
<div className="font-serif italic text-xl font-bold tracking-widest text-white drop-shadow-md">
|
||||
Credit
|
||||
Wavelet
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -114,7 +114,7 @@ function LoadingCard() {
|
||||
|
||||
/**
|
||||
* 加载页面组件
|
||||
*
|
||||
*
|
||||
* 用于统一显示加载状态
|
||||
*/
|
||||
export function LoadingPage({ text = "系统", badgeText = "系统" }: { text?: string, badgeText?: string }) {
|
||||
@@ -130,8 +130,7 @@ export function LoadingPage({ text = "系统", badgeText = "系统" }: { text?:
|
||||
transition={{ delay: 0.2 }}
|
||||
className="relative flex items-center justify-center gap-2"
|
||||
>
|
||||
<span className="text-3xl font-bold tracking-tight text-foreground">LINUX DO</span>
|
||||
<span className="text-4xl font-serif font-bold italic text-primary">Credit</span>
|
||||
<span className="text-3xl font-bold tracking-tight text-foreground">Wavelet</span>
|
||||
|
||||
{badgeText && (
|
||||
<div className="absolute left-full top-1/3 -translate-y-1/2 ml-2">
|
||||
|
||||
Reference in New Issue
Block a user