Skip to content

Commit 0b631b6

Browse files
committed
feat(web): add analytics and dark mode
1 parent ed79d18 commit 0b631b6

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

web/src/app/layout.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ export default function RootLayout({
5252
>
5353
{children}
5454
</ThemeProvider>
55+
<script
56+
defer
57+
src="https://static.cloudflareinsights.com/beacon.min.js"
58+
data-cf-beacon='{"token": "6b4ca0b4cc924f9fac5827b89cf1a15f"}'
59+
></script>
5560
</body>
5661
</html>
5762
);

web/src/app/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,14 @@ export default function Home() {
6464
<SpringEditor />
6565
<h2 className="mt-8 text-xl font-bold tracking-tight">Installation</h2>
6666
<p className="mt-4">Install the plugin</p>
67-
<pre className="mt-4 overflow-x-auto rounded bg-gray-100 p-3">
67+
<pre className="mt-4 overflow-x-auto rounded bg-muted p-3">
6868
<CopyButton text={`npm install tailwindcss-spring`} />
6969
<code>npm install tailwindcss-spring</code>
7070
</pre>
7171
<p className="mt-4">
7272
Then add the plugin to your tailwind.config.js file:
7373
</p>
74-
<pre className="mt-4 overflow-x-auto rounded bg-gray-100 p-3">
74+
<pre className="mt-4 overflow-x-auto rounded bg-muted p-3">
7575
<code>
7676
{`// tailwind.config.js
7777
module.exports = {

0 commit comments

Comments
 (0)