...
This commit is contained in:
@@ -14,14 +14,14 @@ export async function Navbar() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex justify-between items-center w-full h-16 px-4 md:px-8 bg-[#35786f] text-white">
|
<div className="flex justify-between items-center w-full h-16 px-4 md:px-8 bg-primary-500 text-white">
|
||||||
<GhostLightButton href="/" className="border-b hidden! md:block!" size="md">
|
<GhostLightButton href="/" className="border-b hidden! md:block!" size="md">
|
||||||
{t("title")}
|
{t("title")}
|
||||||
</GhostLightButton>
|
</GhostLightButton>
|
||||||
<GhostLightButton className="block! md:hidden!" size="md" href={"/"}>
|
<GhostLightButton className="block! md:hidden!" size="md" href={"/"}>
|
||||||
<Home size={20} />
|
<Home size={20} />
|
||||||
</GhostLightButton>
|
</GhostLightButton>
|
||||||
<div className="flex gap-0.5 justify-center items-center flex-wrap">
|
<div className="flex gap-0.5 justify-center items-center">
|
||||||
<LanguageSettings />
|
<LanguageSettings />
|
||||||
<GhostLightButton
|
<GhostLightButton
|
||||||
className="md:hidden! block!"
|
className="md:hidden! block!"
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ import { cn } from "@/design-system/lib/utils";
|
|||||||
*/
|
*/
|
||||||
const buttonVariants = cva(
|
const buttonVariants = cva(
|
||||||
// 基础样式
|
// 基础样式
|
||||||
"inline-flex items-center justify-center gap-2 rounded-md font-semibold shadow transition-all duration-250 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
|
"border flex-inline items-center justify-center gap-2 rounded-md font-semibold shadow transition-all duration-250 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
|
||||||
{
|
{
|
||||||
variants: {
|
variants: {
|
||||||
variant: {
|
variant: {
|
||||||
|
|||||||
Reference in New Issue
Block a user