diff --git a/.env.example b/.env.example deleted file mode 100644 index 84a14cb5..00000000 --- a/.env.example +++ /dev/null @@ -1,22 +0,0 @@ -API_URL=/api -AWS_ACCESS_KEY= -AWS_REGION= -AWS_SECRET_KEY= -EMAIL_SENDER= -EMAIL_VERIFY_SECRET_TOKEN=whatever_you_want_this_to_be_it_only_matters_for_production -EXAMPLE_USER_EMAIL=examples@p5js.org -EXAMPLE_USER_PASSWORD=hellop5js -GG_EXAMPLES_EMAIL=benedikt.gross@generative-gestaltung.de -GG_EXAMPLES_PASS=generativedesign -GG_EXAMPLES_USERNAME=generative-design -GITHUB_ID= -GITHUB_SECRET= -GOOGLE_ID= (use google+ api) -GOOGLE_SECRET= (use google+ api) -MAILGUN_DOMAIN= -MAILGUN_KEY= -MONGO_URL=mongodb://localhost:27017/p5js-web-editor -PORT=8000 -S3_BUCKET= -S3_BUCKET_URL_BASE= -SESSION_SECRET=whatever_you_want_this_to_be_it_only_matters_for_production diff --git a/client/components/Nav.jsx b/client/components/Nav.jsx index 0fe1dcad..725c39e5 100644 --- a/client/components/Nav.jsx +++ b/client/components/Nav.jsx @@ -44,6 +44,17 @@ class Nav extends React.PureComponent { this.handleStopAccessible = this.handleStopAccessible.bind(this); this.handleKeyboardShortcuts = this.handleKeyboardShortcuts.bind(this); this.handleLogout = this.handleLogout.bind(this); + this.toggleDropdownForFile = this.toggleDropdown.bind(this, 'file'); + this.handleFocusForFile = this.handleFocus.bind(this, 'file'); + this.setDropdownForNone = this.setDropdown.bind(this, 'none'); + this.toggleDropdownForEdit = this.toggleDropdown.bind(this, 'edit'); + this.handleFocusForEdit = this.handleFocus.bind(this, 'edit'); + this.toggleDropdownForSketch = this.toggleDropdown.bind(this, 'sketch'); + this.handleFocusForSketch = this.handleFocus.bind(this, 'sketch'); + this.toggleDropdownForHelp = this.toggleDropdown.bind(this, 'help'); + this.handleFocusForHelp = this.handleFocus.bind(this, 'help'); + this.toggleDropdownForAccount = this.toggleDropdown.bind(this, 'account'); + this.handleFocusForAccount = this.handleFocus.bind(this, 'account'); } componentWillMount() { @@ -226,7 +237,7 @@ class Nav extends React.PureComponent {
          • About @@ -504,9 +515,9 @@ class Nav extends React.PureComponent {
          • Feedback @@ -533,7 +544,7 @@ class Nav extends React.PureComponent {