Skip to content

Commit

Permalink
Merge pull request #3 from Kartik8Dwivedi/landing-page
Browse files Browse the repository at this point in the history
Landing page updated
  • Loading branch information
chans-dev authored Oct 10, 2023
2 parents 68ec9af + f1b871d commit b7515e9
Show file tree
Hide file tree
Showing 26 changed files with 4,561 additions and 0 deletions.
29 changes: 29 additions & 0 deletions landing-page/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# React + TypeScript + Vite

### This Site is running at: https://landing-page-hacktoberfest.netlify.app/

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

## Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:

- Configure the top-level `parserOptions` property like this:

```js
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: ['./tsconfig.json', './tsconfig.node.json'],
tsconfigRootDir: __dirname,
},
```

- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked`
- Optionally add `plugin:@typescript-eslint/stylistic-type-checked`
- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list
Binary file added landing-page/bun.lockb
Binary file not shown.
13 changes: 13 additions & 0 deletions landing-page/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
</head>
<body class="overflow-x-hidden">
<div id="root" class="min-h-screen bg-[#111827]"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
Loading

0 comments on commit b7515e9

Please sign in to comment.