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
4 changes: 2 additions & 2 deletions app/blog/[slug]/opengraph-image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ export default async function Image({
if (!res.ok) return notFound()
return res.json()
}),
fetch(new URL("../../../assets/inter-light.ttf", import.meta.url)).then(
fetch(new URL(`${base}/fonts/inter-light.ttf`, import.meta.url)).then(
(res) => res.arrayBuffer()
),
fetch(
new URL("../../../assets/cal-sans-semibold.ttf", import.meta.url)
new URL(`${base}/fonts/cal-sans-semibold.ttf`, import.meta.url)
).then((res) => res.arrayBuffer())
] as const)

Expand Down
2 changes: 1 addition & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const inter = Inter({
});

const calSans = localFont({
src: "../assets/cal-sans-semibold.woff2",
src: "../public/fonts/cal-sans-semibold.woff2",
weight: "600",
display: "swap",
variable: "--font-cal-sans",
Expand Down
2 changes: 1 addition & 1 deletion components/docs/table-of-contents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const TableOfContents: React.FC<{
<div className="text-sm py-9 space-y-3">
{pageFilePath && (
<Link
href={`https://github.com/apalis-dev/website/blob/content/${pageFilePath}`}
href={`https://github.com/apalis-dev/website/blob/main/content/${pageFilePath}`}
className="flex items-start gap-1 hover:text-black dark:hover:text-white"
>
<span>Edit on GitHub</span>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading