New home page, hid about page until I can add content.
This commit is contained in:
parent
e7db79a9a9
commit
41c8826c6f
5 changed files with 47 additions and 7 deletions
|
@ -14,6 +14,9 @@ class CreateExercisesTable extends Migration
|
|||
{
|
||||
Schema::create('exercises', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$table->string('exercise_name');
|
||||
$table->string('muscle_group');
|
||||
$table->string('exercise_type');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
|
39
public/assets/css/styles.css
vendored
39
public/assets/css/styles.css
vendored
|
@ -27,6 +27,43 @@ body {
|
|||
display:inline-block;
|
||||
}
|
||||
|
||||
.banner {
|
||||
position:relative;
|
||||
width:100%;
|
||||
display:block;
|
||||
}
|
||||
|
||||
.banner img {
|
||||
width:100%;
|
||||
height:auto;
|
||||
}
|
||||
|
||||
.banner h1 {
|
||||
background-color:rgba(0, 0, 0, 0.5) !important;
|
||||
border-bottom:none !important;
|
||||
color:#fff;
|
||||
position:absolute;
|
||||
width:100%;
|
||||
max-width:100% !important;
|
||||
margin:0 !important;
|
||||
padding:5px 0 !important;
|
||||
top:45%;
|
||||
text-align:center;
|
||||
display:block;
|
||||
text-shadow:0px 0px 5px #000;
|
||||
}
|
||||
|
||||
.banner button {
|
||||
font-size: 20px;
|
||||
color: #fff;
|
||||
background-color:#87161a;
|
||||
text-shadow:0px 0px 5px #000;
|
||||
border:solid 1px #87161a;
|
||||
border-radius:5px;
|
||||
margin:10px;
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
#nav {
|
||||
float:right;
|
||||
margin-right:5px;
|
||||
|
@ -94,7 +131,7 @@ fieldset {
|
|||
#nav {
|
||||
float:none;
|
||||
display:block;
|
||||
width:290px
|
||||
width:290px;
|
||||
margin:auto;
|
||||
}
|
||||
|
||||
|
|
BIN
public/assets/images/banner.jpg
Normal file
BIN
public/assets/images/banner.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 842 KiB |
|
@ -6,10 +6,10 @@
|
|||
|
||||
@section('content')
|
||||
<div class="content">
|
||||
<h2>Stuck in a rut? Just getting started? Getting bored of your routine? We've got you covered.
|
||||
<br />
|
||||
<br />
|
||||
With the workout generator provided exclusively by Fitness 1440, you can take your workouts to the next level. You give us your goals, your preferences, and your experience level and we'll give you a new workout as often as you like.
|
||||
</h2>
|
||||
<div class="banner">
|
||||
<img src={{ asset('assets/images/banner.jpg') }} class="banner">
|
||||
<h1 class="banner_text">Need help with your workouts? We've got you covered.<br />
|
||||
<a href='/generate'><button>Generate My Workout</button></a></h1>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<div id=nav>
|
||||
<ul>
|
||||
<a href="/"><li>Home</li></a> |
|
||||
<a href="/about"><li>About</li></a> |
|
||||
<!--<a href="/about"><li>About</li></a> |-->
|
||||
<a href="/generate"><li>Generate</li></a>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue