diff --git a/site/src/components/icons/CssTricksIcon.astro b/site/src/components/icons/CssTricksIcon.astro
new file mode 100644
index 0000000000..4df46d4c02
--- /dev/null
+++ b/site/src/components/icons/CssTricksIcon.astro
@@ -0,0 +1,19 @@
+---
+import type { SvgIconProps } from '@libs/icon'
+
+type Props = SvgIconProps
+
+const { class: className, height, width } = Astro.props
+---
+
+
diff --git a/site/src/content/config.ts b/site/src/content/config.ts
index d3bffe6479..5e38d89e57 100644
--- a/site/src/content/config.ts
+++ b/site/src/content/config.ts
@@ -18,6 +18,7 @@ const docsSchema = z.object({
.array()
.optional(),
mdn: z.string().optional(),
+ csstricks: z.string().optional(),
sections: z
.object({
description: z.string(),
diff --git a/site/src/layouts/DocsLayout.astro b/site/src/layouts/DocsLayout.astro
index f57bf90d80..acbb42540e 100644
--- a/site/src/layouts/DocsLayout.astro
+++ b/site/src/layouts/DocsLayout.astro
@@ -15,6 +15,7 @@ import { fileURLToPath } from 'node:url'
import { join, dirname } from 'node:path'
import GitHubIcon from '@components/icons/GitHubIcon.astro'
import MdnIcon from '@components/icons/MdnIcon.astro'
+import CssTricksIcon from '@components/icons/CssTricksIcon.astro'
interface NavigationPage {
title: string
@@ -135,7 +136,21 @@ if (currentPageIndex < allPages.length - 1) {
rel="noopener"
>
- View on MDN
+ MDN
+
+ )
+ }
+ {
+ frontmatter.csstricks && (
+
+
+ CSS-Tricks
)
}