Add Next.js + React + Bootstrap

This commit is contained in:
Dejvino
2023-05-24 06:23:20 +02:00
parent e8cc242408
commit a610c23ead
13 changed files with 4152 additions and 628 deletions
+2
View File
@@ -0,0 +1,2 @@
@import 'bootstrap/dist/css/bootstrap.min.css';
+22
View File
@@ -0,0 +1,22 @@
import './globals.css'
import { Inter } from 'next/font/google'
const inter = Inter({ subsets: ['latin'] })
export const metadata = {
title: 'David Hrdina Němeček | CV',
description: 'Curriculum Vitae',
}
export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<html lang="en">
<body className={inter.className}>{children}</body>
</html>
)
}
+15
View File
@@ -0,0 +1,15 @@
'use client'
import Button from 'react-bootstrap/Button';
import Alert from 'react-bootstrap/Alert';
export default function Home() {
return (
<main>
<Alert variant='info'>
This Bootstrap theme works.
</Alert>
<Button>Yes!</Button>
</main>
)
}