Added Redis for Caching and Started Database Query Caching Migration to Redis

This commit is contained in:
Ahmad 2025-01-18 19:14:19 -05:00
parent f99360d9b9
commit 0f899cb34f
No known key found for this signature in database
GPG key ID: 8FD8A93530D182BF
12 changed files with 260 additions and 632 deletions

View file

@ -5,17 +5,14 @@ import Link from 'next/link';
import { useTheme } from 'next-themes';
export const Logo = () => {
const { theme } = useTheme();
const { resolvedTheme } = useTheme();
return (
// TODO: Make this go back to the organization page if you are logged in
<Link href='/'>
<div
className='hidden items-center gap-x-2 transition hover:opacity-75 md:flex'
suppressHydrationWarning
>
<Link href='/' suppressHydrationWarning>
<div className='hidden items-center gap-x-2 transition hover:opacity-75 md:flex'>
<Image
src={`/logo-${theme === 'light' ? 'light' : 'dark'}.svg`}
src={`/logo-${resolvedTheme === 'dark' ? 'dark' : 'light'}.svg`}
alt='logo'
height={100}
width={100}