diff --git a/index.html b/index.html index 39b176f..53e9707 100644 --- a/index.html +++ b/index.html @@ -7,12 +7,6 @@ Nhan's Resume - diff --git a/src/main.css b/src/main.css new file mode 100644 index 0000000..7fed4d0 --- /dev/null +++ b/src/main.css @@ -0,0 +1,4 @@ +body { + font-family: "Rokkitt" !important; + font-size: 1.3em !important; +} \ No newline at end of file diff --git a/src/main.tsx b/src/main.tsx index dfd2ce7..cd5f1dd 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -1,8 +1,10 @@ import React from 'react' import ReactDOM from 'react-dom/client' import App from './App.tsx' + import "bootstrap/dist/css/bootstrap.min.css"; import "bootstrap/dist/js/bootstrap.bundle.min"; +import "./main.css"; ReactDOM.createRoot(document.getElementById('root')!).render( diff --git a/vite.config.ts b/vite.config.ts index 5a33944..5200165 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -4,4 +4,5 @@ import react from '@vitejs/plugin-react' // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], + base: './' })