File tree Expand file tree Collapse file tree 5 files changed +12
-12
lines changed Expand file tree Collapse file tree 5 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 1
1
import { Logo } from "@/components/logo" ;
2
- import { GridContainer } from "../layout " ;
2
+ import { GridContainer } from "../grid-container " ;
3
3
4
4
export default async function Course ( ) {
5
5
return (
Original file line number Diff line number Diff line change
1
+ import BaseContainer from "@/components/grid-container" ;
2
+
3
+ export function GridContainer ( { children } : { children : React . ReactNode } ) {
4
+ return (
5
+ < BaseContainer >
6
+ < div className = "px-0 py-2 sm:px-2" > { children } </ div >
7
+ </ BaseContainer >
8
+ ) ;
9
+ }
Original file line number Diff line number Diff line change 1
- import BaseContainer from "@/components/grid-container" ;
2
1
import React from "react" ;
3
2
4
- export function GridContainer ( { children } : { children : React . ReactNode } ) {
5
- return (
6
- < BaseContainer >
7
- < div className = "px-0 py-2 sm:px-2" > { children } </ div >
8
- </ BaseContainer >
9
- ) ;
10
- }
11
-
12
3
export default async function Layout ( { children } : React . PropsWithChildren ) {
13
4
return (
14
5
< div className = "max-w-screen overflow-x-hidden [html:has(&)]:bg-gray-950" >
Original file line number Diff line number Diff line change 1
1
import { Logo } from "@/components/logo" ;
2
2
import { HeroActions , SignUpForm } from "./call-to-action" ;
3
- import { GridContainer } from "./layout " ;
3
+ import { GridContainer } from "./grid-container " ;
4
4
5
5
import type { Metadata } from "next" ;
6
6
Original file line number Diff line number Diff line change 1
1
import { Logo } from "@/components/logo" ;
2
- import { GridContainer } from "../layout " ;
2
+ import { GridContainer } from "../grid-container " ;
3
3
4
4
export default async function Course ( ) {
5
5
return (
You can’t perform that action at this time.
0 commit comments