Commit graph

241 commits

Author SHA1 Message Date
Ben Wheeler
88e59a5b49 Move warning banner from splash to Page 2020-01-11 00:16:34 -05:00
Ben Wheeler
2c40d8c51e draft of mandrill outage banner 2020-01-09 00:03:58 -05:00
picklesrus
b89fe1a985 Add recognition text and links to the bottom of the page.
Adds a prop to the Page component so each page can say whether or not it 
wants them to appear.
2019-12-04 16:28:23 -05:00
rschamp
fdddad3516 Review feedback 2019-11-27 15:45:35 -05:00
rschamp
d83769be71 Set real start date 2019-11-27 12:25:45 -05:00
rschamp
8b79a1406d Use magenta to contrast with the talking tales bg 2019-11-27 11:34:57 -05:00
rschamp
e5d14ff0c2 Update content for 2019 2019-11-27 11:15:41 -05:00
rschamp
976cfa4acd Resurrect HOC banners 2019-11-26 18:25:21 -05:00
rschamp
1a172d45e0 Purge old banner 2019-11-26 17:31:47 -05:00
Ben Wheeler
a8d4184b3f renamed frameless.js tablet var to mobileIntermediate, use tabletPortrait for breaks 2019-01-29 10:35:19 -05:00
Ben Wheeler
be975cba26 using tabletPortrait instead of changing value of tablet var, per chrisg's suggestion 2019-01-28 22:36:39 -05:00
Paul Kaplan
f7818049da Remove the project count request since it is no longer being used 2019-01-31 16:48:56 -05:00
Benjamin Wheeler
3c8cf1a6fc
Merge pull request #2526 from chrisgarrity/feature/2319-masthead
Implement new Intro masthead
2018-12-20 11:35:39 -05:00
chrisgarrity
496d585add Don’t duplicate localization strings
Current launch banner should just use the intro.startCreating string for the call to action. Leaving the generic Call to Action in place for the next banner.
2018-12-20 08:05:52 -05:00
chrisgarrity
496fdad8be New 3.0 Masthead
* intro component was changed for new banner masthead layout
* added new video component for embedding wistia (based on extension video, we should probably figure out consolidating the two)
* new and updated strings in splash/l10n.json
* updated splash presentation to move Intro above `inner` to allow it to be full width (like banners)
* new assets
2018-12-20 07:32:03 -05:00
chrisgarrity
0d5323ff0c Remove tutorial for logged in users. 2018-12-17 10:40:48 -05:00
chrisgarrity
9cbcd80c76 two more tweaks with the mobile version 2018-12-13 11:40:39 -05:00
chrisgarrity
c28b5051ca revise with images absolute
Switched the images div to absolute positioning instead of the header container.
2018-12-12 20:42:23 -05:00
chrisgarrity
b9fb557b88 style adjustments 2018-12-12 14:24:07 -05:00
chrisgarrity
79449ac547 [WIP] Draft 3.0 Launch banner
Started transition to ‘featured’ banner that is somewhat reusable. However, middle and smallTop banners are still based on beta. They’re not used for 3.0 launch.
2018-12-12 11:35:41 -05:00
Ray Schamp
15cc6ca529 Lint 2018-12-06 15:16:22 -05:00
Ray Schamp
b7ffa34eec Open and close admin panel from parent component 2018-12-06 15:05:20 -05:00
Ray Schamp
726a2005bb Basic project admin panel support
Just in case we don't do anything else, this "proxies" the old admin panel to the new project page.

Requires https://github.com/LLK/scratchr2/pull/5219 to work.
2018-12-05 15:40:18 -05:00
Ray Schamp
a0b6fda7a0
Add project data to adventure game tutorial 2018-12-03 12:33:28 -05:00
apple502j
574f2b0897
HOTFIX: No localhost allowed on real website! 2018-12-03 20:31:49 +09:00
chrisgarrity
edfee0713a show intro for logged out users
Switch `&&` to `||`. Current date before AND after HoC is never true.
2018-11-28 12:23:47 -05:00
chrisgarrity
911005f5ad
Merge branch 'master' into hotfix/hoc-banner 2018-11-19 12:03:02 -05:00
chrisgarrity
a06d8ec11e Add more bottom padding to activities button
Also restore hocbanner messages to l10n.json.
2018-11-19 11:11:48 -05:00
chrisgarrity
f2f4a6ac7c 2018 Hour of Code Banners
* add Top and Middle HoC banners
* banners share styles
* add new assets for banners
* update presentation to check date to determine whether to show the HoC banners.
2018-11-16 14:02:56 -05:00
Ray Schamp
e2795ec4d6
Merge pull request #2284 from rschamp/bugfix/offline-homepage
Avoid displaying an error when /news returns a 500
2018-11-07 17:57:10 +00:00
chrisgarrity
b5d551b705 Add new strings in preparation for Hour of Code 2018-11-06 16:15:54 -05:00
Ray Schamp
037078d623 Avoid displaying an error when /news returns a 500
This situation probably occurs most frequently when running dev servers while offline, but could also happen if the API is having issues. 500 responses from the API should not take down the homepage so drastically, and are also sometimes unavoidable while working offline.
2018-11-06 12:25:04 +00:00
sjgllghr
6d8235c7e8 Fix gh-2156: Use variables for media queries for consistency (#2182)
* use variables for media queries

* add medium-and-intermediate media query variable
2018-10-16 13:28:41 -04:00
Benjamin Wheeler
eb9abd23a0
fixed errors in splash page that appear in develop (#2077) 2018-09-25 00:52:23 -04:00
Connor Hudson
d48adc2ae4 Set more position properties to fix banner centering on android chrome 2018-08-01 10:26:26 -04:00
Andrew Sliwinski
61bfc254ce
Merge pull request #1956 from technoboy10/feature/beta-banner
Add top and middle splash page banners for beta launch
2018-07-17 09:46:14 -04:00
Connor Hudson
90bd2af3aa Move banner timestamps to constants at top of file 2018-07-16 13:16:48 -04:00
Connor Hudson
595a4a8c60 Hide banners before launch date (actual dates TBD) 2018-07-16 11:35:25 -04:00
Connor Hudson
664fc1998e Update beta banner styles to match mockup 2018-07-16 10:09:34 -04:00
Connor Hudson
ae49bbf74f Update l10n strings 2018-07-16 10:09:10 -04:00
Connor Hudson
fee657977e Use module.exports for banners, remove .default for banner imports in presentation 2018-07-16 09:17:26 -04:00
jokebookservice1
07202ff6ec
Remove unneeded testing file 2018-07-09 16:48:17 +03:00
Connor Hudson
5b520c21ef Update copy from doc 2018-07-06 13:47:55 -04:00
Connor Hudson
a7aae29041 Tweak small top banner styles 2018-07-06 11:38:41 -04:00
Connor Hudson
917497ab66 Use localization strings for banner copy 2018-07-06 10:37:51 -04:00
Connor Hudson
565eeb776f Make middle banner image resize properly and keep its aspect ratio 2018-07-06 10:37:10 -04:00
Connor Hudson
61aad76b68 Fix middle banner image styles 2018-07-06 09:52:24 -04:00
Connor Hudson
d1d7b2e711 Adjust middle banner width and margin to match other front page rows 2018-07-05 15:26:34 -04:00
Connor Hudson
4129a701e7 Second pass at responsive top banner 2018-07-03 16:18:11 -04:00
Connor Hudson
5ebb5fa8db Fix image weirdness on chrome, safari 2018-07-03 15:02:00 -04:00