Spaces:
Configuration error
Configuration error
File size: 761 Bytes
78013c4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | "use client";
import React from "react";
interface GlassPageHeaderProps {
title: string;
description?: string;
actions?: React.ReactNode;
}
export default function GlassPageHeader({ title, description, actions }: GlassPageHeaderProps): React.ReactElement {
return (
<div className="flex flex-col sm:flex-row sm:items-center justify-between gap-4 mb-8">
<div>
<h1 className="text-3xl font-extrabold text-slate-100 tracking-tight font-[Outfit] bg-clip-text bg-gradient-to-r from-slate-100 to-slate-300">{title}</h1>
{description && <p className="text-base font-medium text-slate-400 mt-1.5">{description}</p>}
</div>
{actions && <div className="flex items-center gap-3 shrink-0">{actions}</div>}
</div>
);
}
|