Commit graph

768 commits

Author SHA1 Message Date
Matthew Taylor
cf71520875 final content update for conference
"coming soon" image for schedule, and schedule reference on landing page. Also background image for the landing page.
2016-04-27 23:23:43 -04:00
Ray Schamp
a08f56230a Raise priority of rewrite conditions
This avoids a situation where going to http://staging.scratch.mit.edu/hoc will redirect to https://staging.scratch.mit.edu/hoc.html.
2016-04-27 15:27:45 -04:00
Matthew Taylor
34d9dbcfd5 Merge pull request #444 from mewtaylor/bugfix/change-viewportwidth
Make viewport width a variable value
2016-04-27 13:50:39 -04:00
Ray Schamp
df24eb2d63 Merge pull request #443 from LLK/revert-432-patch-5
Revert "Fix gh-427: Footer Wiki Link not working"
2016-04-26 16:45:22 -04:00
Ray Schamp
01f8f97118 Revert "Fix gh-427: Footer Wiki Link not working" 2016-04-26 16:45:05 -04:00
Matthew Taylor
5ea59cb1ec Make viewport width a variable value
So that we can allow some pages to be responsive
2016-04-26 14:19:21 -04:00
Matthew Taylor
a408a765c5 Merge pull request #439 from mewtaylor/cleanup/edits-for-conference
Cleanup for scratch conference
2016-04-26 12:29:15 -04:00
Matthew Taylor
7d7fb9797d Cleanup for scratch conference
1. s/collaborators/sponsors
2. open footer links in new window
3. remove superfluous require statement
4. increase spacing for scratch family links
2016-04-26 12:24:55 -04:00
The_Grits
df8c036daf Edit spacing
As per @mewtaylor 's suggestions on #435
2016-04-26 09:09:07 -04:00
Ray Schamp
c9ab68490b Merge pull request #436 from rschamp/bugfix/jsi18n
End static directories with / in Pass condition
2016-04-26 09:01:37 -04:00
Matthew Taylor
87ed5825ff Merge pull request #437 from mewtaylor/bugfix/remove-schedule-link
Bugfix: Temporarily remove "View Full Schedule" link
2016-04-26 07:56:24 -04:00
Matthew Taylor
a4e19a5edc Temporarily remove "View Full Schedule" link
Since we don't have one yet
2016-04-25 17:39:31 -04:00
Ray Schamp
39063ae76c End static directories with / in Pass condition
Otherwise, any URL beginning with static path names go to S3.
2016-04-25 14:32:52 -04:00
Ray Schamp
b5581948a2 Merge pull request #432 from TheGrits/patch-5
Fix gh-427: Footer Wiki Link not working
2016-04-25 09:00:20 -04:00
The_Grits
ac9717a095 Whoops
Seems like Travis would rather not have the guidelines route included
2016-04-25 08:00:36 -04:00
The_Grits
c657a4b5f9 Squash and Merge 2016-04-25 07:52:20 -04:00
The_Grits
4a31a7882b Add DMCA route
I also included the guidelines route to avoid future branch conflict.
2016-04-25 07:44:57 -04:00
The_Grits
117eed5eb3 Squash and Merge 2016-04-23 14:27:08 -04:00
The_Grits
c7a864450a Add guidelines route 2016-04-23 08:14:17 -04:00
The_Grits
278f5c2771 https -> http 2016-04-22 16:53:47 -04:00
The_Grits
e73d3fabcc All other references 2016-04-22 14:16:59 -04:00
The_Grits
123b366180 13mil -> 14mil 2016-04-22 14:11:25 -04:00
Ray Schamp
19a0ed3f4b Remove spaces from condition
This condition exceeded 512 characters. We will have to rethink how to construct this.
2016-04-22 09:54:14 -04:00
Matthew Taylor
e1a6be55c9 Merge pull request #429 from mewtaylor/feature/conference
Add initial site for Scratch Conference
2016-04-22 09:27:36 -04:00
Matthew Taylor
3c487163a0 Last minute copy updates 2016-04-22 09:07:32 -04:00
Matthew Taylor
14bb35e330 missed one view -> name change 2016-04-22 09:07:12 -04:00
Matthew Taylor
bf1a99fd63 use route name now with updated strucutre
Thanks @rschamp for this!
2016-04-21 18:16:49 -04:00
Matthew Taylor
2eb62e8ab3 move component convention back to what it was
formerly presentation components such as `navigation` and `footer` have been nested, and renamed to `container` inside their respective component subdirs
2016-04-21 18:13:21 -04:00
Matthew Taylor
9b52097c38 Update lint paths for new component structure 2016-04-21 16:49:32 -04:00
Matthew Taylor
66113e1c58 Add conference sub-site 2016-04-21 16:22:39 -04:00
Matthew Taylor
017d58fb1b Split out footer container/presentation 2016-04-21 16:22:16 -04:00
Matthew Taylor
f05cb39501 Add flex-row component
Just a container with some default flexbox formatting.
2016-04-21 16:21:22 -04:00
Matthew Taylor
3c8a7db834 Take margins out of typography
They won't be the same margins for text-heavy and text-lite pages, so we should make thess view-specific for now
2016-04-21 16:19:20 -04:00
Matthew Taylor
38c4566e2b Split out name and view for routes
This will help for the conference urls, which will be sub-urls, all under `conference`
2016-04-21 16:16:59 -04:00
Matthew Taylor
eed6f1fc08 Restructure src
1. Put formatting-specific components into the `presentation` subdir of `components`
2. Put content-specific components into the `container` subdir of `components`
3. Put views that are sub-urls of the site into a subdir of `views` (i.e. `microworlds`, and eventually `conference`)
2016-04-21 15:46:32 -04:00
Ray Schamp
d3d8d34848 Merge pull request #425 from LLK/s3
Move app to S3 hosting
2016-04-21 15:27:51 -04:00
Ray Schamp
39be1b2085 Prepend env to avoid error 127, remove s3 branch
Using env provides the environment needed by the script provider to run make.

