Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
IslemMedjahdi committed Dec 23, 2022
1 parent 198ba6f commit 225a102
Show file tree
Hide file tree
Showing 19 changed files with 407 additions and 534 deletions.
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# .estlintignore file
.next
dist
node_modules/
15 changes: 14 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
{
"extends": "next/core-web-vitals"
"env": {
"browser": true,
"es2021": true
},
"extends": ["plugin:react/recommended", "airbnb", "prettier"],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": ["react"],
"rules": {}
}
5 changes: 5 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"singleQuote": false,
"tabWidth": 2,
"semi": true
}
8 changes: 8 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll": true,
"source.organizeImports": true
}
}
10 changes: 10 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,21 @@
"@types/node": "18.11.17",
"@types/react": "18.0.26",
"@types/react-dom": "18.0.9",
"autoprefixer": "^10.4.13",
"eslint": "8.30.0",
"eslint-config-next": "13.1.0",
"next": "13.1.0",
"postcss": "^8.4.20",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-icons": "^4.7.1",
"tailwindcss": "^3.2.4",
"typescript": "4.9.4"
},
"devDependencies": {
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-unused-imports": "^2.0.0",
"prettier": "^2.8.1",
"prettier-plugin-tailwindcss": "^0.2.1"
}
}
13 changes: 0 additions & 13 deletions pages/api/hello.ts

This file was deleted.

123 changes: 0 additions & 123 deletions pages/index.tsx

This file was deleted.

6 changes: 6 additions & 0 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}
1 change: 1 addition & 0 deletions src/constants/icons.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const ICONS = {};
1 change: 1 addition & 0 deletions src/constants/images.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const IMAGES = {};
1 change: 1 addition & 0 deletions src/constants/info.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const INFO = {};
File renamed without changes.
6 changes: 3 additions & 3 deletions pages/_document.tsx → src/pages/_document.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { Html, Head, Main, NextScript } from 'next/document'
import { Html, Head, Main, NextScript } from "next/document";

export default function Document() {
return (
<Html lang="en">
<Head />
<Head></Head>
<body>
<Main />
<NextScript />
</body>
</Html>
)
);
}
7 changes: 7 additions & 0 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { NextPage } from "next";

const Home: NextPage = () => {
return <div className="h-screen bg-red-500 ">{"islem"}</div>;
};

export default Home;
3 changes: 3 additions & 0 deletions src/styles/globals.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
Loading

0 comments on commit 225a102

Please sign in to comment.