Skip to content

Commit

Permalink
use vite instead
Browse files Browse the repository at this point in the history
  • Loading branch information
codekansas committed Aug 7, 2024
1 parent 3e21dca commit 9b5f866
Show file tree
Hide file tree
Showing 60 changed files with 8,128 additions and 29,723 deletions.
4 changes: 0 additions & 4 deletions frontend/.prettierrc

This file was deleted.

2 changes: 1 addition & 1 deletion frontend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Install requirements:

```bash
cd frontend # This directory
nvm use 20.10.0
nvm use v22.6.0
npm install
```

Expand Down
File renamed without changes.
File renamed without changes
File renamed without changes.
10 changes: 8 additions & 2 deletions frontend/eslint.config.js → frontend/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { fixupConfigRules } from "@eslint/compat";
import pluginJs from "@eslint/js";
import pluginReactConfig from "eslint-plugin-react/configs/recommended.js";
import globals from "globals";
import tseslint from "typescript-eslint";

const reactSettings = {
Expand All @@ -13,7 +12,14 @@ const reactSettings = {
};

export default [
{ languageOptions: { globals: globals.browser } },
{
ignores: [
"node_modules/**/*",
"**/__tests__/**/*",
"*.config.ts",
"*.config.js",
],
},
pluginJs.configs.recommended,
...tseslint.configs.recommended,
reactSettings,
Expand Down
32 changes: 32 additions & 0 deletions frontend/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8" />

<!-- SEO -->
<meta name="description" content="Buy and sell humanoid robots and robot parts online" />
<meta name="keywords" content="K-Scale Labs, Robot, Robots, Humanoid Robots, " />

<!-- View options -->
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="#000000" />

<!-- Third-party stylesheets -->
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Roboto'>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tailwindcss/2.2.19/tailwind.min.css" />

<!-- Manifest -->
<link rel="icon" href="assets/favicon.ico" type="image/x-icon" />
<link rel="apple-touch-icon" href="assets/logo192.png" />
<link rel="manifest" href="assets/manifest.json" />

<title>Robolist</title>
</head>

<body>
<div id="root"></div>
<script type="module" src="src/index.tsx"></script>
</body>

</html>
Loading

0 comments on commit 9b5f866

Please sign in to comment.