From 17cb4540361fc07f89795c7cb4c67fe8bf4d8731 Mon Sep 17 00:00:00 2001 From: seotts Date: Thu, 3 Sep 2020 11:11:43 -0400 Subject: [PATCH] work on menu highlighing (not working yet) --- src/views/annual-report/annual-report.jsx | 1041 +++++++++++---------- 1 file changed, 534 insertions(+), 507 deletions(-) diff --git a/src/views/annual-report/annual-report.jsx b/src/views/annual-report/annual-report.jsx index c5ea9ae5f..3f02d8081 100644 --- a/src/views/annual-report/annual-report.jsx +++ b/src/views/annual-report/annual-report.jsx @@ -1,7 +1,7 @@ -// const bindAll = require('lodash.bindall'); +const bindAll = require('lodash.bindall'); const FormattedHTMLMessage = require('react-intl').FormattedHTMLMessage; const FormattedMessage = require('react-intl').FormattedMessage; -const injectIntl = require('react-intl').injectIntl; +// const injectIntl = require('react-intl').injectIntl; // const intlShape = require('react-intl').intlShape; const React = require('react'); @@ -17,530 +17,557 @@ const render = require('../../lib/render.jsx'); require('./annual-report.scss'); -const AnnualReport = () => ( -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
- -

- -

