6 Commits

Author SHA1 Message Date
b95515d7c0 Merge remote-tracking branch 'origin/main' into SR-002-Services-Section 2023-05-20 17:47:26 -05:00
BlackDives
f09f6bfdf1 SR-002: Background change 2023-04-30 13:06:35 -05:00
BlackDives
5f1cdfda5b SR-002: Responsive styling
Made the services section responsive. Fixed some text as well and changed the border color under each service.
2023-04-30 12:29:40 -05:00
BlackDives
0aacc551d6 SR-002: Fixing font sizes 2023-04-30 12:04:11 -05:00
BlackDives
adeedd3570 SP-002: Fixed layout styles 2023-04-30 04:02:45 -05:00
BlackDives
9804acf49b SR-002: Basic layout created 2023-04-30 03:00:17 -05:00
2 changed files with 65 additions and 2 deletions

View File

@@ -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 (

View File

@@ -36,6 +36,7 @@ export default {
orange: "#F4A261", orange: "#F4A261",
red: "#E76F51", red: "#E76F51",
white: "#EAD9C2", white: "#EAD9C2",
sand: "#F0D4B2",
black: "#2E251E", black: "#2E251E",
}, },
}, },