From 0f10457832a746b2ce6af0e530dc54e1696a16b9 Mon Sep 17 00:00:00 2001 From: Billy Brawner Date: Thu, 3 Sep 2015 08:39:19 -0700 Subject: [PATCH] Additions to home page. --- public/assets/css/styles.css | 33 ++++++++++++++++++++++++++++++++- resources/views/home.blade.php | 32 ++++++++++++++++++++++++++++++-- 2 files changed, 62 insertions(+), 3 deletions(-) diff --git a/public/assets/css/styles.css b/public/assets/css/styles.css index fbf87b0..14f9528 100644 --- a/public/assets/css/styles.css +++ b/public/assets/css/styles.css @@ -53,7 +53,7 @@ body { text-shadow:0px 0px 5px #000; } -.banner button { +.home-button { font-size: 20px; color: #fff; background-color:#87161a; @@ -89,6 +89,7 @@ body { text-align:center; padding:10px; margin:0; + border-radius:5px; } #nav a:hover, a:active { @@ -118,10 +119,36 @@ body { } .content h2 { + color:#87161a; margin:20px; text-align:center; } +.content p { + margin:10px; +} + +.content-section { + padding:5px 0; + margin:0; + display:block; + width:100%; + position:relative; + height:auto; + background-color:transparent; +} + +.content-box { + display:block; + margin:0; + padding:5px 0; + width:50%; +} + +.content-box p { + text-align: center; +} + fieldset { background-color:white; margin:20px; @@ -154,4 +181,8 @@ fieldset { margin:0; padding:0; } + + .content-box { + width:100%; + } } diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php index c19e4a8..a3edaef 100644 --- a/resources/views/home.blade.php +++ b/resources/views/home.blade.php @@ -8,8 +8,36 @@
+
+
+

How does it work?

+

It's simple, really. You tell us a little bit about yourself: your goals, experience, and preferences, + and we take care of the rest. You'll get a complete workout routine including warm-ups, stretches, + cool-downs, the number of sets and reps you should be doing for each exercise, and occasional + nutritional tips to help you reach your goals even faster. If you'd like, you can even add in some + custom exercises to make your experience even more personalized.

+
+
+
+
+
+

Why random generation?

+

One of the primary pillars of fitness is periodization. Studies have shown that after about 2-3 weeks, + your body begins to adapt to the challenges you give it, which means you'll still be putting in the work + but you won't be seeing the results. Periodization is the process of changing up the structure of your + routine to prevent you from adapting to it. Say goodbye to plateaus!

+
+
+
+
+
+

Still not convinced?

+

Don't take our word for it, sign up and try it out today!
+

+
@endsection