mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-04-30 18:59:37 +00:00
Added Redis for Caching and Started Database Query Caching Migration to Redis
This commit is contained in:
parent
f99360d9b9
commit
0f899cb34f
12 changed files with 260 additions and 632 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue