Switch to double quotes and reformat codebase with Biome

This commit is contained in:
Mohamed Boudra
2026-03-21 20:22:15 +07:00
parent ab40786882
commit f6579dbeb4
805 changed files with 38132 additions and 40175 deletions
+16 -21
View File
@@ -1,38 +1,33 @@
import type { ReactNode } from 'react'
import {
Outlet,
createRootRoute,
HeadContent,
Scripts,
} from '@tanstack/react-router'
import type { ReactNode } from "react";
import { Outlet, createRootRoute, HeadContent, Scripts } from "@tanstack/react-router";
export const Route = createRootRoute({
head: () => ({
meta: [
{ charSet: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ name: 'theme-color', content: '#0a0a0a' },
{ property: 'og:site_name', content: 'Paseo' },
{ property: 'og:type', content: 'website' },
{ property: 'og:image', content: 'https://paseo.sh/og-image.png' },
{ name: 'twitter:card', content: 'summary_large_image' },
{ name: 'twitter:image', content: 'https://paseo.sh/og-image.png' },
{ charSet: "utf-8" },
{ name: "viewport", content: "width=device-width, initial-scale=1" },
{ name: "theme-color", content: "#0a0a0a" },
{ property: "og:site_name", content: "Paseo" },
{ property: "og:type", content: "website" },
{ property: "og:image", content: "https://paseo.sh/og-image.png" },
{ name: "twitter:card", content: "summary_large_image" },
{ name: "twitter:image", content: "https://paseo.sh/og-image.png" },
],
links: [
{ rel: 'icon', href: '/favicon.ico', sizes: '48x48' },
{ rel: 'icon', href: '/favicon.svg', type: 'image/svg+xml' },
{ rel: 'apple-touch-icon', href: '/favicon.svg' },
{ rel: "icon", href: "/favicon.ico", sizes: "48x48" },
{ rel: "icon", href: "/favicon.svg", type: "image/svg+xml" },
{ rel: "apple-touch-icon", href: "/favicon.svg" },
],
}),
component: RootComponent,
})
});
function RootComponent() {
return (
<RootDocument>
<Outlet />
</RootDocument>
)
);
}
function RootDocument({ children }: Readonly<{ children: ReactNode }>) {
@@ -46,5 +41,5 @@ function RootDocument({ children }: Readonly<{ children: ReactNode }>) {
<Scripts />
</body>
</html>
)
);
}