Skip to content

Commit d9597ca

Browse files
committed
make build work
1 parent f3e6552 commit d9597ca

File tree

3 files changed

+14
-13
lines changed

3 files changed

+14
-13
lines changed

site/src/app/layout.tsx

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import type { PropsWithChildren } from "react";
88
import { Toaster } from "sonner";
99
import { DynamicMaximumScaleMeta } from "./layout.client";
1010
import "./styles.css";
11+
import { config } from "@/config";
1112

1213
const inter = localFont({
1314
src: "./inter-variable.woff2",
@@ -19,17 +20,6 @@ const jetbrainsMono = JetBrains_Mono({
1920
variable: "--font-jetbrains-mono",
2021
});
2122

22-
export const config = {
23-
name: "Frimousse — An emoji picker for React",
24-
url: "https://frimousse.liveblocks.io",
25-
description:
26-
"A lightweight, unstyled, and composable emoji picker for React. Frimousse is an open-source library that provides you with primitive components, originally created for Liveblocks Comments. Styles can be applied with CSS, Tailwind, JS-in-CSS, and more.",
27-
links: {
28-
twitter: "https://x.com/liveblocks",
29-
github: "https://github.com/liveblocks/frimousse",
30-
},
31-
} as const;
32-
3323
export const metadata: Metadata = {
3424
title: {
3525
default: config.name,

site/src/app/sitemap.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import type { MetadataRoute } from "next";
2-
import { config } from "@/app/layout";
2+
import { config } from "@/config";
33

4-
export default function sitemap(): MetadataRoute.Sitemap {
4+
export default async function sitemap(): Promise<MetadataRoute.Sitemap> {
5+
"use cache";
56
return [
67
{
78
url: config.url,

site/src/config.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
export const config = {
2+
name: "Frimousse — An emoji picker for React",
3+
url: "https://frimousse.liveblocks.io",
4+
description:
5+
"A lightweight, unstyled, and composable emoji picker for React. Frimousse is an open-source library that provides you with primitive components, originally created for Liveblocks Comments. Styles can be applied with CSS, Tailwind, JS-in-CSS, and more.",
6+
links: {
7+
twitter: "https://x.com/liveblocks",
8+
github: "https://github.com/liveblocks/frimousse",
9+
},
10+
} as const;

0 commit comments

Comments
 (0)