Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ export default function McpConfigModal({
onCancel={actionsLocked ? undefined : onCancel}
width={1200}
closable={!actionsLocked}
maskClosable={!actionsLocked}
mask={{ closable: !actionsLocked }}
footer={[
<Button key="cancel" onClick={onCancel} disabled={actionsLocked}>
{actionsLocked
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1028,8 +1028,7 @@ export default function ToolConfigModal({
return (
<>
<Modal
mask={true}
maskClosable={false}
mask={{ closable: false }}
title={
<div className="flex justify-between items-center w-full pr-8">
<span>{`${tool?.name}`}</span>
Expand Down
17 changes: 7 additions & 10 deletions frontend/app/[locale]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,27 +55,24 @@ export default function Homepage() {
const navigateToSpace = () => navigateWithPermissionCheck("/space");

return (
<div className="w-full h-full flex flex-col items-center justify-center">
<div className="w-full min-h-full flex flex-col items-center justify-start">
{/* Hero area */}
<section className="relative w-full py-4 flex flex-col items-center justify-center text-center">
<section className="relative w-full pt-8 pb-4 flex flex-col items-center justify-center text-center">
<div className="absolute inset-0 bg-grid-slate-200 dark:bg-grid-slate-800 [mask-image:radial-gradient(ellipse_at_center,white_20%,transparent_75%)] -z-10"></div>
<motion.h2
initial={{ opacity: 0, y: -20 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.8, delay: 0.2 }}
className="text-4xl md:text-5xl lg:text-6xl font-bold text-slate-900 dark:text-white mb-4 tracking-tight"
className="hero-art-title max-w-5xl text-3xl md:text-4xl lg:text-[3.25rem] font-bold mb-4 px-4"
>
{t("page.title")}
<span className="text-blue-600 dark:text-blue-500">
{" "}
{t("page.subtitle")}
</span>
<span className="hero-art-title-main block">{t("page.title")}</span>
<span className="hero-art-title-accent block mt-1">{t("page.subtitle")}</span>
</motion.h2>
<motion.p
initial={{ opacity: 0, y: -20 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.8, delay: 0.3 }}
className="max-w-2xl text-slate-600 dark:text-slate-300 text-lg md:text-xl mb-8"
className="max-w-3xl text-slate-600 dark:text-slate-300 text-base md:text-lg mb-7 px-4"
>
{t("page.description")}
</motion.p>
Expand Down Expand Up @@ -217,4 +214,4 @@ function FeatureCard({ icon, title, description }: FeatureCardProps) {
</CardContent>
</Card>
);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ export default function AgentList({ tenantId }: { tenantId: string | null }) {
</Button>
]}
width={700}
maskClosable={false}
mask={{ closable: false }}
>
<Spin spinning={isLoadingDetail}>
<Form form={form} layout="vertical">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ export default function InvitationList({ tenantId, refreshKey }: { tenantId: str
okText={t("common.confirm")}
cancelText={t("common.cancel")}
width={600}
maskClosable={false}
mask={{ closable: false }}
>
<Form form={form} layout="vertical">
{!editingInvitation && (
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/auth/AuthDialogs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export function AuthDialogs() {
centered
closable
width={480}
maskClosable={false}
mask={{ closable: false }}
>
<div className="relative bg-white p-4 rounded-2xl">
{/* Logo */}
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/auth/loginModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export function LoginModal() {
width={420}
centered
forceRender
maskClosable={false}
mask={{ closable: false }}
closable={true}
>
<div className="relative bg-white p-4 rounded-2xl">
Expand Down
24 changes: 23 additions & 1 deletion frontend/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -337,4 +337,26 @@ tr.selected-row > td:first-child::before {
/* Override antd Tooltip inner border to prevent double borders */
.ant-tooltip .ant-tooltip-inner {
border: none !important;
}
}

/* Home hero artistic title */
.hero-art-title {
letter-spacing: -0.02em;
line-height: 1.2;
text-wrap: balance;
}

.hero-art-title-main {
background: linear-gradient(98deg, #0f172a 0%, #1e40af 52%, #2563eb 100%);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}

.hero-art-title-accent {
background: linear-gradient(98deg, #2563eb 0%, #3b82f6 56%, #06b6d4 100%);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
text-shadow: 0 2px 14px rgba(37, 99, 235, 0.18);
}