GithubHelp home page GithubHelp logo

dr45zuess / website Goto Github PK

View Code? Open in Web Editor NEW

This project forked from worldbrain/website

0.0 0.0 0.0 27.06 MB

All data related to our website

License: MIT License

JavaScript 72.50% TypeScript 16.97% CSS 10.53%

website's Introduction

Website

All data related to our website

Developing

  1. Check out this repo
  2. Run yarn
  3. Run yarn start

Development practices

  • All components and code are written in TypeScript
  • All components which have styles are in a folder where the component is index.tsx, and the styles are styles.module.css. Example in src/components/layout/header
  • Access to external state like the Auth system, or the network (instead of using fetch() directly), are done through the Services interface. All pages have access to the Services interface by inheriting from the Page component in src/components/page.tsx, through the protected method getServices(). Every page is responsible for passing down these services to the subcomponents that need them. (Explicit is better than implicit, so no React Contexts are used.) Temporary example in src/pages/home
  • Shared colors in CSS are stored in variables. Colors used throughout the website are found in styles/globals.module.css, which you can explicitly import when you need it. Temporary example in src/components/layout/header/styles.module.css

TODO:

  • What about CSS mixins?

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.