Click on the photo to visit the live site.
This project leverages the latest standards in web development:
- React 19: Built on the cutting-edge version of React.
- TypeScript: Ensuring type safety and a robust development experience.
- CSS Modules: For scoped, maintainable, and collision-free styling.
- Modern CSS: Utilizing CSS variables and native features for a responsive and themable design.
- Vite: A fast build tool for modern web development.
- react-svg-inliner: A React component for inlining SVG images.
Follow these steps to run the documentation locally on your machine.
If you haven't already, clone the codejovz.github.io repository:
git clone https://github.com/codejovz/codejovz.github.io.gitSwitch to the codejovz.github.io folder where this web application resides:
cd codejovz.github.ioInstall the necessary dependencies using npm:
npm installStart the local development server:
npm run devOpen http://localhost:5173 with your browser to see the result.
This project follows a Feature-Based Architecture. This keeps related code collocated, making it easier to maintain and scale.
├── public/ # Static Assets (Google, company logos)
├── src/
│ ├── features/
│ │ ├── resumee/ # Subcomponents and utils for resumee
│ │ └── showcase/ # Subcomponents and utils for showcase
│ ├── App.tsx # Main application component
│ ├── App.css/ # Main application styles
│ ├── Menu.tsx/ # Menu component
│ └── ...
├── index.html # Loads script for Google's font.
└── ...
src/: Contains the main application logic. Each folder represents a component (e.g.,/resumee,/showcase), encompassing its own page, layout, and specific styles with*.module.css.
I used React + TypeScript + Vite
With a template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
export default tseslint.config([
globalIgnores(['dist']),
{
files: ['**/*.{ts,tsx}'],
extends: [
// Other configs...
// Remove tseslint.configs.recommended and replace with this
...tseslint.configs.recommendedTypeChecked,
// Alternatively, use this for stricter rules
...tseslint.configs.strictTypeChecked,
// Optionally, add this for stylistic rules
...tseslint.configs.stylisticTypeChecked,
// Other configs...
],
languageOptions: {
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
// other options...
},
},
])You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:
// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'
export default tseslint.config([
globalIgnores(['dist']),
{
files: ['**/*.{ts,tsx}'],
extends: [
// Other configs...
// Enable lint rules for React
reactX.configs['recommended-typescript'],
// Enable lint rules for React DOM
reactDom.configs.recommended,
],
languageOptions: {
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
// other options...
},
},
])