Add base setup
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import Link from 'next/link'
|
||||
import Link from "next/link";
|
||||
|
||||
export default function CustomLink({ as, href, ...otherProps }) {
|
||||
return (
|
||||
@@ -12,5 +12,5 @@ export default function CustomLink({ as, href, ...otherProps }) {
|
||||
}
|
||||
`}</style>
|
||||
</>
|
||||
)
|
||||
);
|
||||
}
|
||||
@@ -41,9 +41,9 @@ export default function Layout({ children }) {
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: 'Menlo';
|
||||
font-family: "Menlo";
|
||||
}
|
||||
`}</style>
|
||||
</>
|
||||
)
|
||||
);
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
export default function TestComponent({ name = 'world' }) {
|
||||
export default function TestComponent({ name = "world" }) {
|
||||
return (
|
||||
<>
|
||||
<div>Hello, {name}!</div>
|
||||
@@ -12,5 +12,5 @@ export default function TestComponent({ name = 'world' }) {
|
||||
}
|
||||
`}</style>
|
||||
</>
|
||||
)
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user