feat: lint codebase and run precommit hook

This commit is contained in:
Rotimi Best
2025-12-25 09:01:51 +00:00
parent 334c67f22a
commit b31ccf3037
214 changed files with 6191 additions and 2880 deletions
@@ -11,39 +11,28 @@
<section>
<PageHeader className="flex flex-col items-center justify-center text-center">
<h1
class="mx-auto text-3xl md:text-4xl lg:text-6xl font-normal leading-[1.5] text-slate-900 items-center"
>
<h1 class="mx-auto items-center text-3xl font-normal leading-[1.5] text-slate-900 md:text-4xl lg:text-6xl">
Our <span class="text-blue-700">Open-source</span> Friends
</h1>
<p class="w-[90%] md:w-[60%] text-center font-normal text-lg text-slate-700 mt-10 lg:mt-7">
In ClassroomIO, we are committed to building a commercial open source company and here are
some of our friends on the same mission.
<p class="mt-10 w-[90%] text-center text-lg font-normal text-slate-700 md:w-[60%] lg:mt-7">
In ClassroomIO, we are committed to building a commercial open source company and here are some of our friends on
the same mission.
</p>
</PageHeader>
<ul role="list" class="m-4 mt-12 grid grid-cols-1 gap-x-6 gap-y-8 lg:grid-cols-3 xl:gap-x-8">
{#each data.friends as friend}
<li
class="overflow-hidden rounded-md border border-gray-200 flex flex-col justify-between py-6"
>
<li class="flex flex-col justify-between overflow-hidden rounded-md border border-gray-200 py-6">
<div>
<div class="text-xl font-medium leading-6 text-gray-900 pb-1 px-6">
<div class="px-6 pb-1 text-xl font-medium leading-6 text-gray-900">
{friend.name}
</div>
<p class="px-6 mt-2 text-gray-600 text-sm">
<p class="mt-2 px-6 text-sm text-gray-600">
{friend.description}
</p>
</div>
<div class="text-left px-6 mt-3">
<Button
href={friend.href}
target="_blank"
rel="noopener noreferrer"
variant="outline"
>
Learn more
</Button>
<div class="mt-3 px-6 text-left">
<Button href={friend.href} target="_blank" rel="noopener noreferrer" variant="outline">Learn more</Button>
</div>
</li>
{/each}
+2 -4
View File
@@ -15,8 +15,7 @@ export async function load() {
},
{
name: 'Cal.com',
description:
'Cal.com is a scheduling tool that helps you schedule meetings without the back-and-forth emails.',
description: 'Cal.com is a scheduling tool that helps you schedule meetings without the back-and-forth emails.',
href: 'https://cal.com'
},
{
@@ -74,8 +73,7 @@ export async function load() {
},
{
name: 'Papermark',
description:
'Open-Source Docsend Alternative to securely share documents with real-time analytics.',
description: 'Open-Source Docsend Alternative to securely share documents with real-time analytics.',
href: 'https://papermark.io'
},
{