Skip to content

Commit

Permalink
responsive landing page is ready
Browse files Browse the repository at this point in the history
  • Loading branch information
AnuragSamarth committed Jun 19, 2024
1 parent 4ede566 commit 608acb4
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 9 deletions.
3 changes: 0 additions & 3 deletions Day 21 Registration Form/.vscode/settings.json

This file was deleted.

2 changes: 1 addition & 1 deletion Day 39 Landing Page/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Header from "./Components/Header"
function App() {

return (
<div className=" bg-amber-50 min-h-screen px-6 py-3 flex flex-col gap-16">
<div className=" bg-amber-50 min-h-screen px-6 py-3 flex flex-col gap-16 md:px-10 md:py-7 md:justify-between lg:px-16 lg:py-10">
<Header/>
<Body/>
<Footer/>
Expand Down
6 changes: 3 additions & 3 deletions Day 39 Landing Page/src/Components/Body.jsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
function Body(){
return (
<div className=" space-y-4">
<div>
<div className=" space-y-4 lg:flex justify-center items-center">
<div className=" flex justify-center">
<img src="./public/body img.png" alt="img" />
</div>
<div>
<h1 className="text-5xl font-bold font-playfair leading-tight">Host Your website in less then 5 minutes.</h1>
<p className=" font-lato text-gray-400">with Hoster , get your website up and running in no less then 5 minutes with the most competitives pricing packages available online.</p>
<form action="" className="flex flex-col gap-4 m-4">
<form action="" className="flex flex-col gap-4 m-4 md:flex-row">
<input className=" rounded-md px-4 py-3 placeholder:text-gray-400" type="email" placeholder="Enter email address" />
<button className=" rounded-md px-4 py-3 bg-blue-400 hover:bg-blue-600">Join Waitlist</button>
</form>
Expand Down
2 changes: 1 addition & 1 deletion Day 39 Landing Page/src/Components/Footer.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
function Footer(){
return(
<div className="flex flex-col gap-12">
<div className="flex flex-col gap-12 md:flex-row md:justify-between">
<ul className="flex gap-6 font-lato text-gray-400">
<li>
<a href="#">Facebook</a>
Expand Down
11 changes: 10 additions & 1 deletion Day 39 Landing Page/src/Components/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,16 @@ function Header() {
/>
<button className=" bg-gradient-to-r from-orange-400 to-red-400 text-xs text-white px-2.5 py-1.5 rounded-2xl">Hiring</button>
</div>
<div>
<ul className="hidden lg:flex justify-between items-center font-lato text-gray-400 gap-4">
<li><a href="#">Plans</a></li>
<li><a href="#">Find Domain</a></li>
<li><a href="#">Why Hoster</a></li>
</ul>
<div className="hidden lg:flex justify-center items-center font-lato gap-6">
<a href="#" className=" text-gray-400">sign In</a>
<button className="rounded-md px-4 py-3 bg-blue-400 hover:bg-blue-600">Join Waitlist</button>
</div>
<div className=" lg:hidden">
<FaBarsStaggered />
</div>
</div>
Expand Down

0 comments on commit 608acb4

Please sign in to comment.