Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 24 additions & 18 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"jsdom": "^30.1.3",
"playwright": "^1.58.2",
"prettier": "^3.8.1",
"prettier-plugin-astro": "^0.14.1",
"prettier-plugin-astro": "^1.1.2",
"prettier-plugin-tailwindcss": "^0.8.1",
"storybook": "^10.3.3",
"typescript": "^5.9.3",
Expand Down
44 changes: 22 additions & 22 deletions src/components/Welcome.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,40 +7,40 @@ import background from "../assets/background.svg";
<img id="background" src={background.src} alt="" fetchpriority="high" />
<main>
<section id="hero">
<a href="https://astro.build"
><img
src={astroLogo.src}
width="115"
height="48"
alt="Astro Homepage"
/></a
>
<a href="https://astro.build">
<img src={astroLogo.src} width="115" height="48" alt="Astro Homepage" />
</a>
<h1>
To get started, open the <code><pre>src/pages</pre></code> directory in your
project.
To get started, open the{" "}
<code>
<pre>src/pages</pre>
</code>{" "}
directory in your project.
</h1>
<section id="links">
<a class="button" href="https://docs.astro.build">Read our docs</a>
<a href="https://astro.build/chat"
>Join our Discord <svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 127.14 96.36"
><path
<a class="button" href="https://docs.astro.build">
Read our docs
</a>
<a href="https://astro.build/chat">
Join our Discord{" "}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 127.14 96.36">
<path
fill="currentColor"
d="M107.7 8.07A105.15 105.15 0 0 0 81.47 0a72.06 72.06 0 0 0-3.36 6.83 97.68 97.68 0 0 0-29.11 0A72.37 72.37 0 0 0 45.64 0a105.89 105.89 0 0 0-26.25 8.09C2.79 32.65-1.71 56.6.54 80.21a105.73 105.73 0 0 0 32.17 16.15 77.7 77.7 0 0 0 6.89-11.11 68.42 68.42 0 0 1-10.85-5.18c.91-.66 1.8-1.34 2.66-2a75.57 75.57 0 0 0 64.32 0c.87.71 1.76 1.39 2.66 2a68.68 68.68 0 0 1-10.87 5.19 77 77 0 0 0 6.89 11.1 105.25 105.25 0 0 0 32.19-16.14c2.64-27.38-4.51-51.11-18.9-72.15ZM42.45 65.69C36.18 65.69 31 60 31 53s5-12.74 11.43-12.74S54 46 53.89 53s-5.05 12.69-11.44 12.69Zm42.24 0C78.41 65.69 73.25 60 73.25 53s5-12.74 11.44-12.74S96.23 46 96.12 53s-5.04 12.69-11.43 12.69Z"
></path></svg
>
></path>
</svg>
</a>
</section>
</section>
</main>

<a href="https://astro.build/blog/astro-5/" id="news" class="box">
<svg width="32" height="32" fill="none" xmlns="http://www.w3.org/2000/svg"
><path
<svg width="32" height="32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M24.667 12c1.333 1.414 2 3.192 2 5.334 0 4.62-4.934 5.7-7.334 12C18.444 28.567 18 27.456 18 26c0-4.642 6.667-7.053 6.667-14Zm-5.334-5.333c1.6 1.65 2.4 3.43 2.4 5.333 0 6.602-8.06 7.59-6.4 17.334C13.111 27.787 12 25.564 12 22.666c0-4.434 7.333-8 7.333-16Zm-6-5.333C15.111 3.555 16 5.556 16 7.333c0 8.333-11.333 10.962-5.333 22-3.488-.774-6-4-6-8 0-8.667 8.666-10 8.666-20Z"
fill="#111827"></path></svg
>
fill="#111827"
></path>
</svg>
<h2>What's New in Astro 5.0?</h2>
<p>
From content layers to server islands, click to learn more about the new
Expand Down
43 changes: 12 additions & 31 deletions src/pages/about.astro
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,13 @@ import Footer from "../components/Footer";
fill="url(#about-pattern)"
width="100%"
height="100%"
stroke-width={0}></rect>
stroke-width={0}
></rect>
</svg>

