File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 11'use client' ;
22
33import React from 'react' ;
4+ import Image from 'next/image' ;
5+ import Link from 'next/link' ;
46import { notFound , usePathname } from 'next/navigation' ;
7+ import { Icon , Text } from 'opub-ui' ;
58
9+ import { Icons } from '@/components/icons' ;
10+ import MainFooter from '../dashboard/components/main-footer' ;
611import { MainNav } from '../dashboard/components/main-nav' ;
712
813interface UserLayoutProps {
@@ -29,6 +34,9 @@ export default function Layout({ children }: UserLayoutProps) {
2934 < MainNav hideSearch = { hideSearch } />
3035 </ header >
3136 < > { children } </ >
37+ < footer >
38+ < MainFooter />
39+ </ footer >
3240 </ div >
3341 ) ;
3442}
Original file line number Diff line number Diff line change 22
33import React from 'react' ;
44
5+ import MainFooter from './components/main-footer' ;
56import { MainNav } from './components/main-nav' ;
67
78interface DashboardLayoutProps {
@@ -20,6 +21,9 @@ export default function Layout({ children }: DashboardLayoutProps) {
2021 < MainNav />
2122 </ header >
2223 < > { children } </ >
24+ < footer >
25+ < MainFooter />
26+ </ footer >
2327 </ div >
2428 ) ;
2529}
You can’t perform that action at this time.
0 commit comments