Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat-tech-stack-section #271

Open
wants to merge 1 commit into
base: saga
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added public/images/tech/tech-stack-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 20 additions & 16 deletions src/app/tech/page.tsx
Original file line number Diff line number Diff line change
@@ -1,26 +1,30 @@
import HeroSection from "@/components/tech/HeroSection";
import { TechStackSection } from "@/components/tech/TechStackSection";
import { Box, Flex } from "@radix-ui/themes";

const page = () => {
return (
<Flex
position="relative"
width="100%"
direction="column"
align="center"
justify="start"
gap={{ initial: "4", lg: "6", xl: "9" }}
>
<Box
<>
<Flex
position="relative"
width="100%"
position="absolute"
inset="0"
height="450px"
className="bg-navy-900 -z-10"
/>
direction="column"
align="center"
justify="start"
gap={{ initial: "4", lg: "6", xl: "9" }}
>
<Box
width="100%"
position="absolute"
inset="0"
height="450px"
className="bg-navy-900 -z-10"
/>

<HeroSection />
</Flex>
<HeroSection />
</Flex>
<TechStackSection />
</>
);
};

Expand Down
78 changes: 78 additions & 0 deletions src/components/tech/TechStackSection.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
import {
Box,
Flex,
Grid,
Heading,
Link,
Section,
Separator,
Text,
} from "@radix-ui/themes";
import Image from "next/image";
import React from "react";

const technologies = [
"TypeScript",
"NextJS",
"React",
"RadixUI",
"Tailwind",
"Postgres",
"NodeJS",
"Strapi",
"Jest",
"Supertest",
"Mintlify",
];

export const TechStackSection = () => {
return (
<Section mx={{ md: "94px", sm: "9", initial: "2" }}>
<Separator orientation="horizontal" className="w-full bg-navy-900" />
<Grid gap="5" my="7" columns={{ md: "2", initial: "1" }}>
<Flex gap="4" direction="column">
<Heading size="8" className="text-navy-900">
Our Tech Stack
</Heading>
<Text size="5" className="text-navy-900">
We use the following technologies (and more). No need for deep
familiarity with each — this just gives you an idea of what to
expect.
</Text>
<Box>
{technologies.map((item, index) => (
<li
key={index}
className="text-navy-900 font-medium leading-7 text-2xl"
>
{item}
</li>
))}
</Box>
<Text size="4" className="text-navy-900">
Check out our{" "}
<Link href="https://github.com/distributeaid">Github</Link> for more
info!
</Text>
</Flex>
<Box
className="bg-[var(--green-9)] rounded-ss-3xl rounded-es-3xl"
px="8"
py="7"
>
<Image
src="/images/tech/tech-stack-image.png"
alt="Tech stack image"
style={{
width: "100%",
height: "100%",
}}
width={537}
height={357}
/>
</Box>
</Grid>
<Separator orientation="horizontal" className="w-full bg-navy-900" />
</Section>
);
};
Loading