Skip to content

Commit

Permalink
fixed cta
Browse files Browse the repository at this point in the history
  • Loading branch information
bonfry committed Jul 31, 2024
1 parent 5dca125 commit b8c99e8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 21 deletions.
14 changes: 0 additions & 14 deletions .astro/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,6 @@ declare module 'astro:content' {
collection: "call_to_actions";
data: InferEntrySchema<"call_to_actions">
} & { render(): Render[".md"] };
"en/speaker.md": {
id: "en/speaker.md";
slug: "en/speaker";
body: string;
collection: "call_to_actions";
data: InferEntrySchema<"call_to_actions">
} & { render(): Render[".md"] };
"en/sponsor.md": {
id: "en/sponsor.md";
slug: "en/sponsor";
Expand All @@ -164,13 +157,6 @@ declare module 'astro:content' {
collection: "call_to_actions";
data: InferEntrySchema<"call_to_actions">
} & { render(): Render[".md"] };
"it/speaker.md": {
id: "it/speaker.md";
slug: "it/speaker";
body: string;
collection: "call_to_actions";
data: InferEntrySchema<"call_to_actions">
} & { render(): Render[".md"] };
"it/sponsor.md": {
id: "it/sponsor.md";
slug: "it/sponsor";
Expand Down
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export class WebsiteConfig {
| GENERAL SETTINGS |
--------------------------------------------*/

public static readonly DEVFEST_NAME: string = 'Devfest Bari 2023';
public static readonly DEVFEST_NAME: string = 'Devfest Bari 2024';
public static readonly DEVFEST_LOGO_LIGHT: string = '/assets/images/logo.png';
public static readonly DEVFEST_LOGO_DARK: string = '/assets/images/logo.png';
public static readonly DEVFEST_EVENT_LINK: string = 'https://gdg.community.dev/events/details/google-gdg-bari-presents-devfest-bari-2023/';
Expand Down
2 changes: 1 addition & 1 deletion src/pages/en/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const currentLocale = "en";
<a
slot="cta"
class="mt-auto text-center py-3 px-8 bg-primary hover:bg-primary-hover text-white ease-in duration-100"
href="#speaker">Call For Speaker</a
href="https://gdg.community.dev/e/mnr6ek/">Tickets</a
>
</Jumbo>

Expand Down
8 changes: 3 additions & 5 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import LastYearRecap from "../components/Home/LastYearRecap.astro";
const ctas = await getCollection("call_to_actions");
const currentLocale = "it";
---

<!-- Below is your "component template." It's just HTML, but with
Expand All @@ -20,13 +19,12 @@ const currentLocale = "it";
<PageHead />

<body class="flex flex-col flex-1">

<main
id="swup"
class="main-content transition-fade flex flex-col"
data-swup="0"
>
<Navbar transparentMode={true} currentLocale={currentLocale} />
<Navbar transparentMode={true} currentLocale={currentLocale} />

<Jumbo>
<h1 slot="title" class="text-6xl font-medium mb-4">
Expand All @@ -36,8 +34,8 @@ const currentLocale = "it";
<a
slot="cta"
class="mt-auto text-center py-3 px-8 bg-primary hover:bg-primary-hover text-white ease-in duration-100"
href="#speaker"
}>Call For Speaker</a
href="https://gdg.community.dev/e/mnr6ek/"
}>Biglietti</a
>
</Jumbo>

Expand Down

0 comments on commit b8c99e8

Please sign in to comment.