Coder Social home page Coder Social logo

website's Introduction

choo-website

screenshot

Todo

  • Active links in navigation
  • Homepage interactive code editor

License

MIT

website's People

Contributors

achou11 avatar antontrollback avatar cedricraison avatar chrisdwheatley avatar espy avatar goto-bus-stop avatar him2him2 avatar incessantmeraki avatar jenslind avatar jondashkyle avatar jwerle avatar kareniel avatar lislis avatar ludwikjaniuk avatar pfrazee avatar seanstrom avatar shamrin avatar tgfjt avatar timwis avatar tornqvist avatar ungoldman avatar xaviervalarino avatar yerkopalma avatar yoshuawuyts avatar

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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

website's Issues

Add live example

Since choo now has a UMD build, I uploaded the demo from the site to codepen here, and this is how it looks like embeded on choo site

image

I could send a PR if you want 👍

Fix page zoom

Right now we’re setting the font size with vw. Let’s instead set a percentage and listen to window.innerWidth on resize to adjust the value, preserving zooming with ctr +/-.

In addition, we should define a maximum breakpoint size so type never becomes too large.

State Machine Docs: Syntax Error in Example

I've been reading over the docs for Choo and decided to work through the State Machine article—after watching davidkpiano's talk on the subject I wanted to get a better feel for how it works.

In the code example the constructor's method is named next, but then further down is called as transition().

export class StateMachine {
  constructor (initialState, transitions) {
    this.state = initialState
    this.transitions = transitions
  }

  next (transition) {
    var nextState = this.transitions[this.state][transition]
    if (!nextState) throw new Error(`invalid: ${this.state} -> ${transition}`)
    this.state = nextState
  }
}
machine.transition('timer')

After getting the names to match, I also had to remove export and turn the timer values into strings to get the example to work (with Node.js).

Not loading fonts or favicon

I'm not sure what's changed, but the site doesn't seem to be loading the same font as it used to.

There also isn't any favicon or title.

bug(beacon): Uncaught DOMException

Looks like beacon code merged in #10 fails on chrome:

Uncaught DOMException: Failed to execute 'sendBeacon' on 'Navigator': sendBeacon() with a Blob whose type is not any of the CORS-safelisted values for the Content-Type request header is disabled temporarily. See http://crbug.com/490015 for details.
    at nanobeacon (https://choo.io/bundle.js:85:178)
    at https://choo.io/bundle.js:3:1916

screen shot 2017-08-10 at 4 54 21 pm

Add search to the website

Hey hey 👋, DocSearch could be used here to find things in the reference simpler.

Some questions first:

  1. What kind of design should we want?
  2. Where should the search box be?
  3. what should be indexed?

also cc @s-pace

Show how to make components

I’m using the “old” way of registering onload / onunload event handlers to initialize a component store (through emit(‘store:event’)).

This is not directly supported by Choo anymore, but is certainly possible by using some other libraries or native functions.

For example, I have a parameterized route, and based on the parameter I need to fetch some data to show. Likewise, when the user navigates somewhere else, I want to clear the store state to avoid showing “old” information or flickering when the user navigates to the same route again later.

I’d love to see docs describing the recommended way of doing this.

VHS flicker is painful, possibly harmful

The "VHS flicker" on page load hurts my eyes, and is possibly a danger for folks with epilepsy. A safer alternative could be simply fading the text in rather than flickering. Or skipping it altogether.

main page potentially seizure inducing

when you visit the site in its current state, in the title section there are a lot of rapidly color-changing elements, particularly flashing between a dark color and a light color. i could see this as potentially seizure-inducing, which we would definitely want to avoid

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.