Coder Social home page Coder Social logo

tymick / styled-components-website Goto Github PK

View Code? Open in Web Editor NEW

This project forked from styled-components/styled-components-website

0.0 1.0 0.0 87.89 MB

The styled-components website and documentation

Home Page: https://styled-components.com

License: MIT License

JavaScript 99.96% Shell 0.04%

styled-components-website's Introduction

styled-components.com

The styled-components website. Built with Next.js, Preact and (of course) styled-components!

Contributing

Thank you so much for wanting to contribute to the website! We could really use a hand at making it the best it can be, see the issues for some ideas on what to do.

If you've never worked with the technologies used in this repo, here are some links that may help:

Running locally

To develop the website locally, you'll want to run the development server:

# Download the repo
git clone https://github.com/styled-components/styled-components-website
# Enter the repo
cd styled-components-website
# Install the dependencies
yarn install
# Start local development
yarn dev

Note: This requires Node.js and yarn to be set up locally, see nodejs.org for more information.

Updating the visual diffs

If you add a new section or materially change the website, it probably will trigger the image comparison diff snapshot to fail. These can be updated via:

yarn test -u

Folder structure

This is what each folder correlates to:

styled-components-website
├── components/  # Shared components
├── pages/       # The actual pages, mostly containing layout; the directory directly correlates to the URL. (e.g. pages/docs/basics.js === styled-components.com/docs/basics)
├── sections/    # The content, written in Markdown
├── public/      # Assets
├── test/        # Tests
├── utils/       # Various utilities use across the site
└── vendor/      # Cached dependencies

Got stuck?

Feel free to ping us on Spectrum if you get stuck somewhere while trying to make this website better, let's resolve it together!

styled-components-website's People

Contributors

almilne avatar andrwsalcdo avatar danrocha avatar dependabot[bot] avatar el1f avatar emilgoldsmith avatar gribnoysup avatar harshmaur avatar imbhargav5 avatar jasonhughes94 avatar jikkujose avatar jinksi avatar jmiazga avatar junagao avatar kitten avatar kwaimind avatar manpenaloza avatar michelebertoli avatar morajabi avatar mxstbr avatar oliverturner avatar overra avatar quantizor avatar rovansteen avatar sai-chai avatar saravieira avatar stevemao avatar thisguychris avatar timer avatar wit00 avatar

Watchers

 avatar

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.