Skip to content

Home Page Complete Layout #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Jul 10, 2021
Prev Previous commit
Next Next commit
Home banner titles and cv button
  • Loading branch information
zlrundefined committed Jul 7, 2021
commit f69dce9f5dcdfcb4ab1ca768f9c8b121cd1814ed
81 changes: 46 additions & 35 deletions src/components/Home.vue
Original file line number Diff line number Diff line change
@@ -1,44 +1,55 @@
<template>
<div class="container mx-auto px-4 py-10">
<!-- Banner Start -->
<section class="flex flex-col sm:flex-row justify-between">
<div class="w-full sm:w-1/2 text-left">
<h1>Hi Iam Stoman</h1>
</div>
<div class="w-full sm:w-1/2 text-right">
<img src="@/assets/images/developer.svg" alt="Developer">
</div>
</section>
<!-- Banner End -->
<div class="container mx-auto px-4 py-10">
<!-- Banner Start -->
<section class="flex flex-col items-center sm:flex-row justify-between">
<div class="w-full sm:w-1/3 text-left">
<h1 class="text-5xl font-semibold text-gray-700 uppercase">
Hi, Iam Stoman
</h1>
<p
class="mt-4 text-4xl font-semibold leading-none text-gray-400"
>
A Full-Stack Developer & Design Enthusiast
</p>
<a
href="#"
class="flex w-48 mt-10 text-lg border border-indigo-500 py-3 shadow-sm rounded-xl bg-indigo-50 hover:bg-indigo-500 hover:text-white"
>
<i data-feather="download" class="ml-4 mr-3"></i>
<span>Download CV</span></a
>
</div>
<div class="w-full sm:w-2/3 text-right">
<img src="@/assets/images/developer.svg" alt="Developer" />
</div>
</section>
<!-- Banner End -->

<!-- Home Poject Section Start -->
<section>
<div>
<p>lorem10 </p>
</div>
</section>
<!-- Home Poject Section End -->

</div>
<!-- Home Poject Section Start -->
<section>
<div>
<p>lorem10</p>
</div>
</section>
<!-- Home Poject Section End -->
</div>
</template>

<script>
import feather from 'feather-icons'
import feather from 'feather-icons';

export default {
name: 'Home',
props: {
msg: String
},
mounted() {
feather.replace();
},
updated() {
feather.replace();
}
}
name: 'Home',
props: {
msg: String,
},
mounted() {
feather.replace();
},
updated() {
feather.replace();
},
};
</script>

<style scoped>

</style>
<style scoped></style>
6 changes: 3 additions & 3 deletions src/components/shared/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,18 @@
<div class="flex justify-between items-center flex-col md:flex-row">
<div>
<button
class="text-md font-medium bg-indigo-500 hover:bg-indigo-600 text-white shadow-sm rounded-lg px-5 py-2.5"
class="text-md font-medium bg-indigo-500 hover:bg-indigo-600 text-white shadow-sm rounded-lg px-5 py-2.5 uppercase"
>
Hire Me
</button>
</div>
<div
class=" sm:ml-10 bg-gray-50 p-2 rounded-lg shadow-sm cursor-pointer"
class=" sm:ml-7 bg-gray-50 p-2 rounded-lg shadow-sm cursor-pointer"
>
<a href="#"
><i
data-feather="moon"
class="text-gray-600 hover:text-gray-400"
class="text-gray-500 hover:text-gray-400"
></i
></a>
</div>
Expand Down