A temporary home for our landing page while we gather user feedback and improve the site.
This repo currently contains the landing page, which mostly uses placeholder content for now.
- Node.js (LTS version recommended)
- npm (comes bundled with Node.js)
git clone https://github.com/NFDI-Jupyter/website-dev.git
cd website-devnpm installStart a hot-reloading development build with:
npm run devOnce running, open the site in your browser at:
http://localhost:5173/website-dev/
Any changes you make to the code will show up instantly, no manual refresh needed.
├──app/
| ├── components/
| ├── data/
| │ ├──── Consortia.ts
| | ├──── Features.ts
| | ├──── Hero.ts
| | ├──── Incubators.ts
| | ├──── Mission.ts
| | ├──── Training.ts
| | └──── {Any new section which might be added in the future}
| ├── hooks/
| └── routes/
├──docs/
└──public/
app/— This folder contains the source code for the main landing pageapp/components/— This folder contains reusable or site spanning components like AnimatedButton, Footer or Headerapp/data/{nameOfSection}— Each section of the landing page pulls its content from a corresponding typescript file here. This is the primary place to edit, copy links, and change other section-specific content.app/hooks/— this side spanning hooksapp/routes/— This contains the structure of the sitedocs/— This folder contains the files needed to build the documentationpublic/— This folder contains the images shipped with the site which can be used from source code directly --
- Start the development build of the website with
npm run devand open the sitehttp://localhost:5173/website-dev/in your browser of choice - Locate the relevant file for the section under
app/data/{nameOfSection}.ts. - Edit the data file following the existing format.
- Check for your changes in the browser.
- Commit your changes and open a pull request for review.
In case styling is way off or you need certain changes in the site feel free to let me know in the pull request so that I can adjust the styling
if you adding or changing icons check out the icons available under https://react-icons.github.io/react-icons/icons/lu/
- Add the name of the icon you want to import in the imports of icons at the top of the file.
- Use the name of the icon in the specified field where you want to use the icon.