Switch to being a website instead of a Chrome app.
Update our CNAME to be the more appropriate "prototype.useducky.com" when we
deploy.
Create a homepage and a non-onboarding page template. This mostly consisted of
setting up a header component and the associated styles, and then a logged-in
vs. guest flavor of said header, changing the links appropriately.
We also created a simple homepage that describes what Ducky is and does, and
gave a jumping-off point for it.
Stubbed out a basic links page, just to get an idea for what the homepage would
be like when a logged-in user navigated to the homepage (e.g., not the marketing
copy).
Updated our login page to _actually work_, and redirected it to the new URL for
the payment setup page.
Updated the payment page to actually create a subscription, and moved it from
/register/payment to just /payment.
Fixed a bug in our registration page that was looking for an invalid_form error
when it really meant an invalid_format error. Ooops. Also, updated it to point
to the new /payment endpoint instead of /register/payment.
Updated our router to use the new homepage, the new links page, and updated the
URL for the payment page.
Updated our button styles so they should all have the right font color, padding,
and border-radius, but could've potentially screwed something up. Oops.
Updated our backgrounds all over to have a transparent-y white background behind
the content, and a simple pattern for the rest of the body. Not sure how I feel
about it just yet, but I'm not going to keep futzing with it.
5 $base-border-radius: 3px !default;
6 $large-screen: em(860) !default;
7 $base-font-color: #fff;
8 $centered-navigation-padding: 1em;
9 $centered-navigation-logo-height: 2em;
10 $centered-navigation-background: #40526b;
11 $centered-navigation-color: transparentize($base-font-color, 0.3);
12 $centered-navigation-color-hover: $base-font-color;
13 $centered-navigation-height: 60px;
14 $centered-navigation-item-padding: 1em;
15 $centered-navigation-submenu-padding: 1em;
16 $centered-navigation-submenu-width: 12em;
17 $centered-navigation-item-nudge: 2.2em;
18 $horizontal-bar-mode: $large-screen;
20 background-color: $centered-navigation-background;
21 border-bottom: 1px solid darken($centered-navigation-background, 6%);
22 min-height: $centered-navigation-height;
32 max-height: $centered-navigation-height;
33 padding-left: $centered-navigation-padding;
36 max-height: $centered-navigation-height;
41 @include media($horizontal-bar-mode) {
46 .centered-navigation-mobile-menu {
47 color: $centered-navigation-color;
51 line-height: $centered-navigation-height;
53 padding-right: $centered-navigation-submenu-padding;
54 text-decoration: none;
55 text-transform: uppercase;
57 @include media ($horizontal-bar-mode) {
63 color: $centered-navigation-color-hover;
70 .centered-navigation-wrapper {
71 @include outer-container;
77 ul.centered-navigation-menu {
78 -webkit-transform-style: preserve-3d;
79 // stop webkit flicker
92 @include media ($horizontal-bar-mode) {
101 .nav-link:first-child {
102 @include media($horizontal-bar-mode) {
103 margin-left: $centered-navigation-item-nudge;
108 background: $centered-navigation-background;
110 line-height: $centered-navigation-height;
112 padding-right: $centered-navigation-submenu-padding;
118 color: $centered-navigation-color;
119 display: inline-block;
121 text-decoration: none;
125 color: $centered-navigation-color-hover;
129 @include media($horizontal-bar-mode) {
130 background: transparent;
132 line-height: $centered-navigation-height;
135 padding-right: $centered-navigation-item-padding;
144 @include media($large-screen) {
150 margin-bottom: -$centered-navigation-logo-height / 3;
151 max-height: $centered-navigation-logo-height;
160 @include media($large-screen) {
161 padding-right: $centered-navigation-submenu-padding;
164 > ul > li:first-child a {
169 margin-right: $centered-navigation-submenu-padding;
173 padding-right: 0.6em;
177 @include position(absolute, auto -0.4em auto auto);
178 color: $centered-navigation-color;
188 padding-right: $centered-navigation-submenu-padding;
192 padding-right: 1.6em;
195 @include media($large-screen) {
196 margin-right: $centered-navigation-submenu-padding;
203 right: $centered-navigation-submenu-padding / 2;
212 @include media($horizontal-bar-mode) {
213 padding-right: $centered-navigation-submenu-padding;
222 @include media($horizontal-bar-mode) {
223 left: -$centered-navigation-submenu-padding;
229 @include media($horizontal-bar-mode) {
230 left: $centered-navigation-submenu-width - 0.2em;
239 @include media($horizontal-bar-mode) {
240 line-height: $centered-navigation-height / 1.3;
243 border-top-left-radius: $base-border-radius;
244 border-top-right-radius: $base-border-radius;
248 border-bottom-left-radius: $base-border-radius;
249 border-bottom-right-radius: $base-border-radius;
250 padding-bottom: .7em;
255 background-color: darken($centered-navigation-background, 3%);
256 display: inline-block;
258 text-decoration: none;
261 @include media($horizontal-bar-mode) {
262 background-color: $centered-navigation-background;
263 padding-left: $centered-navigation-submenu-padding;
265 width: $centered-navigation-submenu-width;