fix: clean up
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
.content {
|
||||
display: grid;
|
||||
padding-bottom: 7.7rem;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 950px) {
|
||||
.content {
|
||||
gap: 10rem;
|
||||
grid-template-columns: 25rem 1fr;
|
||||
padding-bottom: 17.5rem;
|
||||
padding-left: 2.4rem;
|
||||
padding-right: 2.4rem;
|
||||
padding-top: 5.8rem;
|
||||
}
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
import Breadcrumbs from "@/components/MyPages/Breadcrumbs"
|
||||
import Sidebar from "@/components/MyPages/Sidebar"
|
||||
|
||||
import styles from "./layout.module.css"
|
||||
|
||||
import { LangParams, LayoutArgs, UriParams } from "@/types/params"
|
||||
|
||||
export default async function MyPagesURILayout({
|
||||
children,
|
||||
}: React.PropsWithChildren<LayoutArgs<LangParams & UriParams>>) {
|
||||
return (
|
||||
<>
|
||||
<Breadcrumbs />
|
||||
|
||||
<div className={styles.content}>
|
||||
<Sidebar />
|
||||
{children}
|
||||
</div>
|
||||
</>
|
||||
)
|
||||
}
|
||||
@@ -1,19 +1,3 @@
|
||||
import { GET as _GET, POST as _POST } from "@/auth"
|
||||
|
||||
import type { NextRequest } from "next/server"
|
||||
export { GET, POST } from "@/auth"
|
||||
|
||||
export const runtime = "edge"
|
||||
|
||||
export async function GET(req: NextRequest) {
|
||||
// console.log({ GET_REQ: req })
|
||||
// console.log({ GET_AUTH_URL: process.env.AUTH_URL })
|
||||
// console.log({ GET_NEXTAUTH_URL: process.env.NEXTAUTH_URL })
|
||||
return _GET(req)
|
||||
}
|
||||
|
||||
export async function POST(req: NextRequest) {
|
||||
// console.log({ POST_REQ: req })
|
||||
// console.log({ POST_AUTH_URL: process.env.AUTH_URL })
|
||||
// console.log({ POST_NEXTAUTH_URL: process.env.NEXTAUTH_URL })
|
||||
return _POST(req)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user