podman-desktop/website
Charlie Drage 5142e63057
chore: website - update download links (#12115)
### What does this PR do?

* Refactors download buttons to separate file
* Changes Download Now button to match UI mockup
* Adds "Download" button to header

### Screenshot / video of UI

<!-- If this PR is changing UI, please include
screenshots or screencasts showing the difference -->

### What issues does this PR fix or reference?

<!-- Include any related issues from Podman Desktop
repository (or from another issue tracker). -->

Part of https://github.com/podman-desktop/podman-desktop/issues/11816

### How to test this PR?

<!-- Please explain steps to verify the functionality,
do not forget to provide unit/component tests -->

Preview website on netlify :)

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2025-04-10 13:46:31 +00:00
..
blog docs: update RHEL WSL blog for RHEL 10 (#11625) 2025-03-13 11:36:44 +01:00
docs docs(website): corrected the file name in the troubleshooting doc (#12073) 2025-04-09 09:22:57 +05:30
src chore: website - update download links (#12115) 2025-04-10 13:46:31 +00:00
static chore: add community meeting banner, remove AI lab banner (#11610) 2025-03-12 19:00:36 +00:00
tutorial docs(website): updated the Kubernetes section to reflect how to switc… (#12009) 2025-04-04 09:23:56 -04:00
.gitignore chore: ignore generated files for release notes (#9035) 2024-09-24 08:12:47 -04:00
.prettierignore fix: use prettier for formatting markdown (#10486) 2024-12-30 13:41:13 +01:00
babel.config.js feat: adds initial website built from docusaurus 2022-04-04 17:23:17 +02:00
docusaurus.config.js chore: website - update download links (#12115) 2025-04-10 13:46:31 +00:00
package.json chore(deps-dev): bump typedoc-plugin-markdown in the typedoc group 2025-04-10 07:17:28 +02:00
README.md chore: switch to pnpm instead of yarn (#8589) 2024-08-29 20:13:01 +00:00
release-notes-parser.spec.ts chore: map release notes to their respective file names on GH (#8790) 2024-09-12 13:22:31 +00:00
release-notes-parser.ts chore: map release notes to their respective file names on GH (#8790) 2024-09-12 13:22:31 +00:00
sidebars-api.js chore: add missing copryright headers in files 2024-03-15 11:53:23 +01:00
sidebars.js chore: add missing copryright headers in files 2024-03-15 11:53:23 +01:00
storybook.spec.ts feat(eslint): enable vitest/no-identical-title (#9088) 2024-09-26 08:35:02 +00:00
storybook.ts fix(docusaurus): storybook plugin 2025-01-21 11:37:21 +01:00
tailwind.config.js chore: set tailwind framework as being the 'winner of the CSS' (#10901) 2025-01-31 08:38:56 +01:00
tsconfig.json fix: enable strict rule on website (#7447) 2024-06-05 09:56:20 +02:00
vitest.config.js chore(vitest): remove unused files (#12110) 2025-04-09 14:35:31 +02:00

Website

Install the project dependencies

$ pnpm install

Local Development of the website / documentation

$ pnpm start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

$ pnpm build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

Using SSH:

$ USE_SSH=true pnpm deploy

Not using SSH:

$ GIT_USER=<Your GitHub username> pnpm deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.

Adding a Node.js module to the website

  1. Add the module in the website context:

    $ cd website
    $ pnpm add <module>
    
  2. Update the pnpm-lock.yaml file in the repository root context:

    $ cd ..
    $ git checkout HEAD -- pnpm-lock.yaml
    $ pnpm install