GithubHelp home page GithubHelp logo

pmndrs / r3f-website Goto Github PK

View Code? Open in Web Editor NEW
27.0 11.0 9.0 3.77 MB

Website for React Three Fiber

Home Page: https://gracious-keller-98ef35.netlify.app/

License: MIT License

JavaScript 98.52% CSS 1.48%

r3f-website's Introduction

React Three Fiber Website

Demo: https://r3f.netlify.app

Netlify Status

How to run locally

git clone [email protected]:react-spring/r3f-website.git
cd r3f-website
yarn && yarn start

How to add docs

  1. Create a markdown file in the docs folder in the section you feel it's a better suit for what you are writing.

  2. To add to the sidebar please edit the sidebar.yaml to point yo your new doc

r3f-website's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

r3f-website's Issues

Background changes to white color (BUG)

How to reproduce:

  1. Go to docs page
  2. Click on Get started now! link
  3. We get a 404 page error (the page doesn't exist) (Link)
  4. Hover in the link click here

Issue

The background turns into white color in all the docs, so the font is very difficult to read.

It's Happening on:
Chrome 83
Firefox 77

image
image

How to contribute with docs?

I would like to add an example about how to load some models (gltf/dae). Is there some rules or a template to do a PR to the docs site?

Amazing work for the docs, I really like it :)

Using github and codesandbox to host examples

I made a test using example apps stored in the main repository that are then converted to live sandboxes using githubbox

Preview:

https://hungry-liskov-659c72.netlify.app/docs/example-test/

Code:

https://github.com/gsimone/r3f-website

Doing it like this would allow us to better maintain examples:

  • keep examples PRable and contributable ( is that a word? )
  • keep dependencies up to date for all examples

It's a simple as pushing the example and using the github url in the iframe code:

<iframe
    src="https://codesandbox.io/embed/github/gsimone/r3f-website/tree/master/src/examples/example-name"
></iframe>

We could easily provide a default repo to clone new examples from.

Just an idea, let me know what you think - opened an issue since discussions are not on.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.