feat: update CallToActionSection label and wrap Discord button in link

This commit is contained in:
ArraysID
2025-05-11 05:29:34 +07:00
parent c9f7ce24ed
commit 31e4ffae92
2 changed files with 6 additions and 3 deletions
@@ -82,9 +82,11 @@ export function Header() {
<div className="flex items-center gap-4">
<SimpleThemeToggle />
<Button className="hidden md:flex bg-gradient-to-r from-primary to-blue-400 hover:from-primary/90 hover:to-blue-400/90 transition-all duration-300 font-bold text-black hover:text-white cursor-pointer">
Gabung Discord
</Button>
<a href="https://discord.com/invite/imphnen" target="_blank">
<Button className="hidden md:flex bg-gradient-to-r from-primary to-blue-400 hover:from-primary/90 hover:to-blue-400/90 transition-all duration-300 font-bold text-black hover:text-white cursor-pointer">
Gabung Discord
</Button>
</a>
{/* Mobile Menu Button */}
<Button
@@ -2,6 +2,7 @@ import { GlobalConfig } from 'payload';
export const CallToActionSection: GlobalConfig = {
slug: 'call-to-action-section',
label: 'Call To Action Section',
fields: [
{
name: 'title',