Skip to content
Open
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
11 changes: 7 additions & 4 deletions apps/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,20 @@
},
"dependencies": {
"@base-ui/react": "catalog:",
"@prisma/eclipse": "workspace:^",
"@prisma-docs/ui": "workspace:*",
"@prisma/eclipse": "workspace:^",
"clsx": "catalog:",
"cors": "^2.8.6",
"lucide-react": "catalog:",
"next": "catalog:",
"npm-to-yarn": "catalog:",
"posthog-js": "catalog:",
"react": "catalog:",
"react-dom": "catalog:",
"react-tweet": "catalog:",
"posthog-js": "catalog:",
"remark-directive": "catalog:",
"shiki": "3.22.0",
"tailwind-merge": "catalog:",
"zod": "catalog:"
},
"devDependencies": {
Expand All @@ -32,11 +35,11 @@
"@types/node": "catalog:",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"babel-plugin-react-compiler": "catalog:",
"next-validate-link": "catalog:",
"postcss": "catalog:",
"tailwindcss": "catalog:",
"tsx": "catalog:",
"typescript": "catalog:",
"babel-plugin-react-compiler": "catalog:"
"typescript": "catalog:"
}
}
37 changes: 21 additions & 16 deletions apps/site/src/app/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,51 +39,56 @@

.newsletter-bg {
background: linear-gradient(
59deg,
color-mix(in srgb, var(--color-foreground-ppg) 30%, transparent) 6.53%,
59deg,
color-mix(in srgb, var(--color-foreground-ppg) 30%, transparent) 6.53%,
var(--color-background-default) 74.71%
)
);
}

@keyframes glitch-1 {
0% {
clip-path: inset(20% 0 60% 0);
clip-path: inset(20% 0 60% 0);
}
20% {
clip-path: inset(10% 0 85% 0);
clip-path: inset(10% 0 85% 0);
}
40% {
clip-path: inset(40% 0 40% 0);
clip-path: inset(40% 0 40% 0);
}
60% {
clip-path: inset(80% 0 5% 0);
clip-path: inset(80% 0 5% 0);
}
80% {
clip-path: inset(50% 0 30% 0);
clip-path: inset(50% 0 30% 0);
}
100% {
clip-path: inset(25% 0 55% 0);
clip-path: inset(25% 0 55% 0);
}
}
}

@keyframes glitch-2 {
0% {
clip-path: inset(80% 0 5% 0);
clip-path: inset(80% 0 5% 0);
}
20% {
clip-path: inset(50% 0 30% 0);
clip-path: inset(50% 0 30% 0);
}
40% {
clip-path: inset(20% 0 60% 0);
clip-path: inset(20% 0 60% 0);
}
60% {
clip-path: inset(10% 0 85% 0);
clip-path: inset(10% 0 85% 0);
}
80% {
clip-path: inset(40% 0 40% 0);
clip-path: inset(40% 0 40% 0);
}
100% {
clip-path: inset(75% 0 15% 0);
clip-path: inset(75% 0 15% 0);
}
}

.diff-add {
background: var(--color-background-orm);
width: 100%;
display: inline-block;
}
8 changes: 2 additions & 6 deletions apps/site/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,19 +121,15 @@ function baseOptions() {

export default function Layout({ children }: { children: React.ReactNode }) {
return (
<html
lang="en"
className={`${inter.variable}`}
suppressHydrationWarning
>
<html lang="en" className={`${inter.variable}`} suppressHydrationWarning>
<head>
<Script
src="https://kit.fontawesome.com/6916e9db27.js"
crossOrigin="anonymous"
></Script>
</head>
<body className="flex flex-col min-h-screen pt-24 relative">
<div className="bg-blog absolute inset-0 -z-1 overflow-hidden" />
<div className="bg-background-default absolute inset-0 -z-1 overflow-hidden" />
<Provider>
<ThemeProvider defaultTheme="system" storageKey="theme">
<WebNavigation
Expand Down
Loading
Loading