summaryrefslogtreecommitdiff
path: root/examples/blog
diff options
context:
space:
mode:
Diffstat (limited to 'examples/blog')
-rw-r--r--examples/blog/astro.config.mjs4
-rw-r--r--examples/blog/src/components/LikeButton.tsx4
-rw-r--r--examples/blog/src/styles/blog.css10
3 files changed, 9 insertions, 9 deletions
diff --git a/examples/blog/astro.config.mjs b/examples/blog/astro.config.mjs
index e514e8de2..08916b1fe 100644
--- a/examples/blog/astro.config.mjs
+++ b/examples/blog/astro.config.mjs
@@ -1,5 +1,5 @@
-import { defineConfig } from "astro/config";
-import preact from "@astrojs/preact";
+import { defineConfig } from 'astro/config';
+import preact from '@astrojs/preact';
// https://astro.build/config
export default defineConfig({
diff --git a/examples/blog/src/components/LikeButton.tsx b/examples/blog/src/components/LikeButton.tsx
index d477cee1e..23d8518de 100644
--- a/examples/blog/src/components/LikeButton.tsx
+++ b/examples/blog/src/components/LikeButton.tsx
@@ -1,4 +1,4 @@
-import { useState } from "preact/hooks";
+import { useState } from 'preact/hooks';
interface Props {
pageUrl: string;
@@ -26,7 +26,7 @@ export default function LikeButton({ pageUrl }: Props) {
>
{/* fill the heart when liked ♥ */}
<path
- fill={liked ? "red" : "#ccc"}
+ fill={liked ? 'red' : '#ccc'}
d="m12 21.35l-1.45-1.32C5.4 15.36 2 12.27 2 8.5C2 5.41 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.08C13.09 3.81 14.76 3 16.5 3C19.58 3 22 5.41 22 8.5c0 3.77-3.4 6.86-8.55 11.53L12 21.35Z"
></path>
</svg>
diff --git a/examples/blog/src/styles/blog.css b/examples/blog/src/styles/blog.css
index b32295a40..2f338fd6a 100644
--- a/examples/blog/src/styles/blog.css
+++ b/examples/blog/src/styles/blog.css
@@ -1,10 +1,10 @@
:root {
--font-fallback: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif,
Apple Color Emoji, Segoe UI Emoji;
- --font-body: "IBM Plex Sans", var(--font-fallback);
- --font-mono: "IBM Plex Mono", Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console",
- "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono",
- "Nimbus Mono L", Monaco, "Courier New", Courier, monospace;
+ --font-body: 'IBM Plex Sans', var(--font-fallback);
+ --font-mono: 'IBM Plex Mono', Consolas, 'Andale Mono WT', 'Andale Mono', 'Lucida Console',
+ 'Lucida Sans Typewriter', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Liberation Mono',
+ 'Nimbus Mono L', Monaco, 'Courier New', Courier, monospace;
--color-white: #fff;
--color-black: #000014;
@@ -174,7 +174,7 @@ a > code {
}
a > code::before {
- content: "";
+ content: '';
position: absolute;
top: 0;
right: 0;