Skip to content

Commit

Permalink
done
Browse files Browse the repository at this point in the history
  • Loading branch information
SalimDev committed Oct 10, 2023
0 parents commit be5ec6d
Show file tree
Hide file tree
Showing 27 changed files with 5,058 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
'eslint:recommended',
'plugin:react/recommended',
'plugin:react/jsx-runtime',
'plugin:react-hooks/recommended',
],
ignorePatterns: ['dist', '.eslintrc.cjs'],
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
settings: { react: { version: '18.2' } },
plugins: ['react-refresh'],
rules: {
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
}
24 changes: 24 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# React + Vite

This 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](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
18 changes: 18 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="https://media.discordapp.net/attachments/1072938365533569145/1157799699663826964/man-technologist_1f468-200d-1f4bb.png?ex=6519ec7f&is=65189aff&hm=5b6660875ce9733e6be270977b421d14e3f3c021c4b59326392547b343a2a5aa&=" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>SalimDev | Portfolio</title>
<meta name="og:title" content="Salim's Portfolio">
<meta name="author" content="SalimDev">
<meta property="og:description" content="Front-End Developer from Mahdia , Tunisia. I build websites for businesses to help stand out!" />
<meta property="og:image" content="https://media.discordapp.net/attachments/1072938365533569145/1157786555872714862/xxx.png?ex=6519e041&is=65188ec1&hm=ec6971284674c96f2ee4679ddf6ec0ecd743fff610f4a6a8c7efcc11ba5fdefb&=&width=613&height=613" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/boxicons@latest/css/boxicons.min.css">
</head>
<body >
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
Loading

0 comments on commit be5ec6d

Please sign in to comment.