-
-
Notifications
You must be signed in to change notification settings - Fork 20
feat: website #69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
feat: website #69
Changes from all commits
Commits
Show all changes
99 commits
Select commit
Hold shift + click to select a range
dd714d6
init
Aslemammad 91f78ae
github pages
Sajad-Sharhani 1cc30ff
update
Sajad-Sharhani 2235359
update
Sajad-Sharhani ca51b44
layout
Morteza-Mazrae 1c33682
toggle theme
Morteza-Mazrae fc343d4
hero section
Jawad-sawari 071eda5
Merge branch 'feat/website' of github.com:Pheno-agency/proxy-memoize …
Jawad-sawari 9074c54
sidebar items
Morteza-Mazrae f6840a9
Merge branch 'feat/website' of github.com:Pheno-agency/proxy-memoize …
Morteza-Mazrae 293fd5d
sidebar
Morteza-Mazrae d146162
removing extra head tags
Morteza-Mazrae 319fa99
update
Sajad-Sharhani 028a917
update pnpm
Sajad-Sharhani 0e81651
update pnpm 0
Sajad-Sharhani 91a43cc
main hero responsive
Jawad-sawari 719dd39
main hero dark mode
Jawad-sawari 044ad9d
Merge branch 'main' of github.com:Pheno-agency/proxy-memoize into fea…
Sajad-Sharhani 45748e3
Merge branch 'dai-shi:main' into feat/website
Sajad-Sharhani 4097af9
update .eslinrc
Sajad-Sharhani 365366f
Merge branch 'feat/website' of github.com:Pheno-agency/proxy-memoize …
Sajad-Sharhani c454e1c
update .eslinrc path
Sajad-Sharhani eb4821a
import/extensions off
Sajad-Sharhani ffa8404
import/extensions
Sajad-Sharhani 3dba46e
no-useless-escape
Sajad-Sharhani edd49d0
ignore eslint
Sajad-Sharhani 9db1b31
ignore typescript
Sajad-Sharhani d1ff491
ignore typescript env
Sajad-Sharhani 73e70e1
ignore typescript rule
Sajad-Sharhani e1dae1c
typescript disable
Sajad-Sharhani c8cc995
update test type
Sajad-Sharhani 9fb51db
type check
Sajad-Sharhani 1385866
type check
Sajad-Sharhani d923104
remove env.d.ts
Sajad-Sharhani 9832b84
remove env.d.ts
Sajad-Sharhani 001f522
pnpm-lock.yaml
Sajad-Sharhani 8107934
base
Sajad-Sharhani 2f02f2e
update build
Sajad-Sharhani 1d5fe13
update deploy
Sajad-Sharhani e57e569
update astro config
Sajad-Sharhani 7d559a1
update base
Sajad-Sharhani bd1eff9
update base path
Sajad-Sharhani 36dc8aa
edit img path
Sajad-Sharhani 8d6564f
edit astro path
Sajad-Sharhani b83eed1
astro sdidebar
Aslemammad 88635f8
fix content styles
Aslemammad 2efa5b9
topbar selector
Morteza-Mazrae ffd9d5e
init
Morteza-Mazrae 9546c3f
init
Morteza-Mazrae ef79802
some update
Aslemammad 6c9e6a2
some update
Aslemammad adde105
init
Jawad-sawari 1fa1670
solve images source
Morteza-Mazrae 94ae165
navbar
Jawad-sawari 95d6e80
resolve conflicts
Jawad-sawari 79cc08f
max width
Morteza-Mazrae 0cd9b18
Merge branch 'feat/website' of https://github.com/Pheno-agency/proxy-…
Morteza-Mazrae 03a8b0d
hero section responsive
Morteza-Mazrae 39bf25a
hamburger manu
Jawad-sawari 7db244b
toggleBtn
Morteza-Mazrae 6829deb
conflicts
Morteza-Mazrae 203762f
outside click function
Jawad-sawari f3c8194
add compress
Aslemammad da1806b
update
Aslemammad 5cca9d6
update
Aslemammad add9123
main hero
Jawad-sawari 69a0141
md styles
Morteza-Mazrae 679cd6b
init
Morteza-Mazrae 6d3218d
update
Morteza-Mazrae 87acb15
main hero
Jawad-sawari 05426f1
reveiw
Jawad-sawari 7d1f7bc
last-changes
Jawad-sawari 62a54a8
add meta description
Aslemammad 753cfe1
update
Aslemammad cd5743b
review
Jawad-sawari 91ed888
review
Jawad-sawari bb96a32
reviews
Jawad-sawari 5eb1a0d
scroll issue
Morteza-Mazrae 0c8f8f0
remove import variables
Morteza-Mazrae d4c142f
hamburger menu
Jawad-sawari 6cb68df
Merge branch 'feat/website' of github.com:Pheno-agency/proxy-memoize …
Jawad-sawari 8d6a77e
some changes
Jawad-sawari 05f311d
update
Aslemammad 50bb439
update
Aslemammad f37d4ff
update
Aslemammad f60aae3
menu animation
Morteza-Mazrae 83d7925
Merge branch 'feat/website' of https://github.com/Pheno-agency/proxy-…
Morteza-Mazrae 6de422a
main hero assets
Jawad-sawari 6be6898
content margin-top
Jawad-sawari 4b06743
format document
Jawad-sawari ee92045
Deleted the file from the git repository
Jawad-sawari 3614658
main hero asset
Jawad-sawari 9ba85b2
Update website/package.json
Aslemammad 94dd934
deploy update
Sajad-Sharhani fd1370b
delete pnpm debug
Jawad-sawari 1f11efe
Merge branch 'feat/website' of github.com:Pheno-agency/proxy-memoize …
Jawad-sawari 0b8092a
Update website/src/env.d.ts
dai-shi 4baad63
lint update
Sajad-Sharhani de68e15
lint update
Sajad-Sharhani File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| # Astro Starter Kit: Minimal | ||
|
|
||
| ``` | ||
| npm create astro@latest -- --template minimal | ||
| ``` | ||
|
|
||
| [](https://stackblitz.com/github/withastro/astro/tree/latest/examples/minimal) | ||
| [](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/minimal) | ||
| [](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). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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', | ||
| integrations: [react(), UnoCSS({ | ||
| injectReset: true // or a path to the reset file | ||
| }), compress()] | ||
| }); | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| { | ||
| "name": "website", | ||
| "type": "module", | ||
| "version": "0.0.1", | ||
Aslemammad marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| "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" | ||
| } | ||
| } | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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.