This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "use client"; | |
| import Script from "next/script"; | |
| const Clarity = () => { | |
| return ( | |
| <> | |
| <Script strategy="lazyOnload" id="clarity-script"> | |
| {` | |
| (function(c,l,a,r,i,t,y){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Sky gradient with border glow effect - reusable for buttons, tabs, cards */ | |
| .sky-gradient-glow { | |
| position: relative; | |
| background: linear-gradient(to bottom, rgb(125, 211, 252), rgb(14, 165, 233)); | |
| transition: all 0.3s ease; | |
| box-shadow: 0 10px 25px rgba(0, 188, 255, 0.3); | |
| } | |
| .sky-gradient-glow::before { | |
| content: ""; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @keyframes bg-pan { | |
| 0% { | |
| background-position: 200% 0; | |
| } | |
| 100% { | |
| background-position: -200% 0; | |
| } | |
| } | |
| .animate-bg-pan { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use client'; | |
| import { useTheme } from 'next-themes'; | |
| import { Toaster } from '@/components/ui/sonner'; | |
| const ToasterwithTheme = () => { | |
| const { theme } = useTheme(); | |
| return ( | |
| <Toaster | |
| richColors | |
| closeButton |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { PrismaClient } from "@prisma/client"; | |
| const prismaClientSingleton = () => { | |
| return new PrismaClient(); | |
| }; | |
| type PrismaClientSingleton = ReturnType<typeof prismaClientSingleton>; | |
| const globalForPrisma = globalThis as unknown as { | |
| prisma: PrismaClientSingleton | undefined; | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Headings */ | |
| .markdown-body h1 { | |
| font-size: 2.5rem; /* 40px */ | |
| } | |
| .markdown-body h2 { | |
| font-size: 2rem; /* 32px */ | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| html { | |
| box-sizing: border-box; | |
| -webkit-font-smoothing: antialiased; | |
| } | |
| * { | |
| box-sizing: inherit; | |
| margin: 0; | |
| padding: 0; | |
| } |