Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
dd714d6
init
Aslemammad May 1, 2023
91f78ae
github pages
Sajad-Sharhani May 1, 2023
1cc30ff
update
Sajad-Sharhani May 1, 2023
2235359
update
Sajad-Sharhani May 1, 2023
ca51b44
layout
Morteza-Mazrae May 2, 2023
1c33682
toggle theme
Morteza-Mazrae May 2, 2023
fc343d4
hero section
Jawad-sawari May 3, 2023
071eda5
Merge branch 'feat/website' of github.com:Pheno-agency/proxy-memoize …
Jawad-sawari May 3, 2023
9074c54
sidebar items
Morteza-Mazrae May 3, 2023
f6840a9
Merge branch 'feat/website' of github.com:Pheno-agency/proxy-memoize …
Morteza-Mazrae May 3, 2023
293fd5d
sidebar
Morteza-Mazrae May 3, 2023
d146162
removing extra head tags
Morteza-Mazrae May 3, 2023
319fa99
update
Sajad-Sharhani May 3, 2023
028a917
update pnpm
Sajad-Sharhani May 3, 2023
0e81651
update pnpm 0
Sajad-Sharhani May 3, 2023
91a43cc
main hero responsive
Jawad-sawari May 4, 2023
719dd39
main hero dark mode
Jawad-sawari May 4, 2023
044ad9d
Merge branch 'main' of github.com:Pheno-agency/proxy-memoize into fea…
Sajad-Sharhani May 4, 2023
45748e3
Merge branch 'dai-shi:main' into feat/website
Sajad-Sharhani May 4, 2023
4097af9
update .eslinrc
Sajad-Sharhani May 4, 2023
365366f
Merge branch 'feat/website' of github.com:Pheno-agency/proxy-memoize …
Sajad-Sharhani May 4, 2023
c454e1c
update .eslinrc path
Sajad-Sharhani May 4, 2023
eb4821a
import/extensions off
Sajad-Sharhani May 4, 2023
ffa8404
import/extensions
Sajad-Sharhani May 4, 2023
3dba46e
no-useless-escape
Sajad-Sharhani May 4, 2023
edd49d0
ignore eslint
Sajad-Sharhani May 5, 2023
9db1b31
ignore typescript
Sajad-Sharhani May 5, 2023
d1ff491
ignore typescript env
Sajad-Sharhani May 5, 2023
73e70e1
ignore typescript rule
Sajad-Sharhani May 5, 2023
e1dae1c
typescript disable
Sajad-Sharhani May 5, 2023
c8cc995
update test type
Sajad-Sharhani May 5, 2023
9fb51db
type check
Sajad-Sharhani May 5, 2023
1385866
type check
Sajad-Sharhani May 5, 2023
d923104
remove env.d.ts
Sajad-Sharhani May 5, 2023
9832b84
remove env.d.ts
Sajad-Sharhani May 5, 2023
001f522
pnpm-lock.yaml
Sajad-Sharhani May 5, 2023
8107934
base
Sajad-Sharhani May 7, 2023
2f02f2e
update build
Sajad-Sharhani May 7, 2023
1d5fe13
update deploy
Sajad-Sharhani May 7, 2023
e57e569
update astro config
Sajad-Sharhani May 7, 2023
7d559a1
update base
Sajad-Sharhani May 7, 2023
bd1eff9
update base path
Sajad-Sharhani May 7, 2023
36dc8aa
edit img path
Sajad-Sharhani May 7, 2023
8d6564f
edit astro path
Sajad-Sharhani May 7, 2023
b83eed1
astro sdidebar
Aslemammad May 12, 2023
88635f8
fix content styles
Aslemammad May 12, 2023
2efa5b9
topbar selector
Morteza-Mazrae May 14, 2023
ffd9d5e
init
Morteza-Mazrae May 14, 2023
9546c3f
init
Morteza-Mazrae May 18, 2023
ef79802
some update
Aslemammad May 19, 2023
6c9e6a2
some update
Aslemammad May 21, 2023
adde105
init
Jawad-sawari May 23, 2023
1fa1670
solve images source
Morteza-Mazrae May 23, 2023
94ae165
navbar
Jawad-sawari May 23, 2023
95d6e80
resolve conflicts
Jawad-sawari May 23, 2023
79cc08f
max width
Morteza-Mazrae May 23, 2023
0cd9b18
Merge branch 'feat/website' of https://github.com/Pheno-agency/proxy-…
Morteza-Mazrae May 23, 2023
03a8b0d
hero section responsive
Morteza-Mazrae May 23, 2023
39bf25a
hamburger manu
Jawad-sawari May 23, 2023
7db244b
toggleBtn
Morteza-Mazrae May 23, 2023
6829deb
conflicts
Morteza-Mazrae May 23, 2023
203762f
outside click function
Jawad-sawari May 24, 2023
f3c8194
add compress
Aslemammad May 24, 2023
da1806b
update
Aslemammad May 24, 2023
5cca9d6
update
Aslemammad May 25, 2023
add9123
main hero
Jawad-sawari May 26, 2023
69a0141
md styles
Morteza-Mazrae May 26, 2023
679cd6b
init
Morteza-Mazrae May 26, 2023
6d3218d
update
Morteza-Mazrae May 26, 2023
87acb15
main hero
Jawad-sawari May 26, 2023
05426f1
reveiw
Jawad-sawari May 28, 2023
7d1f7bc
last-changes
Jawad-sawari May 30, 2023
62a54a8
add meta description
Aslemammad May 30, 2023
753cfe1
update
Aslemammad May 30, 2023
cd5743b
review
Jawad-sawari May 30, 2023
91ed888
review
Jawad-sawari May 31, 2023
bb96a32
reviews
Jawad-sawari May 31, 2023
5eb1a0d
scroll issue
Morteza-Mazrae May 31, 2023
0c8f8f0
remove import variables
Morteza-Mazrae May 31, 2023
d4c142f
hamburger menu
Jawad-sawari Jun 1, 2023
6cb68df
Merge branch 'feat/website' of github.com:Pheno-agency/proxy-memoize …
Jawad-sawari Jun 1, 2023
8d6a77e
some changes
Jawad-sawari Jun 1, 2023
05f311d
update
Aslemammad Jun 2, 2023
50bb439
update
Aslemammad Jun 2, 2023
f37d4ff
update
Aslemammad Jun 2, 2023
f60aae3
menu animation
Morteza-Mazrae Jun 2, 2023
83d7925
Merge branch 'feat/website' of https://github.com/Pheno-agency/proxy-…
Morteza-Mazrae Jun 2, 2023
6de422a
main hero assets
Jawad-sawari Jun 3, 2023
6be6898
content margin-top
Jawad-sawari Jun 3, 2023
4b06743
format document
Jawad-sawari Jun 3, 2023
ee92045
Deleted the file from the git repository
Jawad-sawari Jun 3, 2023
3614658
main hero asset
Jawad-sawari Jun 4, 2023
9ba85b2
Update website/package.json
Aslemammad Jun 6, 2023
94dd934
deploy update
Sajad-Sharhani Jun 6, 2023
fd1370b
delete pnpm debug
Jawad-sawari Jun 6, 2023
1f11efe
Merge branch 'feat/website' of github.com:Pheno-agency/proxy-memoize …
Jawad-sawari Jun 6, 2023
0b8092a
Update website/src/env.d.ts
dai-shi Jun 6, 2023
4baad63
lint update
Sajad-Sharhani Jun 6, 2023
de68e15
lint update
Sajad-Sharhani Jun 6, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"@typescript-eslint/explicit-function-return-type": "off",
"import/extensions": ["error", "never"],
"symbol-description": "off",
"@typescript-eslint/ban-types": "off",
"no-param-reassign": "off",
"no-unused-vars": "off",
"import/prefer-default-export": "off"
Expand Down
38 changes: 38 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Deploy to GitHub Pages

