diff --git a/.gitignore b/.gitignore index a547bf3..0750d47 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,7 @@ node_modules dist dist-ssr *.local +bun.lockb # Editor directories and files .vscode/* diff --git a/bun.lockb b/bun.lockb new file mode 100755 index 0000000..6b429a8 Binary files /dev/null and b/bun.lockb differ diff --git a/src/Frontend/Components/NavBar/NavBar.jsx b/src/Frontend/Components/NavBar/NavBar.jsx index f0eb295..82b7635 100644 --- a/src/Frontend/Components/NavBar/NavBar.jsx +++ b/src/Frontend/Components/NavBar/NavBar.jsx @@ -1,18 +1,24 @@ -import React from 'react' -import './NavBar.css' +import React from 'react'; +import './NavBar.css'; const NavBar = ({ handleContactClick }) => { return ( -
- -

</SiddZ>

-
+
+

+ {'<'}/SiddZ{'>'} +

+
{/*

About

*/} {/*

Projects

*/} - +
- ) -} + ); +}; -export default NavBar \ No newline at end of file +export default NavBar; diff --git a/src/Frontend/Components/Project/Project.jsx b/src/Frontend/Components/Project/Project.jsx index 6c6b72f..293ee75 100644 --- a/src/Frontend/Components/Project/Project.jsx +++ b/src/Frontend/Components/Project/Project.jsx @@ -1,31 +1,48 @@ -import React from 'react' - +import React from 'react'; +//million-ignore const Project = ({ title, image, description, link, lang, workInProgress }) => { return ( -
- -

{title}

-

+

+ {title} +

+ {title} +

+

{lang.map((language, index) => ( {language} - {index < lang.length - 1 && / } + {index < lang.length - 1 && ( + / + )} ))}

-

{description}

-
- +

+ {description} +

+
+ -
-

Live Preview

-
+
+

+ Live Preview +

+
- {workInProgress &&

Work in Progress

} + {workInProgress && ( +

+ Work in Progress +

+ )}
- ) -} + ); +}; -export default Project +export default Project; diff --git a/vite.config.js b/vite.config.js index 5a33944..61c5629 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,7 +1,15 @@ -import { defineConfig } from 'vite' -import react from '@vitejs/plugin-react' +import million from 'million/compiler'; +import react from '@vitejs/plugin-react'; +import { defineConfig } from 'vite'; -// https://vitejs.dev/config/ export default defineConfig({ - plugins: [react()], -}) + plugins: [ + million.vite({ + auto: { + threshold: 0.05, + skip: ['useBadHook', /badVariable/g], + }, + }), + react(), + ], +});