contact page styled

This commit is contained in:
ManjaroOne666 2019-01-27 19:02:43 +00:00
parent 2504f479cc
commit 65d0a9380d
2 changed files with 81 additions and 8 deletions

View File

@ -7,12 +7,12 @@
* Proper background images for hover effect * Proper background images for hover effect
## contact ## contact
* social icons at bottom right of form
* form background image * form background image
## General ## General
* loading transitions * loading transitions
* nav buttons * nav buttons
* social nav items -> put in store or whatever
## Maybes ## Maybes
* gallery page - featured images in same style as on services page with the * gallery page - featured images in same style as on services page with the

View File

@ -39,12 +39,31 @@
</b-input> </b-input>
</b-field> </b-field>
<div class="form-footer">
<button class="btn-submit" <button class="btn-submit"
type="button" type="button"
@click.prevent="onSubmit" @click.prevent="onSubmit"
:disabled="isDisabled"> :disabled="isDisabled">
Send Send
</button> </button>
<ul class="social-nav">
<li v-for="item in socialNav"
:key="item.to"
class="social-nav__item"
>
<a class="social-nav__link social-link"
:href="item.to"
target="_blank"
>
<b-icon class="social-nav__icon"
:icon="item.icon"
/>
</a>
</li>
</ul>
</div>
</div> </div>
</form> </form>
@ -78,7 +97,13 @@ export default {
email: "", email: "",
subject: "", subject: "",
message: "", message: "",
} },
socialNav: [
{ 'to': 'https://www.instagram.com', 'text': 'Instagram', icon: 'instagram' },
{ 'to': 'https://www.facebook.com', 'text': 'Facebook', icon: 'facebook' },
{ 'to': 'https://twitter.com', 'text': 'Twitter', icon: 'twitter' },
{ 'to': 'https://uk.linkedin.com', 'text': 'LinkedIn', icon: 'linkedin' },
],
} }
}, },
@ -180,5 +205,53 @@ export default {
cursor: auto; cursor: auto;
} }
} }
.form-footer {
position: relative;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
padding-top: 2rem;
margin-top: 2rem;
&::before {
content: '';
position: absolute;
width: 90%;
height: 1px;
top: 0;
left: 5%;
background-color: $color__neutral-800;
}
}
.social-nav {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: flex-end;
}
.social-nav__item {
margin: 0 .2em;
}
.social-link {
transition: opacity .3s;
&:link, &:visited {
color: $color__neutral-100;
opacity: .6;
}
&:hover, &:active {
opacity: 1;
}
}
</style> </style>