Skip to content
This repository has been archived by the owner on Jan 8, 2022. It is now read-only.

CongressWiki/legislator

Repository files navigation

Legislator

Static website for bills and amendments on USACounts.com

Google Analytics | Google Search Console

🚀 Quick start

  1. Start developing.

    Navigate into your new site’s directory and start it up.

    yarn develop
  2. Open the source code and start editing!

    Your site is now running at http://localhost:8000!

    Note: You'll also see a second link: http://localhost:8000/___graphql. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the Gatsby tutorial.

Styling

  • Text line length: Research has shown that the ideal line length is about 65 characters. Anywhere between 45 and 85 is generally seen as acceptable, in the context of a roman alphabet. Reading is a complex process, and we should strive to make it as easy as possible. From joshwcomeau's blog

Fonts

There are four font families being used for this site. All fonts were created by Matthew Butterick and licenses were purchased from typographyforlawyers.com. Please read the font license.

Font Family Type Styles References
Advocate Display font [Base, Mid, Slab, Slab & Mid] x [C41, C43, C45, C51, C53, C55, C61, C63, C65] Website - Demo - PDF
Century Supra Non-Sans C3, C4, T3, T4 Website - Demo - PDF
Concourse Sans C2, C3, C4, C6, C7, C8, T2, T3, T4, T6, T7, T8 Website - Demo - PDF
Triplicate Non-Sans Not currently in project Website - Demo - PDF

Sitemap & SEO

Resources

Auth0

Test URL:

https://usacounts.us.auth0.com/login?client=9phT8e22TlF2r5mDaOOU5bHj8FTHWGji&protocol=oauth2&response_type=token%20id_token&redirect_uri=http://localhost:8000/callback&scope=openid%20profile

Domains

  • billstatus.us
  • stateofthebill.com
  • stateofthebill.us
  • billhopper.us
  • congressvote.us
  • heedcall.com
  • heedcall.org
  • heedcall.us
  • heedthecall.us
  • rollcall.us
  • rollcallvotes.us
  • theusacounts.com
  • usacounts.com - active
  • usacounts.org

How to bump Node's memory

Default is 512mb

node --max-old-space-size=1024 index.js #increase to 1gb
node --max-old-space-size=2048 index.js #increase to 2gb
node --max-old-space-size=3072 index.js #increase to 3gb
node --max-old-space-size=4096 index.js #increase to 4gb
node --max-old-space-size=5120 index.js #increase to 5gb
node --max-old-space-size=6144 index.js #increase to 6gb
node --max-old-space-size=7168 index.js #increase to 7gb
node --max-old-space-size=8192 index.js #increase to 8gb

Reference

About

Gatsby frontend site

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages