docs: let the launch week begin 🚀 (#491)

* docs: update meta tags

* fix: make env dynamic

* docs: let the launch week begin 🚀
This commit is contained in:
Rotimi Best
2024-10-07 01:36:07 +01:00
committed by GitHub
parent 22f0d868d5
commit c7722cb18a
25 changed files with 9371 additions and 7297 deletions
+6 -6
View File
@@ -11,17 +11,17 @@ export function load({ url }) {
function getBaseMetaTags(url: URL) {
const metatags = Object.freeze({
title: 'ClassroomIO – Launch Your Online Bootcamp In Minutes',
title: 'ClassroomIO | The Open Source Learning Management System for Companies',
description:
'Launch your bootcamp quickly and affordably with ClassroomIO, the customizable online teaching platform.',
'A flexible, user-friendly platform for creating, managing, and delivering courses for companies and training organisations',
canonical: new URL(url.pathname, url.origin).href,
openGraph: {
type: 'website',
url: new URL(url.pathname, url.origin).href,
locale: 'en_IE',
title: 'ClassroomIO – Launch Your Online Bootcamp In Minutes',
title: 'ClassroomIO | The Open Source Learning Management System for Companies',
description:
'Launch your bootcamp quickly and affordably with ClassroomIO, the customizable online teaching platform.',
'A flexible, user-friendly platform for creating, managing, and delivering courses for companies and training organisations',
siteName: 'ClassroomIO',
images: [
{
@@ -38,9 +38,9 @@ function getBaseMetaTags(url: URL) {
handle: '@classroomio',
site: '@classroomio',
cardType: 'summary_large_image' as const,
title: 'ClassroomIO – Launch Your Online Bootcamp In Minutes',
title: 'ClassroomIO | The Open Source Learning Management System for Companies',
description:
'Launch your bootcamp quickly and affordably with ClassroomIO, the customizable online teaching platform.',
'A flexible, user-friendly platform for creating, managing, and delivering courses for companies and training organisations',
image: 'https://brand.cdn.clsrio.com/og/classroomio-og.png',
imageAlt: 'ClassroomIO OG Image'
}
@@ -12,7 +12,7 @@
<!-- Title -->
<hgroup class="flex flex-col items-center justify-center text-center w-full">
<p class="text-sm text-gray-500">{formatDate(data.meta.date)}</p>
<p class="font-bold text-3xl py-2 text-center md:w-[60%]">{data.meta.title}</p>
<p class="font-bold text-3xl py-2 text-center md:w-[60%]">{@html data.meta.title}</p>
</hgroup>
<main class="mx-auto max-w-screen-md px-4 lg:px-8">
<div class="flex items-center justify-start gap-4 my-2 border-y border-gray-200 py-4">
@@ -50,10 +50,6 @@
margin-inline: auto;
}
h1 {
text-transform: capitalize;
}
:global(.prose a) {
text-decoration: underline;
font-weight: bold;