-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from Vets-Who-Code/kbrandon/landingpage
Fix(#21) Updated landing page, added style guide for smaller components
- Loading branch information
Showing
6 changed files
with
326 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
.container{ | ||
width:100%; | ||
max-width:1300px; | ||
margin:0 auto; | ||
height:calc(100vh - 72px); | ||
display:flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
|
||
} | ||
|
||
|
||
|
||
.landing-text{ | ||
padding:1rem 1.5rem; | ||
} | ||
|
||
/* .landing-text h1 span{ | ||
display: block; | ||
} */ | ||
|
||
|
||
.landing-text h1{ | ||
text-align: center; | ||
margin-bottom:2rem; | ||
} | ||
|
||
.landing-text p{ | ||
font-size: 1.3125rem; | ||
margin-bottom:1rem; | ||
line-height: 1.3; | ||
} | ||
|
||
.landing-image{ | ||
padding:1rem 1.5rem; | ||
width:auto; | ||
display:none; | ||
|
||
} | ||
|
||
.landing-btn button img#right-arrow{ | ||
width:15%; | ||
margin-left:10px; | ||
} | ||
|
||
.btn{ | ||
padding: 12px 12px; | ||
text-align: center; | ||
margin-top: 2rem; | ||
font-weight: 700; | ||
cursor: pointer; | ||
border: none; | ||
border-radius: 4px; | ||
transition: all 0.5s ease-in-out; | ||
text-transform: capitalize; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
color: var(--hashflag-white); | ||
} | ||
.btn:hover { | ||
transform: scale(1.05); | ||
box-shadow: 12px 12px 30px 20px rgba(0,0,0,0.1); | ||
|
||
} | ||
|
||
|
||
@media only screen and (min-width:768px){ | ||
|
||
.container{ | ||
margin-top:72px; | ||
} | ||
.landing-image{ | ||
display: block; | ||
|
||
} | ||
|
||
} | ||
|
||
@media only screen and (min-width:1024px){ | ||
|
||
.landing-text h1{ | ||
text-align: left; | ||
} | ||
.container{ | ||
flex-direction: row; | ||
justify-content: space-between; | ||
} | ||
|
||
.landing-btn{ | ||
width:100%; | ||
display: flex; | ||
justify-content: flex-start; | ||
} | ||
} | ||
|
||
@media only screen and (min-width:1440px){ | ||
.landing-text h1 span{ | ||
display: inline-block; | ||
} | ||
.container{ | ||
height:calc(100vh - 200px); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,37 @@ | ||
import React from "react"; | ||
import '../LandingPage/LandingPage.css'; | ||
import RightArrow from '../../images/right-arrow.png'; | ||
|
||
|
||
export default function LandingPage() { | ||
return ( | ||
<div> | ||
<h1>Create a Winning Resume</h1> | ||
<h3> | ||
Build an easily custimizable and simple resume in a few clicks! Our | ||
resume builder is easy to use with a range of functions tailored to meet | ||
the needs of U.S. military personnel transitioning out of the military | ||
and veterans. Custom-tailor resumes for any job within minutes! | ||
</h3> | ||
</div> | ||
<> | ||
<div className="container"> | ||
<div className="landing-text"> | ||
<h1 id="page-title"><span>#VetsWhoCode</span> Resume Builder</h1> | ||
{/* <h3>Create a Winning Resume</h3> */} | ||
<p> | ||
Our | ||
resume builder is easy to use with a range of functions tailored to meet | ||
the needs of U.S. military personnel transitioning out of the military | ||
and veterans. | ||
</p> | ||
|
||
<p>Custom-tailor resumes for any job within minutes! Build an easily custimizable and simple resume in a few clicks!</p> | ||
<div className="landing-btn"> | ||
<a href="./App.js" target="_blank"> | ||
<button className="btn btn-gr">Get Started | ||
<img src={RightArrow} alt="" id="right-arrow" /> | ||
</button> | ||
|
||
</a> | ||
</div> | ||
</div> | ||
<div className="landing-image"> | ||
<img src="https://media.istockphoto.com/vectors/human-resources-management-concept-vector-id849410148?k=20&m=849410148&s=612x612&w=0&h=fipoIc30-fwyXh7oWMttTEOH3zAi6a-ONU4p8ca_XL4=" alt="" /> | ||
</div> | ||
</div> | ||
</> | ||
|
||
); | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
# This style guide is to serve as an aid and reference when creating and styling various elements. | ||
*Note : Once you add these elements they will alter to the accurate sizing as there are no CSS Style Resets located here* | ||
|
||
<div style="height:5rem;"></div> | ||
|
||
# Buttons | ||
|
||
|
||
|
||
<a href="#" class="btn btn-ld">Add Link</a> | ||
|
||
```css | ||
.btn-ld{ | ||
height:26px; | ||
width:auto; | ||
background-color: var(--blue); | ||
font-size: 11px; | ||
} | ||
``` | ||
- ### Used when the user wants to add an extra link or description within the form | ||
|
||
|
||
|
||
|
||
<a href="#" class="btn btn-gr">Get Started</a> | ||
|
||
```css | ||
.btn-gr{ | ||
width:auto; | ||
height:46px; | ||
font-size: 0.875rem; | ||
background-color: #c5203e; | ||
} | ||
``` | ||
- ### When the user wants to start the resume builder or generate the resume to download | ||
|
||
|
||
|
||
<a href="#" class="btn btn-cr">Create New Resume</a> | ||
|
||
```css | ||
.btn-cr{ | ||
height:56px; | ||
width:120px; | ||
font-size: 0.875rem; | ||
background-color: #c5203e; | ||
line-height: 1.3; | ||
|
||
} | ||
``` | ||
- ### When the user wants to restart the process and create a new resume | ||
|
||
<div style="height:5rem;"></div> | ||
|
||
# Form Input | ||
|
||
<style> | ||
|
||
.btn{ | ||
padding: 12px 12px; | ||
text-align: center; | ||
margin-top: 2rem; | ||
font-weight: 700; | ||
cursor: pointer; | ||
border: none; | ||
border-radius: 4px; | ||
text-transform: capitalize; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
color: #ffffff; | ||
} | ||
|
||
.btn-gr{ | ||
width:150px; /* width will be set to auto */ | ||
height:46px; | ||
font-size: 0.875rem; | ||
background-color: #c5203e; | ||
|
||
} | ||
|
||
.btn-ld{ | ||
height:26px; | ||
width:90px; /* width will be set to auto */ | ||
background-color: #1a51a3; | ||
font-size: 11px; | ||
|
||
} | ||
|
||
.btn-cr{ | ||
height:56px; | ||
width:120px; | ||
font-size: 0.875rem; | ||
background-color: #c5203e; | ||
line-height: 1.3; | ||
|
||
} | ||
</style> | ||
|