GithubHelp home page GithubHelp logo

behemoth's Introduction

Excel 2018 Website

Start dev server

npm start

Production Build

npm run build

Directory Structure

src
├── components  # all partial components
├── pages       # all top level pages (Redux tree will be connected to these)
└── utils       # any utility functions/classes

CSS

  • Try not to use scss or sass.

  • Create a separate css file for each react component and place them in the same directory. Eg.

    components
    ├── ...
    ├── my-component.js
    └── my-component.css
    
  • Try to use locally scoped css for components. Locally scoped css rules won't affect anything other than the markup inside the component.

  • To make a css file locally scoped, use the format *.modules.css for the file name. Eg.

    components
    ├── ...
    ├── my-component.js
    └── my-component.module.css # css rules will be locally scoped for my-component.js
    
  • Import css directly into your component files and let webpack do the work.

    // my-component.js
    ...
    import styles from './my-component.module.css'
    
    ...
        render(){
          // inside the render method
          return(
            ...
            <div className={styles.someclass}>
               ...
            <div>
            ...
          )
        }
    /* my-component.module.css */
    ...
    .someclass{
      ...
      color: red;
      ...
    }

Routes

  • If your route components are top-level pages or contains a lot of code then lazyload them.
  • Use the utils/asyncCompoment function to dynamically load the component. Eg.
    import asyncComponent from './utils/asyncComponent'
    // import SomePage from './pages/somepage' // INSTEAD of this
    import Spinner from './components/spinner' // optional loader component that can be used as a placeholder until the main component is loaded
    const SomePageImport = () => import('./pages/somepage') // postpone the import
    const SomePage = asyncComponent(SomePageImport,/*OPTIONAL*/Spinner)
    ...
    ...
      render(){
        // inside our render function
        return (
          ...
          <Route path="somepath" component={SomePage} /> // lazyloaded route
          ...
        );
      }

behemoth's People

Contributors

ak04 avatar augustinetharakan12 avatar batman-nair avatar georgeshanti avatar navin-mohan avatar nehamj avatar pallavigopi avatar shriram98 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

behemoth's Issues

About Excel Page

  • About excel section
  • About MEC
  • Partners (just logo and their title) or should we create a separate section like this?
  • legacy

Events Page

  • The images look huge.
  • Space on the sides seem underutilized.
  • Font need some improvements ( type and size ).
  • remove the hover animation.
  • Background pattern

Competitions Page

  • Background pattern.
  • remove/hide the scrollbar. Try this.
  • It'd be great if the user can close the cards by clicking outside. ( or fix the close button)
  • Event coordinator phone numbers have to be clickable.

Contacts Page

  • Fix the font size.
  • Make phone number clickable.
  • How about we shift the social links to top right?
  • Background pattern

Few changes on home page

  • What do "find out more about excel" do? (how about a link to the promo video)
  • Social media icons look huge. It'd better if each individual icon lights up on hovering. (What about mobile?)
  • Blue shade for "Inspire. Innovate. Engineer" doesn't look good and also the icons look out of place.
  • The feed items must be a link.
  • MEC logo on the left. same level as that of the social icons. (Any suggestions on mobile?)
  • Title Sponsor logo should go right above excel logo.
  • Schedule not linked to the schedule page
  • The color of the countdown makes it look out of place.

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.