gradio/website/homepage
Abubakar Abid 4bee781da4
Guides Section and Redesign Parts of the Website (#490)
* added emojis to navbar; added guides main page

* Added guides list

* chatbot tutorial

* chatbot tutorial almost complete

* embedding chatbot

* fixed html rendering inside pre tags issue

* finished guide

* basic search

* search guides content

* design changes

* reading author and date

* sketchpad tutorial

* font change

* added version badge and spaces links

* sketch app

* auto meta images, removed date and author

* removed empty guides

* navbar separate; updated readme

* added navbar; fixed guide

* added flagging guide

* added related spaces to flagging guide

* added tags, small fixes

* footer design

Co-authored-by: Abubakar Abid <aaabid93@gmail.com>
Co-authored-by: Abubakar Abid <a12d@stanford.edu>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2022-02-05 01:42:49 +04:00
..
src Guides Section and Redesign Parts of the Website (#490) 2022-02-05 01:42:49 +04:00
.dockerignore Website: WIP (#328) 2021-12-13 22:02:19 -08:00
.gitignore Website: WIP (#328) 2021-12-13 22:02:19 -08:00
Dockerfile Website svelte migration (#527) 2022-02-03 16:29:58 -08:00
nginx.conf Website: WIP (#328) 2021-12-13 22:02:19 -08:00
package-lock.json Guides Section and Redesign Parts of the Website (#490) 2022-02-05 01:42:49 +04:00
package.json Website: WIP (#328) 2021-12-13 22:02:19 -08:00
postcss.config.js acq announcement 2021-12-16 17:15:23 +00:00
README.md Website: WIP (#328) 2021-12-13 22:02:19 -08:00
render_html.py Guides Section and Redesign Parts of the Website (#490) 2022-02-05 01:42:49 +04:00
replace_style_names.py Format The Codebase 2022-01-21 16:44:12 +03:00
requirements.txt Guides Section and Redesign Parts of the Website (#490) 2022-02-05 01:42:49 +04:00
tailwind.config.js Website: WIP (#328) 2021-12-13 22:02:19 -08:00

Building Gradio Website

Run the following commands in order:

  • pip install -r requirements.txt
  • npm install
  • npm run build

The website will be built in the dist/ folder as a static website. To launch, run: cd dist && python3 -m http.server

Modifying the Website

The HTML and CSS template of the website should be modified in the src/ directory. To build changes, run npm run build. To automatically rebuild when you change a file in src/, run npm run watch.