<div class="mx-auto max-w-7xl px-6 py-24 sm:py-32 lg:px-8">
<div class="mx-auto max-w-2xl lg:mx-0">
<h1
class="text-4xl font-bold tracking-tight text-zinc-900 sm:text-6xl dark:text-white"
>
<h1 class="text-4xl font-bold tracking-tight text-zinc-900 sm:text-6xl dark:text-white">
About CSCS
</h1>
<p class="mt-6 text-lg leading-8 text-zinc-600 dark:text-zinc-400">
Expand All @@ -57,9 +56,7 @@ import Footer from "../components/Footer";
<div class="mx-auto max-w-2xl lg:max-w-none">
<!-- Mission Section -->
<div class="mb-16">
<h2
class="mb-6 text-2xl font-bold tracking-tight text-zinc-900 sm:text-3xl dark:text-white"
>
<h2 class="mb-6 text-2xl font-bold tracking-tight text-zinc-900 sm:text-3xl dark:text-white">
Our Mission
</h2>
<div class="prose prose-zinc dark:prose-invert max-w-none">
Expand All @@ -75,18 +72,12 @@ import Footer from "../components/Footer";

<!-- What We Do Section -->
<div class="mb-16">
<h2
class="mb-6 text-2xl font-bold tracking-tight text-zinc-900 sm:text-3xl dark:text-white"
>
<h2 class="mb-6 text-2xl font-bold tracking-tight text-zinc-900 sm:text-3xl dark:text-white">
What We Do
</h2>
<div class="grid gap-6 sm:grid-cols-2 lg:grid-cols-3">
<div
class="rounded-xl border border-zinc-200 p-6 dark:border-zinc-800"
>
<h3
class="mb-2 text-lg font-semibold text-zinc-900 dark:text-white"
>
<div class="rounded-xl border border-zinc-200 p-6 dark:border-zinc-800">
<h3 class="mb-2 text-lg font-semibold text-zinc-900 dark:text-white">
Book Club
</h3>
<p class="text-sm text-zinc-600 dark:text-zinc-400">
Expand All @@ -102,12 +93,8 @@ import Footer from "../components/Footer";
</a>
</div>

<div
class="rounded-xl border border-zinc-200 p-6 dark:border-zinc-800"
>
<h3
class="mb-2 text-lg font-semibold text-zinc-900 dark:text-white"
>
<div class="rounded-xl border border-zinc-200 p-6 dark:border-zinc-800">
<h3 class="mb-2 text-lg font-semibold text-zinc-900 dark:text-white">
Algorithm Practice
</h3>
<p class="text-sm text-zinc-600 dark:text-zinc-400">
Expand All @@ -123,12 +110,8 @@ import Footer from "../components/Footer";
</a>
</div>

<div
class="rounded-xl border border-zinc-200 p-6 dark:border-zinc-800"
>
<h3
class="mb-2 text-lg font-semibold text-zinc-900 dark:text-white"
>
<div class="rounded-xl border border-zinc-200 p-6 dark:border-zinc-800">
<h3 class="mb-2 text-lg font-semibold text-zinc-900 dark:text-white">
Community Meetups
</h3>
<p class="text-sm text-zinc-600 dark:text-zinc-400">
Expand All @@ -149,9 +132,7 @@ import Footer from "../components/Footer";
</div>

