Compare commits
6 Commits
main
...
SR-002-Ser
| Author | SHA1 | Date | |
|---|---|---|---|
| b95515d7c0 | |||
|
|
f09f6bfdf1 | ||
|
|
5f1cdfda5b | ||
|
|
0aacc551d6 | ||
|
|
adeedd3570 | ||
|
|
9804acf49b |
@@ -1,5 +1,6 @@
|
|||||||
import { type NextPage } from "next";
|
import { type NextPage } from "next";
|
||||||
import Head from "next/head";
|
import Head from "next/head";
|
||||||
|
import Image from "next/image";
|
||||||
import { Container } from "~/components/Container";
|
import { Container } from "~/components/Container";
|
||||||
import { Polaroid } from "~/components/Polaroid";
|
import { Polaroid } from "~/components/Polaroid";
|
||||||
import { ProjectDescription } from "~/components/ProjectDescription";
|
import { ProjectDescription } from "~/components/ProjectDescription";
|
||||||
@@ -15,7 +16,7 @@ const Home: NextPage = () => {
|
|||||||
</Head>
|
</Head>
|
||||||
<>
|
<>
|
||||||
<Hero />
|
<Hero />
|
||||||
{/* <Services /> */}
|
<Services />
|
||||||
<Projects />
|
<Projects />
|
||||||
{/* <About /> */}
|
{/* <About /> */}
|
||||||
{/* <Contact /> */}
|
{/* <Contact /> */}
|
||||||
@@ -40,7 +41,68 @@ const Hero = () => {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
// const Services = () => {}
|
const Services = () => {
|
||||||
|
const Services = [
|
||||||
|
{
|
||||||
|
id: 1,
|
||||||
|
icon: "web.svg",
|
||||||
|
borderColor: "border-orange/20",
|
||||||
|
title: "Websites",
|
||||||
|
description:
|
||||||
|
"Fast. Responsive. Accessible.\nWe specialize in building high-performing websites without leaving any users behind. ",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 2,
|
||||||
|
icon: "mobile.svg",
|
||||||
|
borderColor: "border-green/20",
|
||||||
|
title: "Mobile Apps",
|
||||||
|
description:
|
||||||
|
"We build cross-platform mobile apps. Lorem ipsum dolor sit amet consectetur adipiscing elit.",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 3,
|
||||||
|
icon: "design.svg",
|
||||||
|
borderColor: "border-red/20",
|
||||||
|
title: "UI/UX Design",
|
||||||
|
description:
|
||||||
|
"First impressions matter. We know how to craft unique and impressive digital experiences.",
|
||||||
|
},
|
||||||
|
];
|
||||||
|
|
||||||
|
return (
|
||||||
|
<div className="my-10 bg-sand">
|
||||||
|
<Container>
|
||||||
|
<div>
|
||||||
|
<h2 className="text-center font-extrabold text-r-2xl sm:text-left">
|
||||||
|
What we can do for you
|
||||||
|
</h2>
|
||||||
|
</div>
|
||||||
|
<div className="flex flex-col sm:flex-col md:flex-row">
|
||||||
|
{Services.map((data) => (
|
||||||
|
<div
|
||||||
|
key={data.id}
|
||||||
|
className="my-2 flex w-full flex-col items-center justify-start sm:w-1/3"
|
||||||
|
>
|
||||||
|
<Image
|
||||||
|
src={`icons/${data.icon}`}
|
||||||
|
alt="service-icon"
|
||||||
|
width={150}
|
||||||
|
height={150}
|
||||||
|
/>
|
||||||
|
<h3 className="font-semibold text-r-xl">{data.title}</h3>
|
||||||
|
<div className={`my-5 w-3/4 border-2 ${data.borderColor}`} />
|
||||||
|
{data.description.split("\n").map((line) => (
|
||||||
|
<p key={line} className="w-3/4 text-center text-r-base">
|
||||||
|
{line}
|
||||||
|
</p>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
</Container>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
const Projects = () => {
|
const Projects = () => {
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ export default {
|
|||||||
orange: "#F4A261",
|
orange: "#F4A261",
|
||||||
red: "#E76F51",
|
red: "#E76F51",
|
||||||
white: "#EAD9C2",
|
white: "#EAD9C2",
|
||||||
|
sand: "#F0D4B2",
|
||||||
black: "#2E251E",
|
black: "#2E251E",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user