on:
# Trigger the workflow every time you push to the `main` branch
push:
branches: [main]
# Allows you to run this workflow manually from the Actions tab on GitHub.
workflow_dispatch:

# Allow this job to clone the repo and create a page deployment
permissions:
contents: read
pages: write
id-token: write

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout your repository using git
uses: actions/checkout@v3
- name: Install, build, and upload your site
uses: withastro/action@v0
with:
path: ./website # The root location of your Astro project inside the repository. (optional)
node-version: 16 # The specific version of Node that should be used to build your site. Defaults to 16. (optional)
package-manager: pnpm # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)

deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
2 changes: 1 addition & 1 deletion __tests__/issue_63_spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const noop = (x: unknown) => x;

describe('issue #63', () => {
it('triple nested memoized selectors', () => {
type State = { obj: {}, num: number };
type State = { obj: Record<string, never>; num: number };
const state1: State = { obj: {}, num: 1 };
const state2: State = { ...state1, num: 2 };

Expand Down
2 changes: 1 addition & 1 deletion docs/react-redux/useProxySelector.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# useProxySelector Hook
# useProxySelector
This creates a `useProxySelector` hook which can be used to create a typed `useSelector` hook powered by `proxy-memoize`. By defining this hook in your application code, you can ensure that the `state` object reflects your redux state object.

## The Hook
Expand Down
21 changes: 21 additions & 0 deletions website/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# build output
dist/
# generated types
.astro/

# dependencies
node_modules/

# logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*


# environment variables
.env
.env.production

# macOS-specific files
.DS_Store
47 changes: 47 additions & 0 deletions website/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Astro Starter Kit: Minimal

```
npm create astro@latest -- --template minimal
```

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/minimal)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/minimal)
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/minimal/devcontainer.json)

> 🧑‍🚀 **Seasoned astronaut?** Delete this file. Have fun!

## 🚀 Project Structure

Inside of your Astro project, you'll see the following folders and files:

```
/
├── public/
├── src/
│ └── pages/
│ └── index.astro
└── package.json
```

Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name.

There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.

Any static assets, like images, can be placed in the `public/` directory.

## 🧞 Commands

All commands are run from the root of the project, from a terminal:

| Command | Action |
| :------------------------ | :----------------------------------------------- |
| `npm install` | Installs dependencies |
| `npm run dev` | Starts local dev server at `localhost:3000` |
| `npm run build` | Build your production site to `./dist/` |
| `npm run preview` | Preview your build locally, before deploying |
| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` |
| `npm run astro -- --help` | Get help using the Astro CLI |

## 👀 Want to learn more?

Feel free to check [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat).
16 changes: 16 additions & 0 deletions website/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { defineConfig } from 'astro/config';
import react from '@astrojs/react';
import UnoCSS from 'unocss/astro';

import compress from "astro-compress";

// https://astro.build/config
export default defineConfig({
// setup for github pages
site: 'https://pheno-agency.github.io',
// note: this is the path to the repo, not the path to the site
base: '/proxy-memoize',
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Sajad-Sharhani I think the base should be /website, it's the directory that the site lives in. And please add the github workflow that astro recommends.

integrations: [react(), UnoCSS({
injectReset: true // or a path to the reset file
}), compress()]
});
24 changes: 24 additions & 0 deletions website/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "website",
"type": "module",
"version": "0.0.1",
"private": true,
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "astro build",
"preview": "astro preview",
"astro": "astro"
},
"dependencies": {
"@astrojs/react": "^2.2.0",
"astro": "^2.3.2",
"astro-compress": "^1.1.44",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@unocss/reset": "^0.51.8",
"unocss": "^0.51.8"
}
}
Loading