feat: restructure routing and layouts for admin and news sections, update cookie paths
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import { redirect } from 'react-router'
|
||||
import { NewsPage } from '~/pages/news'
|
||||
|
||||
export async function loader() {
|
||||
return redirect('/news')
|
||||
const NewsIndexLayout = () => {
|
||||
return <NewsPage />
|
||||
}
|
||||
|
||||
export default NewsIndexLayout
|
||||
|
||||
Reference in New Issue
Block a user