diff --git a/README.md b/README.md index 0d6babe..5a00573 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,9 @@ -# React + TypeScript + Vite +# Lunar Vein: Arduino Client + +Client version of the [lunar vein arduino](https://github.com/norman-andrians/lunar-vein-arduino) project, This is the source code of the serial communication API testing example, built with React, Typescript and Vite. The example web client code in the [main branch](https://github.com/norman-andrians/lunar-vein-arduino/tree/main/src/client) is only a **build version** of this code. + + +## React + TypeScript + Vite This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. @@ -6,25 +11,3 @@ 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 -export default { - // other rules... - 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 diff --git a/src/assets/img/absurd-closing.png b/src/assets/img/absurd-closing.png new file mode 100644 index 0000000..86f42f9 Binary files /dev/null and b/src/assets/img/absurd-closing.png differ diff --git a/src/assets/img/bg-closing.png b/src/assets/img/bg-closing.png new file mode 100644 index 0000000..23d1399 Binary files /dev/null and b/src/assets/img/bg-closing.png differ diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx new file mode 100644 index 0000000..ff78528 --- /dev/null +++ b/src/components/Footer.tsx @@ -0,0 +1,34 @@ +import MadeBy from "./info/MadeBy"; +import Social from "./info/Social"; + +export default function Footer () { + return ( + + ) +} \ No newline at end of file diff --git a/src/components/MainBody.tsx b/src/components/MainBody.tsx index 7ec0152..65add20 100644 --- a/src/components/MainBody.tsx +++ b/src/components/MainBody.tsx @@ -4,7 +4,7 @@ import BackroundImg from "../assets/img/background.png"; export default function MainBody({ children }: { children?: ReactNode }) { return (