Skip to content

Commit 104eeaa

Browse files
maxprilutskiyclaude
andcommitted
feat: author home and blog bodies with custom Markdoc tags
Register a blog-hero tag and use it at the top of the v6.4 changelog instead of hardcoding the hero in the blog route. Wrap the open-source license announcement in a callout. Give the home page a markdoc body with a callout about the site's locales, rendered from the home route below the CTAs. Regenerate es/fr/de translations so tags are preserved. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent b3f207d commit 104eeaa

13 files changed

Lines changed: 63 additions & 2 deletions

File tree

i18n.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
version: 1
22
checksums:
33
539d38021b42abf46911ae19ad0cb996:
4+
paragraph-0: 675c5577c7e4c945a1a33ca50ab77428
45
fm-attr-title: 54f4edf22d864ec9cac6f3771f3b6cc3
56
fm-attr-description: 5d33312137e459288cf54d85ab250e24
67
fm-attr-badge: a39cdbb8f362c0d3754a098416fb9a8b

src/app/[lang]/blog/[slug]/page.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { defaultLocale, isLocale, locales } from "@/lib/i18n";
33
import { listDocSlugs, loadDoc, type DocFrontmatter } from "@/lib/markdoc";
44
import { getMessages, type Messages } from "@/lib/messages";
55
import { renderMarkdoc } from "@/markdoc.schema";
6-
import { BlogHero } from "@/components/site/BlogHero";
76
import { BlogSidebarCTA } from "@/components/site/BlogSidebarCTA";
87