Removing s3 branch from the staging deployment list so that this is ready to merge.
2016-04-21 09:50:17 -04:00
Ray Schamp
5cd3998c1c Use after_success for deployment
The script provider seems to be unusable right now: https://github.com/travis-ci/travis-ci/issues/5538
2016-04-20 09:47:55 -04:00
Ray Schamp
b8bfe46890 Configure redirect routes in Fastly 2016-04-19 18:42:03 -04:00
Ray Schamp
b4a7a2884f Rename to dev-server after merge 2016-04-19 16:57:02 -04:00
Ray Schamp
59227e3272 Merge branch 'add_redirects' of github.com:sclements/scratch-www into s3
# Conflicts:
#	.eslintrc
#	server/handler.js
2016-04-19 16:56:22 -04:00
Ray Schamp
27cd27c35f WIP rename for merge 2016-04-19 16:50:44 -04:00
Ray Schamp
ff70324fb5 Use s3 module to deploy to S3 2016-04-19 16:35:51 -04:00
Ray Schamp
494085247d Activate after configuring Fastly 2016-04-19 13:04:45 -04:00
Ray Schamp
f90adfcadb Be explicit, direct app requests to S3 2016-04-19 10:50:57 -04:00
Ray Schamp
303b5c44a8 Lint bin subdirectories 2016-04-19 10:47:33 -04:00
Ray Schamp
eb5edc293d Linting 2016-04-18 14:07:27 -04:00
Ray Schamp
43788eb7d8 Split server and routes/config
Turn HtmlGeneratorPlugin into a module
Turn server into dev-server and simplify it
2016-04-18 14:07:11 -04:00
Ray Schamp
707af8dbe9 Use async.auto to make dependencies clearer
Thanks @thisandagain — now I know why you said async.auto is so awesome.

Also throw the error so we get a stacktrace, and make the bucket name and service ID into constants.
2016-04-18 13:23:23 -04:00
Ray Schamp
32611c9cba Fix rewrite priority
The order of the rewrite conditions needs to be internally consistent so we can control specificity with routes.json
2016-04-16 14:08:53 -04:00