Skip to content

Commit ce79401

Browse files
committed
Add mom
1 parent ffff07c commit ce79401

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+5069
-0
lines changed

mom/.eslintrc.cjs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
module.exports = {
2+
root: true,
3+
env: { browser: true, es2020: true },
4+
extends: [
5+
'eslint:recommended',
6+
'plugin:@typescript-eslint/recommended',
7+
'plugin:react-hooks/recommended',
8+
],
9+
ignorePatterns: ['dist', '.eslintrc.cjs'],
10+
parser: '@typescript-eslint/parser',
11+
plugins: ['react-refresh'],
12+
rules: {
13+
'react-refresh/only-export-components': [
14+
'warn',
15+
{ allowConstantExport: true },
16+
],
17+
},
18+
}

mom/.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
# dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?

mom/README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# React + TypeScript + Vite
2+
3+
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
4+
5+
Currently, two official plugins are available:
6+
7+
- [@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
8+
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
9+
10+
## Expanding the ESLint configuration
11+
12+
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
13+
14+
- Configure the top-level `parserOptions` property like this:
15+
16+
```js
17+
export default {
18+
// other rules...
19+
parserOptions: {
20+
ecmaVersion: 'latest',
21+
sourceType: 'module',
22+
project: ['./tsconfig.json', './tsconfig.node.json'],
23+
tsconfigRootDir: __dirname,
24+
},
25+
}
26+
```
27+
28+
- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked`
29+
- Optionally add `plugin:@typescript-eslint/stylistic-type-checked`
30+
- 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

mom/dist/assets/debugger-Z3ISUZF3-siASfiGP.js

Lines changed: 308 additions & 0 deletions
Large diffs are not rendered by default.

mom/dist/assets/index-BqPgRS9Q.js

Lines changed: 73 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mom/dist/assets/index-Dlt44lDY.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mom/dist/big-chair.png

5.47 MB
Loading

mom/dist/chateau-bg.png

3.34 MB
Loading

mom/dist/chateau-matt-mom.png

2.57 MB
Loading

mom/dist/glasses.png

457 Bytes
Loading

mom/dist/index.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>Happy Mother's Day</title>
8+
<script type="module" crossorigin src="/assets/index-BqPgRS9Q.js"></script>
9+
<link rel="stylesheet" crossorigin href="/assets/index-Dlt44lDY.css">
10+
</head>
11+
<body>
12+
<div id="root"></div>
13+
</body>
14+
</html>

mom/dist/lake-dusk-fg.png

689 KB
Loading

mom/dist/lake-dusk-island.png

93 KB
Loading

mom/dist/lake-dusk-lake.png

1.71 MB
Loading

mom/dist/lake-dusk-sky.png

1.43 MB
Loading

mom/dist/lake-dusk-trees.png

382 KB
Loading

mom/dist/loon.mp3

11.1 KB
Binary file not shown.

mom/dist/matt-canoe-trees-fg.png

654 KB
Loading

mom/dist/matt-canoe-trees.png

2.12 MB
Loading

mom/dist/matt-canoe-water.png

1.52 MB
Loading

mom/dist/matt-canoe.png

414 KB
Loading

mom/dist/mom-finger.png

1.05 MB
Loading

mom/dist/mom-wo-finger.png

4.35 MB
Loading

mom/dist/slide-bg.png

1.95 MB
Loading

mom/dist/slide-matt.png

1.07 MB
Loading

mom/dist/sunglasses.avif

22.9 KB
Binary file not shown.

mom/dist/tiny-nancy.png

308 KB
Loading

mom/dist/vite copy.svg

Lines changed: 1 addition & 0 deletions
Loading

mom/dist/vite.svg

Lines changed: 1 addition & 0 deletions
Loading

mom/dist/zoe-bg.png

3.58 MB
Loading

mom/dist/zoe.png

1.95 MB
Loading

mom/index.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>Happy Mother's Day</title>
8+
</head>
9+
<body>
10+
<div id="root"></div>
11+
<script type="module" src="/src/main.tsx"></script>
12+
</body>
13+
</html>

0 commit comments

Comments
 (0)