Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielEmmanuel1 committed May 9, 2024
1 parent f349a67 commit 9d41524
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
18 changes: 9 additions & 9 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const App = () => {
return (
<>
<Navbar />
<div className="lg:flex flex-col items-center bg-hero-pattern py-8 relative px-[1em]">
<div className="lg:h-fit flex flex-col items-center justify-center bg-hero-pattern py-8 relative px-[1em] mt-8 h-[40rem]">
<h1 className="lg:text-[5rem] font-bold lg:w-[50%] text-center text-[3rem]">
The Creative{" "}
<div
Expand All @@ -45,7 +45,7 @@ const App = () => {
Lets reduce the work load for you and help you scale your freelance
business
</p>
<div className="flex">
<div className="flex justify-center">
<div>
<img src="./pictures/pic1.png" alt="" />
</div>
Expand All @@ -60,11 +60,11 @@ const App = () => {
</div>
</div>
<br />
<div className="lg:flex-row gap-4 flex flex-col">
<button className="bg-[#E52424] text-white text-sm py-2 px-4 rounded-xl">
<div className="lg:flex-row gap-4 flex flex-col w-fit mx-auto">
<button className="bg-[#E52424] text-white text-sm py-2 lg:px-4 rounded-xl w-fit px-[4rem]">
Let's Talk
</button>
<button className="bg-white text-[#E52424] border-[#E52424] text-sm p-2 border rounded-xl">
<button className="bg-white text-[#E52424] border-[#E52424] text-sm p-2 border rounded-xl w-fit px-8">
Explore Our Works
</button>
</div>
Expand All @@ -77,14 +77,14 @@ const App = () => {
/>
</div>

<div className="lg:flex-row justify-center gap-6 lg:mb-0 lg:w-full h-[800px] w-[80%] mx-auto flex flex-col mb-16">
<div className="px-4 lg:flex-row justify-center gap-6 lg:mb-0 lg:w-full h-[800px] w-[80%] mx-auto flex flex-col mb-16">
<div className="relative w-[30%]; h-[70%]">
<img
className="h-full w-full object-cover rounded-2xl"
src="pictures/guy.png"
alt=""
/>
<div className="lg:flex items-center lg:justify-between bg-[rgba(0,0,0,0.4)] absolute bottom-3 border-none lg:rounded-xl px-2 py-2 lg:left-[3.4%] lg:w-[35rem] w-[95%] lg:h-[20%] flex left-[2.6%] rounded-lg">
<div className="lg:flex items-center lg:justify-between bg-[rgba(0,0,0,0.4)] absolute bottom-3 border-none lg:rounded-xl px-2 py-2 lg:left-[3.4%] lg:w-[95%] w-[95%] lg:h-[20%] flex left-[2.6%] rounded-lg">
<div className="">
<h2 className="font-bold lg:text-xl text-white text-sm">
Streamline Your Workload
Expand All @@ -104,7 +104,7 @@ const App = () => {
src="pictures/girl.png"
alt=""
/>
<div className="lg:flex-row justify-between bg-[rgba(0,0,0,0.4)] absolute bottom-3 lg:rounded-xl px-2 py-2 lg:left-[3.4%] lg:w-[50rem] w-[95%] lg:h-[20%] left-[2.6%] flex rounded-lg">
<div className="lg:flex-row justify-between bg-[rgba(0,0,0,0.4)] absolute bottom-3 lg:rounded-xl px-2 py-2 lg:left-[3.4%] lg:w-[95%] w-[95%] lg:h-[20%] left-[2.6%] flex rounded-lg">
<div>
<h2 className="font-bold lg:text-xl text-white text-xs">
Tap into our pool of talented Designers
Expand Down Expand Up @@ -389,7 +389,7 @@ const App = () => {
</div> */}
</div>

<div className="h-[379px] bg-[#1C1C1C] text-white flex justify-center items-center w-full">
<div className="h-[379px] bg-[#1C1C1C] text-white flex justify-center items-center">
<div className="mx-32 w-full">
<div className="flex flex-col">
<div className="lg:flex lg:justify-between lg:items-center">
Expand Down
4 changes: 2 additions & 2 deletions src/components/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ const Navbar = () => {
return (
<nav className="lg:flex justify-between mx-[5%] my-[2%] items-center">
<div className="flex justify-between">
<div className="lg:flex-row lg:gap-2 lg:font-bold font-bold text-[1rem] flex flex-col">
<div className="lg:flex-row lg:gap-2 lg:font-bold text-[1rem] flex flex-col font-semibold">
Super <span>Creative</span>
</div>
<img className="lg:hidden" src="./pictures/menu.svg" alt="" />
<img className="img lg:hidden" src="./pictures/menu.svg" alt="" />
</div>
<ul className="lg:flex gap-8 hidden">
<li>About</li>
Expand Down
4 changes: 4 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
@tailwind components;
@tailwind utilities;

.img {
width: 2.5rem;
}

/* .make-way {
text-underline-offset: 5px;
z-index: 1;
Expand Down

0 comments on commit 9d41524

Please sign in to comment.