- - - +class AnnualReport extends React.Component { + constructor () { + super(); + this.missionRef = null; + + bindAll(this, [ + 'scrollTo', + 'setMissionRef' + ]); + } + + scrollTo (element) { + console.log(element); + element.scrollIntoView({ + behavior: 'smooth', + block: 'start' + }); + } + + setMissionRef (ref) { + this.missionRef = ref; + } + + render () { + return ( + -
-
-
-
-
-
-
-

- -

-

- -

+
+ +
+ +

+ +

+ + + +
+
-
-
-

- 2003 - {/* TODO should this be localized? */} -

-

- -

-
-
-

- 2004 - {/* TODO should this be localized? */} -

-

- -

- -
-
-

- 2007 - {/* TODO should this be localized? */} -

-

- -

- +
+
-
-
-
-
-
-
-

- +
+
+
+

+ +

+

+ +

+
+
+
+

+ 2003 + {/* TODO should this be localized? */} +

+

+ +

+
+
+

+ 2004 + {/* TODO should this be localized? */} +

+

+ +

+ +
+
+

+ 2007 + {/* TODO should this be localized? */} +

+

+ +

+ +
+
+
+
+
+
+
+
+

+ +

+

+ +

+
+ + + +
+
+
+
+
+
+
+

+ +

+

+ +

+
+ + + +
+
+
+
+
+

+

-

- -

-
- - - -

-
-
-
-
-
-
-

- -

-

- -

-
- - - -
-
-
-
-
-

- -

-

- -

-
-
-
-
- -
-

- -

-

- $3,898,078 - (82.7%) -

+

+ +

+
+
+
+
+ +
+

+ +

+

+ $3,898,078 + (82.7%) +

+
+
+
+ +
+

+ +

+

+ $700,000 + (14.8%) +

+
+
+
+ +
+

+ +

+

+ $114,982 + (2.4%) +

+
+
+
+
+

+ +

+

+ $4,713,060 +

+
+
-
-
- -
-

- -

-

- $700,000 - (14.8%) -

-
-
-
- -
-

- -

-

- $114,982 - (2.4%) -

-
-
-
-
-

- -

-

- $4,713,060 -

-
-
-
- -
-

- -

-
-
-
-
- -
-

- -

-

- $1,135,767 - (48.8%) -

-
-
-
- -
-

- -

-

- $224,104 - (9.6%) -

-
-
-
- -
-

- -

-

- $962,958 - (41.4%) -

-
-
-
-
-

- -

-

- $2,322,829 -

-
-
-
- -
- -
-
-
-
-
-

- -

-

- -

-
-
- -
-
-
+

- +

-

- -

+
+
+
+
+ +
+

+ +

+

+ $1,135,767 + (48.8%) +

+
+
+
+ +
+

+ +

+

+ $224,104 + (9.6%) +

+
+
+
+ +
+

+ +

+

+ $962,958 + (41.4%) +

+
+
+
+
+

+ +

+

+ $2,322,829 +

+
+
+
+ +
+
-
-
- -
-

David Siegel

-
Co-Founder and
Co-Chairman
Two Sigma
+
+
+
+
+

+ +

+

+ +

+
+
+ +
+
+
+

+ +

+

+ +

+
+
+
+ +
+

David Siegel

+
Co-Founder and
Co-Chairman
Two Sigma
+
+
+
+ {/* eslint-disable-next-line */} + +
-
- {/* eslint-disable-next-line */} - +
+
+

+ +

+

+ +

+
+
+
Founding Partners — $10,00,000+
+
+

We are especially grateful to our Founding Partners who supported us from the early days of Scratch, each providing at least $10,000,000 of cumulative support, in various forms.

+
+
    +
  • National Science Foundation
  • +
  • Massachusetts Institute of Technology
  • +
+
    +
  • Siegel Family Endowment
  • +
  • LEGO Foundation
  • +
+
+
+
+
Innovation Circle — $5,00,000+
+
+
+
    +
  • Google
  • +
+
+
+
+
Creativity Circle — $1,00,000++
+
+
+
    +
  • Little Bluebridge Foundation
  • +
  • Smilegate Foundation
  • +
  • TAL Education
  • +
+
    +
  • Turner Broadcasting System / Cartoon Network (?)
  • +
+
+
+
+
Imagination Circle — $200,000+
+
+
+
    +
  • BrainPOP
  • +
  • Cindy and Evan Goldberg
  • +
  • Kahn-Rowe Family Fund
  • +
  • LEGO Education
  • +
+
    +
  • Mark Dalton
  • +
  • Morgan Stanley
  • +
  • Paul T. Jones
  • +
  • Two Sigma
  • +
+
+
+
+
Inspiration Circle — $50,000+
+
+
+
    +
  • BrainPOP
  • +
  • Cindy and Evan Goldberg
  • +
  • Kahn-Rowe Family Fund
  • +
  • LEGO Education
  • +
+
    +
  • Mark Dalton
  • +
  • Morgan Stanley
  • +
  • Paul T. Jones
  • +
  • Two Sigma
  • +
+
+
+
+
Collaboration Circle — $20,000+
+
+
+
    +
  • BrainPOP
  • +
  • Cindy and Evan Goldberg
  • +
  • Kahn-Rowe Family Fund
  • +
  • LEGO Education
  • +
+
    +
  • Mark Dalton
  • +
  • Morgan Stanley
  • +
  • Paul T. Jones
  • +
  • Two Sigma
  • +
+
+
+
+
Tinkering Circle — $5,000+
+
+
+
    +
  • BrainPOP
  • +
  • Cindy and Evan Goldberg
  • +
  • Kahn-Rowe Family Fund
  • +
  • LEGO Education
  • +
+
    +
  • Mark Dalton
  • +
  • Morgan Stanley
  • +
  • Paul T. Jones
  • +
  • Two Sigma
  • +
+
+
+
+
+
+

+ +

+

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent vitae commodo orci, quis ultricies nisi +

+
+
    +
  • Amazon Web Services
  • +
  • Cindy and Evan Goldberg
  • +
  • Kahn-Rowe Family Fund
  • +
  • LEGO Education
  • +
+
    +
  • Mark Dalton
  • +
  • Morgan Stanley
  • +
  • Paul T. Jones
  • +
  • Two Sigma
  • +
+
+
-
-
-

- -

-

- -

-
-
-
Founding Partners — $10,00,000+
-
-

We are especially grateful to our Founding Partners who supported us from the early days of Scratch, each providing at least $10,000,000 of cumulative support, in various forms.

-
-
    -
  • National Science Foundation
  • -
  • Massachusetts Institute of Technology
  • -
-
    -
  • Siegel Family Endowment
  • -
  • LEGO Foundation
  • -
+ -
-
Innovation Circle — $5,00,000+
-
-
-
    -
  • Google
  • -
-
-
-
-
Creativity Circle — $1,00,000++
-
-
-
    -
  • Little Bluebridge Foundation
  • -
  • Smilegate Foundation
  • -
  • TAL Education
  • -
-
    -
  • Turner Broadcasting System / Cartoon Network (?)
  • -
-
-
-
-
Imagination Circle — $200,000+
-
-
-
    -
  • BrainPOP
  • -
  • Cindy and Evan Goldberg
  • -
  • Kahn-Rowe Family Fund
  • -
  • LEGO Education
  • -
-
    -
  • Mark Dalton
  • -
  • Morgan Stanley
  • -
  • Paul T. Jones
  • -
  • Two Sigma
  • -
-
-
-
-
Inspiration Circle — $50,000+
-
-
-
    -
  • BrainPOP
  • -
  • Cindy and Evan Goldberg
  • -
  • Kahn-Rowe Family Fund
  • -
  • LEGO Education
  • -
-
    -
  • Mark Dalton
  • -
  • Morgan Stanley
  • -
  • Paul T. Jones
  • -
  • Two Sigma
  • -
-
-
-
-
Collaboration Circle — $20,000+
-
-
-
    -
  • BrainPOP
  • -
  • Cindy and Evan Goldberg
  • -
  • Kahn-Rowe Family Fund
  • -
  • LEGO Education
  • -
-
    -
  • Mark Dalton
  • -
  • Morgan Stanley
  • -
  • Paul T. Jones
  • -
  • Two Sigma
  • -
-
-
-
-
Tinkering Circle — $5,000+
-
-
-
    -
  • BrainPOP
  • -
  • Cindy and Evan Goldberg
  • -
  • Kahn-Rowe Family Fund
  • -
  • LEGO Education
  • -
-
    -
  • Mark Dalton
  • -
  • Morgan Stanley
  • -
  • Paul T. Jones
  • -
  • Two Sigma
  • -
-
-
-
-
-
-

- -

-

- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent vitae commodo orci, quis ultricies nisi -

-
-
    -
  • Amazon Web Services
  • -
  • Cindy and Evan Goldberg
  • -
  • Kahn-Rowe Family Fund
  • -
  • LEGO Education
  • -
-
    -
  • Mark Dalton
  • -
  • Morgan Stanley
  • -
  • Paul T. Jones
  • -
  • Two Sigma
  • -
-
-
+
-
- -
-); + ); + } +} render( , document.getElementById('app')