diff --git a/_includes/layouts/main.tsx b/_includes/layouts/main.tsx new file mode 100644 index 0000000..b1505d0 --- /dev/null +++ b/_includes/layouts/main.tsx @@ -0,0 +1,13 @@ +export default function({ title, children }) { + return ( + + + + { title } + + + { children } + + + ); +} diff --git a/index.tsx b/index.tsx new file mode 100644 index 0000000..7bab8cd --- /dev/null +++ b/index.tsx @@ -0,0 +1,11 @@ +export const title = "My website"; +export const layout = "layouts/main.tsx"; + +export default function() { + return ( + <> +

Foster Hangdaan

+

Welcome!

+ + ); +}