<!-- Get Involved Section -->
<div
class="rounded-2xl bg-zinc-50 p-8 ring-1 ring-zinc-200 dark:bg-zinc-900/50 dark:ring-zinc-800"
>
<div class="rounded-2xl bg-zinc-50 p-8 ring-1 ring-zinc-200 dark:bg-zinc-900/50 dark:ring-zinc-800">
<h2 class="mb-4 text-xl font-bold text-zinc-900 dark:text-white">
Get Involved
</h2>
Expand Down
28 changes: 9 additions & 19 deletions src/pages/blog/[...slug].astro
Original file line number Diff line number Diff line change
Expand Up @@ -65,25 +65,19 @@ const blogPostSchema = {
>
{formatDate(post.data.pubDate)}
</time>
{
post.data.tags.map((tag) => (
<span class="relative z-10 rounded-full bg-zinc-100 px-3 py-1.5 font-medium text-zinc-600 dark:bg-zinc-800 dark:text-zinc-400">
{tag}
</span>
))
}
{post.data.tags.map((tag) => (
<span class="relative z-10 rounded-full bg-zinc-100 px-3 py-1.5 font-medium text-zinc-600 dark:bg-zinc-800 dark:text-zinc-400">
{tag}
</span>
))}
</div>
<h1
class="mb-4 text-4xl font-bold tracking-tight text-zinc-900 sm:text-5xl dark:text-white"
>
<h1 class="mb-4 text-4xl font-bold tracking-tight text-zinc-900 sm:text-5xl dark:text-white">
{post.data.title}
</h1>
<p class="mb-8 text-xl text-zinc-600 dark:text-zinc-400">
{post.data.description}
</p>
<div
class="flex items-center gap-x-4 border-t border-zinc-200 pt-6 dark:border-zinc-800"
>
<div class="flex items-center gap-x-4 border-t border-zinc-200 pt-6 dark:border-zinc-800">
<div class="text-sm">
<p class="font-semibold text-zinc-900 dark:text-white">
By {post.data.author}
Expand All @@ -92,9 +86,7 @@ const blogPostSchema = {
</div>
</header>

<div
class="prose prose-zinc dark:prose-invert prose-lg prose-headings:font-semibold prose-headings:text-zinc-900 dark:prose-headings:text-white prose-p:text-zinc-600 dark:prose-p:text-zinc-400 prose-a:text-indigo-600 dark:prose-a:text-indigo-400 prose-a:no-underline hover:prose-a:underline prose-strong:text-zinc-900 dark:prose-strong:text-white prose-code:text-zinc-900 dark:prose-code:text-white prose-code:bg-zinc-100 dark:prose-code:bg-zinc-800 prose-code:px-1 prose-code:py-0.5 prose-code:rounded prose-code:before:content-none prose-code:after:content-none prose-pre:bg-zinc-900 dark:prose-pre:bg-zinc-950 prose-pre:border prose-pre:border-zinc-800 prose-li:text-zinc-600 dark:prose-li:text-zinc-400 prose-blockquote:border-zinc-300 dark:prose-blockquote:border-zinc-700 prose-blockquote:text-zinc-600 dark:prose-blockquote:text-zinc-400 max-w-none"
>
<div class="prose prose-zinc dark:prose-invert prose-lg prose-headings:font-semibold prose-headings:text-zinc-900 dark:prose-headings:text-white prose-p:text-zinc-600 dark:prose-p:text-zinc-400 prose-a:text-indigo-600 dark:prose-a:text-indigo-400 prose-a:no-underline hover:prose-a:underline prose-strong:text-zinc-900 dark:prose-strong:text-white prose-code:text-zinc-900 dark:prose-code:text-white prose-code:bg-zinc-100 dark:prose-code:bg-zinc-800 prose-code:px-1 prose-code:py-0.5 prose-code:rounded prose-code:before:content-none prose-code:after:content-none prose-pre:bg-zinc-900 dark:prose-pre:bg-zinc-950 prose-pre:border prose-pre:border-zinc-800 prose-li:text-zinc-600 dark:prose-li:text-zinc-400 prose-blockquote:border-zinc-300 dark:prose-blockquote:border-zinc-700 prose-blockquote:text-zinc-600 dark:prose-blockquote:text-zinc-400 max-w-none">
<Content />
</div>

Expand All @@ -118,9 +110,7 @@ const blogPostSchema = {
>
<span class="sr-only">Share on Twitter</span>
<svg class="h-6 w-6" fill="currentColor" viewBox="0 0 24 24">
<path
d="M13.6823 10.6218L20.2391 3H18.6854L12.9921 9.61788L8.44486 3H3.2002L10.0765 13.0074L3.2002 21H4.75404L10.7663 14.0113L15.5685 21H20.8131L13.6819 10.6218H13.6823ZM11.5541 13.0956L10.8574 12.0991L5.31391 4.16971H7.70053L12.1742 10.5689L12.8709 11.5655L18.6861 19.8835H16.2995L11.5541 13.096V13.0956Z"
></path>
<path d="M13.6823 10.6218L20.2391 3H18.6854L12.9921 9.61788L8.44486 3H3.2002L10.0765 13.0074L3.2002 21H4.75404L10.7663 14.0113L15.5685 21H20.8131L13.6819 10.6218H13.6823ZM11.5541 13.0956L10.8574 12.0991L5.31391 4.16971H7.70053L12.1742 10.5689L12.8709 11.5655L18.6861 19.8835H16.2995L11.5541 13.096V13.0956Z"></path>
</svg>
</a>
</div>
Expand Down
Loading
Loading