chore: update @ciphera-net/ui dependency to version 0.0.34 in package.json and package-lock.json; refactor Footer component to simplify layout and remove WebsiteFooter

This commit is contained in:
Usman Baig
2026-01-30 19:47:48 +01:00
parent 2a886b984e
commit 0263d85e50
6 changed files with 9 additions and 290 deletions

View File

@@ -1,7 +1,6 @@
'use client'
import { Header, Footer } from '@ciphera-net/ui'
import WebsiteFooter from '@/components/WebsiteFooter'
import { useAuth } from '@/lib/auth/context'
import Link from 'next/link'
import { useEffect, useState } from 'react'
@@ -54,15 +53,10 @@ export default function LayoutContent({ children }: { children: React.ReactNode
<main className="flex-1 pt-24 pb-8">
{children}
</main>
{auth.user ? (
<Footer
LinkComponent={Link}
appName="Pulse"
year="2024-2026"
/>
) : (
<WebsiteFooter />
)}
<Footer
LinkComponent={Link}
appName="Pulse"
/>
</>
)
}