98
export async function generateStaticParams() {
@@ -53,7 +52,6 @@ export default async function BlogPost(
5352

5453
<div className="mt-12 grid grid-cols-1 gap-10 md:grid-cols-[minmax(0,1fr)_300px] md:gap-12">
5554
<div className="min-w-0">
56-
<BlogHero version="v6.4" />
5755
<ArticleBody>{renderMarkdoc(doc.content)}</ArticleBody>
5856
</div>
5957
<div className="md:col-start-2 md:row-start-1">

src/app/[lang]/page.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { notFound, redirect } from "next/navigation";
33
import { defaultLocale, isLocale } from "@/lib/i18n";
44
import { loadDoc } from "@/lib/markdoc";
55
import { getMessages } from "@/lib/messages";
6+
import { renderMarkdoc } from "@/markdoc.schema";
67

78
export async function generateMetadata(props: PageProps<"/[lang]">) {
89
const { lang } = await props.params;
@@ -67,6 +68,10 @@ export default async function Home(props: PageProps<"/[lang]">) {
6768
</Link>
6869
<p className="text-sm text-muted-foreground">{home.noCreditCardRequired}</p>
6970
</div>
71+
72+
<div className="w-full max-w-xl text-left">
73+
{renderMarkdoc(doc.content)}
74+
</div>
7075
</main>
7176
);
7277
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import { BlogHero as SiteBlogHero } from "@/components/site/BlogHero";
2+
3+
export function BlogHero({
4+
brand,
5+
version,
6+
}: {
7+
brand?: string;
8+
version?: string;
9+
}) {
10+
return (
11+
<div className="my-6 first:mt-0">
12+
<SiteBlogHero brand={brand} version={version} />
13+
</div>
14+
);
15+
}

src/content/de/blog/calcom-v6-4.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,15 @@ date: 2026-04-15
88
author: Milos Puac
99
---
1010

11+
{% blog-hero version="v6.4" /%}
12+
1113
## Wir erzählen endlich unsere Entstehungsgeschichte
1214

1315
Sie möchten wissen, wie Cal.com entstanden ist? Werfen Sie einen Blick hinter die Kulissen – einschließlich der Geschichte, wie Peer und Bailey sich kennenlernten und wie alles begann.
1416

1517
## Änderungen an der Open-Source-Lizenz
1618

19+
{% callout type="note" %}
1720
Aufgrund des Aufstiegs von KI und ihrer branchenweiten Auswirkungen auf Open Source nehmen wir Änderungen an der Verteilung unserer Software vor.
1821

1922
Ab heute wird Cal.com sämtlichen freien und quelloffenen Code unter dem Namen Cal.diy mit MIT-Lizenz neu veröffentlichen – weithin als die liberalste und beliebteste Open-Source-Lizenz anerkannt. Diese neue Community-Edition ist ausschließlich für Self-Hosting vorgesehen und erfolgt auf eigenes Risiko.
@@ -25,6 +28,7 @@ Um diesem neuen Risiko zu begegnen, wird die Codebasis der kommerziellen Edition
2528
Für Hobbyisten: Sie erhalten ab sofort kostenlosen und unbefristeten Zugang zu sämtlichem Code und allen Anleitungen von Cal.diy.
2629

2730
Für Cal.com-Nutzer: An Ihrem Zugang oder Konto ändert sich nichts. Dies ist in erster Linie lediglich eine Lizenzänderung. Falls Sie die Enterprise-Edition selbst hosten, erhalten Sie Einladungen zum privaten GitHub-Repository.
31+
{% /callout %}
2832

2933
## Performance-Verbesserungen
3034

src/content/de/pages/home.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@ description: Eine vollständig anpassbare Planungssoftware für Einzelpersonen,
55
erstellen, auf denen Nutzer mit Nutzern zusammenkommen.
66
badge: Cal.com bringt v6.4 heraus
77
---
8+
9+
{% callout type="note" %}
10+
Diese Website wurde in Markdoc erstellt und ist auf Englisch, Spanisch, Französisch und Deutsch verfügbar.
11+
{% /callout %}

src/content/en/blog/calcom-v6-4.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,15 @@ date: 2026-04-15
55
author: Milos Puac
66
---
77

8+
{% blog-hero version="v6.4" /%}
9+
810
## We're finally telling our origin story
911

1012
Curious how Cal.com started? Go behind the scenes, including how Peer and Bailey met and how it all began.
1113

1214
## Changes to open source license
1315

16+
{% callout type="note" %}
1417
We're making changes to the way we are distributing our software, due to the rise of AI and industry-wide impact to open source.
1518

1619
Starting today, Cal.com will relaunch all free and open-source code as Cal.diy under MIT License, widely considered the most liberal and popular open-source license. This new community edition is only for self-hosting and use at your own risk.
@@ -22,6 +25,7 @@ To address this new risk, moving forward the codebase of the commercial edition
2225
For hobbyists: you can now access all of Cal.diy code and instructions for free, forever.
2326

2427
For Cal.com users: nothing changes to your access or account. This is primarily a license change only. If you are self-hosting the enterprise edition, you will receive invites to the private GitHub repository.
28+
{% /callout %}
2529

2630
## Performance improvements
2731

src/content/en/pages/home.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@ title: The better way to schedule your meetings
33
description: A fully customizable scheduling software for individuals, businesses taking calls and developers building scheduling platforms where users meet users.
44
badge: Cal.com launches v6.4
55
---
6+
7+
{% callout type="note" %}
8+
This site is authored in Markdoc and available in English, Spanish, French, and German.
9+
{% /callout %}

src/content/es/blog/calcom-v6-4.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,15 @@ date: 2026-04-15
77
author: Milos Puac
88
---
99

10+
{% blog-hero version="v6.4" /%}
11+
1012
## Por fin contamos nuestra historia de origen
1113

1214
¿Tienes curiosidad por saber cómo comenzó Cal.com? Descubre lo que hay detrás de escena, incluyendo cómo se conocieron Peer y Bailey y cómo empezó todo.
1315

1416
## Cambios en la licencia de código abierto
1517

18+
{% callout type="note" %}
1619
Estamos realizando cambios en la forma en que distribuimos nuestro software, debido al auge de la IA y su impacto en el código abierto a nivel industrial.
1720

1821
A partir de hoy, Cal.com relanzará todo el código gratuito y de código abierto como Cal.diy bajo Licencia MIT, ampliamente considerada la licencia de código abierto más liberal y popular. Esta nueva edición comunitaria es solo para autoalojamiento y uso bajo su propio riesgo.
@@ -24,6 +27,7 @@ Para abordar este nuevo riesgo, en adelante el código base de la edición comer
2427
Para aficionados: ahora pueden acceder a todo el código e instrucciones de Cal.diy de forma gratuita, para siempre.
2528

2629
Para usuarios de Cal.com: nada cambia en su acceso o cuenta. Este es principalmente solo un cambio de licencia. Si está autoalojando la edición empresarial, recibirá invitaciones al repositorio privado de GitHub.
30+
{% /callout %}
2731

2832
## Mejoras de rendimiento
2933

src/content/es/pages/home.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@ description: Un software de programación totalmente personalizable para
55
plataformas de programación donde los usuarios se encuentran con usuarios.
66
badge: Cal.com lanza v6.4
77
---
8+
9+
{% callout type="note" %}
10+
Este sitio está escrito en Markdoc y está disponible en inglés, español, francés y alemán.
11+
{% /callout %}

0 commit comments

Comments
 (0)