feat: update CallToActionSection label and wrap Discord button in link
This commit is contained in:
@@ -82,9 +82,11 @@ export function Header() {
|
|||||||
|
|
||||||
<div className="flex items-center gap-4">
|
<div className="flex items-center gap-4">
|
||||||
<SimpleThemeToggle />
|
<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">
|
<a href="https://discord.com/invite/imphnen" target="_blank">
|
||||||
Gabung Discord
|
<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">
|
||||||
</Button>
|
Gabung Discord
|
||||||
|
</Button>
|
||||||
|
</a>
|
||||||
|
|
||||||
{/* Mobile Menu Button */}
|
{/* Mobile Menu Button */}
|
||||||
<Button
|
<Button
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ import { GlobalConfig } from 'payload';
|
|||||||
|
|
||||||
export const CallToActionSection: GlobalConfig = {
|
export const CallToActionSection: GlobalConfig = {
|
||||||
slug: 'call-to-action-section',
|
slug: 'call-to-action-section',
|
||||||
|
label: 'Call To Action Section',
|
||||||
fields: [
|
fields: [
|
||||||
{
|
{
|
||||||
name: 'title',
|
name: 'title',
|
||||||
|
|||||||
Reference in New Issue
Block a user