Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cc73a8e3da | ||
|
|
d4db77cf45 |
@@ -29,7 +29,7 @@
|
||||
"eslint-plugin-react-hooks": "^4.6.0",
|
||||
"eslint-plugin-react-refresh": "^0.4.5",
|
||||
"postcss": "^8.4.38",
|
||||
"tailwindcss": "^3.4.3",
|
||||
"tailwindcss": "^3.4.4",
|
||||
"typescript": "^5.2.2",
|
||||
"vite": "^5.1.0"
|
||||
}
|
||||
@@ -3995,10 +3995,11 @@
|
||||
}
|
||||
},
|
||||
"node_modules/tailwindcss": {
|
||||
"version": "3.4.3",
|
||||
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.3.tgz",
|
||||
"integrity": "sha512-U7sxQk/n397Bmx4JHbJx/iSOOv5G+II3f1kpLpY2QeUv5DcPdcTsYLlusZfq1NthHS1c1cZoyFmmkex1rzke0A==",
|
||||
"version": "3.4.4",
|
||||
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.4.tgz",
|
||||
"integrity": "sha512-ZoyXOdJjISB7/BcLTR6SEsLgKtDStYyYZVLsUtWChO4Ps20CBad7lfJKVDiejocV4ME1hLmyY0WJE3hSDcmQ2A==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@alloc/quick-lru": "^5.2.0",
|
||||
"arg": "^5.0.2",
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
"eslint-plugin-react-hooks": "^4.6.0",
|
||||
"eslint-plugin-react-refresh": "^0.4.5",
|
||||
"postcss": "^8.4.38",
|
||||
"tailwindcss": "^3.4.3",
|
||||
"tailwindcss": "^3.4.4",
|
||||
"typescript": "^5.2.2",
|
||||
"vite": "^5.1.0"
|
||||
}
|
||||
|
||||
@@ -1,41 +1,43 @@
|
||||
import React from "react";
|
||||
import HeroImg from "../../assets/HeroImg.svg";
|
||||
import Stars from "../../assets/Stars.svg";
|
||||
import { FaChevronDown } from "react-icons/fa";
|
||||
|
||||
const Hero = () => {
|
||||
return (
|
||||
<div className="flex flex-col lg:flex-row md:flex-row">
|
||||
<div className="lg:w-1/2 w-full md:w-1/2">
|
||||
<img src={HeroImg} alt="hero" className="lg:mt-8 md:mt-8"></img>
|
||||
<div className="flex flex-col lg:mt-20 lg:flex-row 1920:padding-calc items-center">
|
||||
<div className="lg:w-1/2 w-full xl:w-1/2 hidden lg:flex transform origin-left">
|
||||
<img className="items-center" src={HeroImg} alt="hero"></img>
|
||||
</div>
|
||||
<div className="text-center lg:w-1/2 ml-auto md:w-1/2 md:ml-auto md:mr-auto">
|
||||
<img
|
||||
src={Stars}
|
||||
alt="hero"
|
||||
className="lg:ml-auto lg:mr-48 lg:mt-8"
|
||||
></img>
|
||||
<h1 className="text-4xl sm:text-6xl md:text-8xl">GROW YOUR</h1>
|
||||
<h1 className="text-4xl sm:text-6xl md:text-8xl">BUSINESS</h1>
|
||||
<div className="flex flex-col">
|
||||
<h2 className="lg:text-3xl lg:ml-10 mt-10 md:text-sm">
|
||||
<div className="justify-center items-center lg:w-1/2 xl:w-1/2">
|
||||
<div className="flex flex-col text-center lg:pt-10 lg:pr-20 lg:text-right 2xl:pr-40">
|
||||
<img
|
||||
src={Stars}
|
||||
alt="hero"
|
||||
className="md:px-0 ml-auto mr-auto lg:mr-0 lg:text-right"
|
||||
></img>
|
||||
<div>
|
||||
<h1 className="header-text">GROW YOUR</h1>
|
||||
<h1 className="header-text">BUSINESS</h1>
|
||||
<div>
|
||||
<img
|
||||
src={HeroImg}
|
||||
alt="heroSm"
|
||||
className="flex mt-6 lg:hidden"
|
||||
></img>
|
||||
</div>
|
||||
</div>
|
||||
<h2 className="italic text-lg md:text-2xl 2xl:text-3xl mt-4 md:mt-10">
|
||||
We do all the digital footprint for you,
|
||||
</h2>
|
||||
<h2 className="lg:text-3xl lg:ml-6 md:text-sm">
|
||||
so you can focus on what’s important!
|
||||
<h2 className="italic text-lg md:text-2xl 2xl:text-3xl">
|
||||
so you can focus on what's important!
|
||||
</h2>
|
||||
<div className="flex w-full lg:w-21 lg:h-4-75 mt-12 lg:ml-auto lg:mr-48 rounded-xl bg-gradient-to-br from-gold-light to-gold-dark p-0.5 shadow-lg">
|
||||
<button className="flex-1 font-bold text-3xl bg-gradient-to-br from-custom-bglight to-custom-bgdark rounded-xl hover:bg-transparent hover:from-transparent hover:to-transparent transition duration-500">
|
||||
<div className="flex mt-5 lg:mt-12 mx-10 sm:mx-40 lg:mx-0 lg:ml-auto rounded-xl bg-gradient-to-br from-gold-light to-gold-dark p-0.5 shadow-lg">
|
||||
<button className="flex-1 font-medium md:px-8 py-3 text-2xl md:text-3xl bg-gradient-to-br from-custom-bglight to-custom-bgdark rounded-xl hover:bg-transparent hover:from-transparent hover:to-transparent transition duration-500">
|
||||
Yes, I want that!
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className="w-full mb-4 h-12 absolute bottom-0">
|
||||
<a href="javascript:void(0)">
|
||||
<FaChevronDown size={40} className="text-text-gold mx-auto" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -1,12 +1,14 @@
|
||||
import { useState } from "react";
|
||||
import { FaTimes, FaBars } from "react-icons/fa";
|
||||
import { useEffect, useState } from "react";
|
||||
|
||||
import Logo from "../../assets/logo.svg";
|
||||
|
||||
export default () => {
|
||||
const [state, setState] = useState(false);
|
||||
|
||||
const [colorChange, setColorChange] = useState(false);
|
||||
const [isNavbarCollapsed, setIsNavbarCollapsed] = useState(
|
||||
window.innerWidth <= 768
|
||||
);
|
||||
|
||||
const changeColor = () => {
|
||||
if (window.scrollY >= 100) {
|
||||
setColorChange(true);
|
||||
@@ -15,41 +17,51 @@ export default () => {
|
||||
}
|
||||
};
|
||||
|
||||
window.addEventListener("scroll", changeColor);
|
||||
const checkNavbarCollapse = () => {
|
||||
if (window.innerWidth <= 768) {
|
||||
setIsNavbarCollapsed(true);
|
||||
} else {
|
||||
setIsNavbarCollapsed(false);
|
||||
}
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
window.addEventListener("scroll", changeColor);
|
||||
window.addEventListener("resize", checkNavbarCollapse);
|
||||
return () => {
|
||||
window.removeEventListener("scroll", changeColor);
|
||||
window.removeEventListener("resize", checkNavbarCollapse);
|
||||
};
|
||||
}, []);
|
||||
|
||||
// Replace javascript:void(0) path with your path
|
||||
const navigation = [
|
||||
{ title: "Custom", path: "javascript:void(0)" },
|
||||
{ title: "Services", path: "javascript:void(0)" },
|
||||
{ title: "Work", path: "javascript:void(0)" },
|
||||
{ title: "About Us", path: "javascript:void(0)" },
|
||||
{ title: "Services", path: "#Services" },
|
||||
{ title: "Contact", path: "javascript:void(0)" },
|
||||
];
|
||||
|
||||
return (
|
||||
<nav
|
||||
className={`${
|
||||
colorChange
|
||||
? "bg-black bg-opacity-80 transition duration-500 w-full border-b md:border-0 md:static"
|
||||
: ""
|
||||
? "bg-black bg-opacity-80 transition duration-500 w-full border-0 sticky top-0 z-10"
|
||||
: "z-10"
|
||||
}`}
|
||||
>
|
||||
<div className="items-center px-4 max-w-screen-xl mx-auto md:flex md:px-8">
|
||||
<div className="flex items-center justify-between py-3 md:py-5 md:block">
|
||||
<a href="/">
|
||||
<img src={Logo} width={60} height={60} alt="logo" />
|
||||
</a>
|
||||
<div className="md:hidden">
|
||||
<div className="flex items-center justify-center md:justify-between py-3 md:py-5 md:block">
|
||||
{isNavbarCollapsed ? (
|
||||
<button
|
||||
className="outline-none p-2 rounded-md focus:border-gray-400 focus:border"
|
||||
onClick={() => setState(!state)}
|
||||
>
|
||||
{state ? (
|
||||
<FaTimes className="h-6 w-6" />
|
||||
) : (
|
||||
<FaBars className="h-6 w-6" />
|
||||
)}
|
||||
<img src={Logo} width={60} height={60} alt="logo" />
|
||||
</button>
|
||||
</div>
|
||||
) : (
|
||||
<a href="/">
|
||||
<img src={Logo} width={60} height={60} alt="logo" />
|
||||
</a>
|
||||
)}
|
||||
</div>
|
||||
<div
|
||||
className={`flex-1 justify-self-center pb-3 mt-8 md:block md:pb-0 md:mt-0 ${
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
import { useState } from "react";
|
||||
import CardBtn from "./CardBtn";
|
||||
|
||||
interface props {
|
||||
changeActiveGroup: (group: string) => void;
|
||||
}
|
||||
|
||||
const Buttons = ({ changeActiveGroup }: props) => {
|
||||
const [selectedButton, setSelectedButton] = useState<string | null>(
|
||||
"webCards"
|
||||
);
|
||||
|
||||
const handleClick = (group: string) => {
|
||||
changeActiveGroup(group);
|
||||
setSelectedButton(group);
|
||||
};
|
||||
|
||||
return (
|
||||
<div className="lg:px-40 flex flex-row gap-2 mx-2 md:gap-5 mt-10 mb-4 flex-wrap justify-center">
|
||||
<CardBtn
|
||||
title="Marketing"
|
||||
onClick={() => handleClick("markCards")}
|
||||
isSelected={selectedButton === "markCards"}
|
||||
/>
|
||||
<CardBtn
|
||||
title="Website"
|
||||
onClick={() => handleClick("webCards")}
|
||||
isSelected={selectedButton === "webCards"}
|
||||
/>
|
||||
<CardBtn
|
||||
title="Social Media"
|
||||
onClick={() => handleClick("smCards")}
|
||||
isSelected={selectedButton === "smCards"}
|
||||
/>
|
||||
<CardBtn
|
||||
title="Camera & Edits"
|
||||
onClick={() => handleClick("camCards")}
|
||||
isSelected={selectedButton === "camCards"}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Buttons;
|
||||
@@ -0,0 +1,18 @@
|
||||
import Card from "./ServiceCard";
|
||||
import EnvisionImg from "../../assets/imgs/Envision.jpg";
|
||||
import CaptureImg from "../../assets/imgs/Capture.png";
|
||||
import EditImg from "../../assets/imgs/Edit.png";
|
||||
import PublishImg from "../../assets/imgs/Publish.jpg";
|
||||
|
||||
const CameraCards = () => {
|
||||
return (
|
||||
<div className="h-full flex lg:mt-20 flex-col flex-wrap gap-4 xl:flex-row mx-4">
|
||||
<Card title="Envision" description="Prespective" imgSrc={EnvisionImg} />
|
||||
<Card title="Capture" description="Moments" imgSrc={CaptureImg} />
|
||||
<Card title="Edit" description="Moments" imgSrc={EditImg} />
|
||||
<Card title="Publish" description="Content" imgSrc={PublishImg} />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default CameraCards;
|
||||
@@ -0,0 +1,25 @@
|
||||
interface props {
|
||||
title: string;
|
||||
onClick: () => void;
|
||||
isSelected: boolean;
|
||||
}
|
||||
|
||||
const CardBtn = ({ title, onClick, isSelected }: props) => {
|
||||
const buttonClass = isSelected
|
||||
? "w-full font-medium md:px-4 py-1 text-xs lg:text-sm xl:text-lg bg-gradient-to-br from-custom-bglight to-custom-bgdark"
|
||||
: "w-full font-medium md:px-4 py-1 text-xs lg:text-sm xl:text-lg bg-gradient-to-br from-custom-bglight to-custom-bgdark text-gray-400 shadow-inner";
|
||||
|
||||
const divClass = isSelected
|
||||
? "flex flex-1 flex-row mt-5 lg:mt-12 bg-gradient-to-b from-gold-light to-gold-dark p-0.5 shadow-lg transform scale-110"
|
||||
: "flex flex-1 flex-row mt-5 lg:mt-12 bg-gradient-to-b from-gold-light to-gold-dark p-0.5 shadow-lg";
|
||||
|
||||
return (
|
||||
<div className={divClass}>
|
||||
<button className={buttonClass} onClick={onClick}>
|
||||
{title}
|
||||
</button>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default CardBtn;
|
||||
@@ -0,0 +1,41 @@
|
||||
import { useState } from "react";
|
||||
import WesiteCards from "./WesiteCards";
|
||||
import Buttons from "./Buttons";
|
||||
import MarketingCards from "./MarketingCards";
|
||||
import CameraCards from "./CameraCards";
|
||||
import SocialMediaCards from "./SocialMedia";
|
||||
|
||||
const CardGroup = () => {
|
||||
const [activeGroup, setActiveGroup] = useState("webCards");
|
||||
|
||||
const changeActiveGroup = (group: string) => {
|
||||
setActiveGroup(group);
|
||||
};
|
||||
|
||||
let ActiveCards;
|
||||
switch (activeGroup) {
|
||||
case "markCards":
|
||||
ActiveCards = MarketingCards;
|
||||
break;
|
||||
case "webCards":
|
||||
ActiveCards = WesiteCards;
|
||||
break;
|
||||
case "smCards":
|
||||
ActiveCards = SocialMediaCards;
|
||||
break;
|
||||
case "camCards":
|
||||
ActiveCards = CameraCards;
|
||||
break;
|
||||
default:
|
||||
ActiveCards = null;
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="h-full font-medium md:px-8 py-3 text-2xl md:text-3xl bg-gradient-to-br from-custom-bglight to-custom-bgdark rounded-xl flex flex-col">
|
||||
{ActiveCards && <ActiveCards />}
|
||||
<Buttons changeActiveGroup={changeActiveGroup} />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default CardGroup;
|
||||
@@ -0,0 +1,18 @@
|
||||
import Card from "./ServiceCard";
|
||||
import AnaliseImg from "../../assets/imgs/Analise.jpg";
|
||||
import CreateImg from "../../assets/imgs/Create.jpg";
|
||||
import ScaleImg from "../../assets/imgs/Scale.jpg";
|
||||
import ExecuteImg from "../../assets/imgs/Execute.jpg";
|
||||
|
||||
const MarketingCards = () => {
|
||||
return (
|
||||
<div className="h-full flex lg:mt-20 flex-col flex-wrap gap-4 xl:flex-row mx-4">
|
||||
<Card title="Analise" description="Problem" imgSrc={AnaliseImg} />
|
||||
<Card title="Create" description="Strategy" imgSrc={CreateImg} />
|
||||
<Card title="Scale" description="Company" imgSrc={ScaleImg} />
|
||||
<Card title="Execute" description="Plan" imgSrc={ExecuteImg} />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default MarketingCards;
|
||||
@@ -0,0 +1,21 @@
|
||||
interface IProps {
|
||||
title: string;
|
||||
description: string;
|
||||
imgSrc: string;
|
||||
}
|
||||
|
||||
const Card = ({ title, description, imgSrc }: IProps) => {
|
||||
return (
|
||||
<div
|
||||
className="flex flex-col justify-end flex-1 h-full border-solid border shadow-lg bg-cover bg-center text-center"
|
||||
style={{ backgroundImage: `url(${imgSrc})` }}
|
||||
>
|
||||
<div className="lg:my-6">
|
||||
<h2 className="text-3xl font-bold">{title}</h2>
|
||||
<p className="xl:mb-10 font-thin text-xl">{description}</p>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Card;
|
||||
@@ -0,0 +1,11 @@
|
||||
import CardGroup from "./CardGroup";
|
||||
|
||||
const ServiceCardContainer = () => {
|
||||
return (
|
||||
<div className="h-full xl:h-[65vh] 1920:h-[60vh] rounded-xl mx-4 lg:mx-20 xl:mx-40 2xl:mx-60 1920:margin-calc mt-10 bg-gradient-to-br from-gold-light to-gold-dark p-0.5 shadow-lg ">
|
||||
<CardGroup />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default ServiceCardContainer;
|
||||
@@ -0,0 +1,34 @@
|
||||
import Underline from "../../assets/Underline.svg";
|
||||
import ServiceCardContainer from "./ServiceCardContainer";
|
||||
|
||||
const Services = () => {
|
||||
return (
|
||||
<div className="mt-20 lg:mt-60 text-4xl md:text-7xl xl:text-8xl text-center">
|
||||
<h1>
|
||||
We've got your{" "}
|
||||
<span className="relative inline-block">
|
||||
footprint{" "}
|
||||
<img
|
||||
src={Underline}
|
||||
alt="underline"
|
||||
className="absolute bottom-0 left-0"
|
||||
/>
|
||||
</span>{" "}
|
||||
</h1>
|
||||
<h1>
|
||||
bullsh
|
||||
<span className="bg-clip-text text-transparent bg-gradient-to-br from-gold-light to-gold-dark">
|
||||
*
|
||||
</span>
|
||||
t covered
|
||||
</h1>
|
||||
|
||||
<h2 className="italic font-thin hidden md:block md:text-2xl mt-2">
|
||||
Unlock the full potential of your business with our services.
|
||||
</h2>
|
||||
|
||||
<ServiceCardContainer />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
export default Services;
|
||||
@@ -0,0 +1,18 @@
|
||||
import Card from "./ServiceCard";
|
||||
import AlgorithmImg from "../../assets/imgs/Algorithm.jpg";
|
||||
import ScheduleImg from "../../assets/imgs/Schedule.jpg";
|
||||
import TargetImg from "../../assets/imgs/Target.jpg";
|
||||
import ExpandImg from "../../assets/imgs/Expand.jpg";
|
||||
|
||||
const SocialMediaCards = () => {
|
||||
return (
|
||||
<div className="h-full flex lg:mt-20 flex-col flex-wrap gap-4 xl:flex-row mx-4">
|
||||
<Card title="Algorithm" description="Analise" imgSrc={AlgorithmImg} />
|
||||
<Card title="Schedule" description="Content" imgSrc={ScheduleImg} />
|
||||
<Card title="Target" description="Audience" imgSrc={TargetImg} />
|
||||
<Card title="Expand" description="Platforms" imgSrc={ExpandImg} />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default SocialMediaCards;
|
||||
@@ -0,0 +1,18 @@
|
||||
import Card from "./ServiceCard";
|
||||
import IdealizeImg from "../../assets/imgs/Idealize.png";
|
||||
import DesignImg from "../../assets/imgs/Design.png";
|
||||
import CodeImg from "../../assets/imgs/Code.jpg";
|
||||
import BuildImg from "../../assets/imgs/Build.png";
|
||||
|
||||
const WesiteCards = () => {
|
||||
return (
|
||||
<div className="h-full flex lg:mt-20 flex-col flex-wrap gap-4 xl:flex-row mx-4">
|
||||
<Card title="Idealize" description="Website" imgSrc={IdealizeImg} />
|
||||
<Card title="Design" description="Website" imgSrc={DesignImg} />
|
||||
<Card title="Code" description="Website" imgSrc={CodeImg} />
|
||||
<Card title="Build" description="Website" imgSrc={BuildImg} />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default WesiteCards;
|
||||
@@ -7,23 +7,23 @@
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_387_5" x1="180" y1="0" x2="180" y2="38" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#FACC97"/>
|
||||
<stop offset="1" stop-color="#282828"/>
|
||||
<stop offset="1" stop-color="#54330F"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear_387_5" x1="140" y1="0" x2="140" y2="38" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#FACC97"/>
|
||||
<stop offset="1" stop-color="#282828"/>
|
||||
<stop offset="1" stop-color="#54330F"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint2_linear_387_5" x1="99.5" y1="0" x2="99.5" y2="38" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#FACC97"/>
|
||||
<stop offset="1" stop-color="#282828"/>
|
||||
<stop offset="1" stop-color="#54330F"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint3_linear_387_5" x1="59" y1="0" x2="59" y2="38" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#FACC97"/>
|
||||
<stop offset="1" stop-color="#282828"/>
|
||||
<stop offset="1" stop-color="#54330F"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint4_linear_387_5" x1="19" y1="0" x2="19" y2="38" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#FACC97"/>
|
||||
<stop offset="1" stop-color="#282828"/>
|
||||
<stop offset="1" stop-color="#54330F"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
@@ -0,0 +1,9 @@
|
||||
<svg width="394" height="30" viewBox="0 0 394 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M1.60632 13.6078C111.695 13.6078 441.868 14.4716 331.841 18.1391C243.644 21.079 -20.9465 29.8693 67.2553 27.0913C175.821 23.6719 283.494 12.1974 391.521 1.67163" stroke="url(#paint0_linear_265_133)" stroke-width="3" stroke-linecap="round"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_265_133" x1="1.60632" y1="14.6492" x2="391.521" y2="14.6492" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#FACC97"/>
|
||||
<stop offset="1" stop-color="#65431D"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 584 B |
|
After Width: | Height: | Size: 57 KiB |
|
After Width: | Height: | Size: 65 KiB |
|
After Width: | Height: | Size: 592 KiB |
|
After Width: | Height: | Size: 270 KiB |
|
After Width: | Height: | Size: 141 KiB |
|
After Width: | Height: | Size: 624 KiB |
|
After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 410 KiB |
|
After Width: | Height: | Size: 821 KiB |
|
After Width: | Height: | Size: 54 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 80 KiB |
|
After Width: | Height: | Size: 150 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 67 KiB |
|
After Width: | Height: | Size: 56 KiB |
|
After Width: | Height: | Size: 49 KiB |
@@ -3,3 +3,55 @@
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
.header-text {
|
||||
@apply font-medium text-5xl lg:text-7xl xl:text-8xl;
|
||||
}
|
||||
|
||||
.fade-in {
|
||||
animation: fadeIn ease 1s;
|
||||
-webkit-animation: fadeIn ease 1s;
|
||||
-moz-animation: fadeIn ease 1s;
|
||||
-o-animation: fadeIn ease 1s;
|
||||
-ms-animation: fadeIn ease 1s;
|
||||
}
|
||||
@keyframes fadeIn {
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
@-moz-keyframes fadeIn {
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
@-webkit-keyframes fadeIn {
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
@-o-keyframes fadeIn {
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
@-ms-keyframes fadeIn {
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,12 +1,15 @@
|
||||
import React from "react";
|
||||
import Navbar from "../Components/Navbar/Navbar";
|
||||
import Hero from "../Components/Hero/Hero";
|
||||
import Services from "../Components/Services/Services";
|
||||
|
||||
const Home = () => {
|
||||
return (
|
||||
<div>
|
||||
<Navbar />
|
||||
<Hero />
|
||||
<div id="Services">
|
||||
<Services />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -3,6 +3,9 @@ export default {
|
||||
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
|
||||
theme: {
|
||||
extend: {
|
||||
screens: {
|
||||
1920: "1921px",
|
||||
},
|
||||
colors: {
|
||||
"custom-bglight": "#1C1C1F",
|
||||
"custom-bgdark": "#06060B",
|
||||
@@ -13,15 +16,26 @@ export default {
|
||||
fontFamily: {
|
||||
baijam: ['"Bai Jamjuree"', "sans-serif"],
|
||||
},
|
||||
spacing: {
|
||||
"4-75": "4.75rem",
|
||||
8: "8rem",
|
||||
"13-62": "13.625rem",
|
||||
20: "12rem",
|
||||
21: "21rem",
|
||||
22: "22rem",
|
||||
backgroundImage: {
|
||||
"hero-pattern": "url('./src/assets/HeroImg.svg')",
|
||||
},
|
||||
},
|
||||
},
|
||||
plugins: [],
|
||||
plugins: [
|
||||
function ({ addUtilities }) {
|
||||
addUtilities(
|
||||
{
|
||||
".padding-calc": {
|
||||
"padding-left": "calc((100vw - 1920px)/2)",
|
||||
"padding-right": "calc((100vw - 1920px)/2)",
|
||||
},
|
||||
".margin-calc": {
|
||||
"margin-left": "calc((100vw - 1920px)/2)",
|
||||
"margin-right": "calc((100vw - 1920px)/2)",
|
||||
},
|
||||
},
|
||||
["responsive"]
|
||||
);
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||