-
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 #75 from Dium-dev/38-aboutusbanner
Add SobreNosotros page
- Loading branch information
Showing
13 changed files
with
84 additions
and
12 deletions.
There are no files selected for viewing
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,30 @@ | ||
import { AboutUsCard } from "@/components/AboutUsBanner/AboutUsCard"; | ||
import Image from "next/image"; | ||
|
||
const SobreNosotros = () => { | ||
return ( | ||
<> | ||
<div className="mb-24 flex flex-col items-center justify-between gap-8 md:flex-row bg-black/90 dark:bg-white px-8 py-20 relative"> | ||
<h1 className="text-4xl font-bold text-primary-lm mb-12 md:mb-0 md:ml-24">QUIENES SOMOS</h1> | ||
<div className="absolute inset-y-0 md:right-20 bottom-0 transform translate-y-1/2 mb-6 md:mb-0"> | ||
<div className="flex h-full items-center justify-center"> | ||
<Image | ||
src={"/icons/iconLogoATC.png"} | ||
alt="Logo ATC" | ||
width={200} | ||
height={200} | ||
className="shadow-2xl rounded-full" | ||
/> | ||
</div> | ||
</div> | ||
</div> | ||
<div className="flex flex-col gap-8 px-8"> | ||
<AboutUsCard color="red" reverse /> | ||
<AboutUsCard color="green" /> | ||
<AboutUsCard color="yellow" reverse /> | ||
<AboutUsCard color="purple" /> | ||
</div> | ||
</> | ||
); | ||
}; | ||
export default SobreNosotros; |
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,38 @@ | ||
import { LiaHardHatSolid } from "react-icons/lia"; | ||
import { cn } from "@/lib/utils" | ||
|
||
interface ConstructionCardProps { | ||
color: "red" | "green" | "yellow" | "purple" | ||
className?: string | ||
reverse?: boolean | ||
} | ||
|
||
export function AboutUsCard({ color, className, reverse = false }: ConstructionCardProps) { | ||
const colorClasses = { | ||
red: "bg-red-500 dark:bg-red-700", | ||
green: "bg-lime-500 dark:bg-lime-700", | ||
yellow: "bg-yellow-400 dark:bg-yellow-600", | ||
purple: "bg-purple-400 dark:bg-purple-600", | ||
} | ||
|
||
return ( | ||
<div className={cn( | ||
"flex flex-col-reverse items-center justify-evenly gap-6 w-full mb-8", | ||
reverse ? "md:flex-row-reverse" : "md:flex-row", | ||
className | ||
)}> | ||
<div className="w-full md:w-2/5 space-y-4"> | ||
<p className="text-paragraph text-gray-300 dark:text-gray-700"> | ||
Lorem ipsum dolor sit amet consectetur adipisicing elit. Exercitationem esse fuga, unde voluptas reprehenderit ut commodi! Officiis, magnam veritatis? Autem quid possimus accusamus sed et fugiat consectetur est officiis molestias. | ||
</p> | ||
<p className="text-paragraph text-gray-300 dark:text-gray-700"> | ||
Lorem ipsum dolor sit amet consectetur adipisicing elit. Exercitationem esse fuga, unde voluptas reprehenderit ut commodi! Officiis, magnam veritatis? Autem quid possimus accusamus sed et fugiat consectetur est officiis molestias. | ||
</p> | ||
</div> | ||
<div className={cn("flex h-60 w-full md:w-2/5 flex-shrink-0 items-center justify-center rounded-lg", colorClasses[color])}> | ||
<LiaHardHatSolid className="h-20 w-20 text-white" /> | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
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
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
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