Skip to content
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
18 changes: 8 additions & 10 deletions src/components/FrameworkDetailsSection/FrameworkDetailsSection.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import { Card, CardContent, CardHeader, CardTitle } from "../ui/card";
import { Check } from "lucide-react";
import { CircleCheckBig } from "lucide-react";
import {
FrameworkDetailsSectionProps,
CapabilityListProps,
Expand All @@ -11,17 +11,15 @@ const CapabilityList: React.FC<CapabilityListProps> = ({
capabilities,
}) => {
return (
<Card className="bg-card border-border">
<Card>
<CardHeader>
<CardTitle className="text-xl font-semibold text-foreground">
{title}
</CardTitle>
<CardTitle className="text-2xl text-primary">{title}</CardTitle>
</CardHeader>
<CardContent className="space-y-3">
{capabilities.map((capability, index) => (
<div key={index} className="flex items-center gap-3">
<Check className="h-4 w-4 text-green-500 flex-shrink-0" />
<span className="text-muted-foreground text-sm">{capability}</span>
<div key={index} className="flex items-center gap-5">
<CircleCheckBig className="h-6 w-6 text-green-500 stroke-3" />
<span className="text-muted-foreground text-md">{capability}</span>
</div>
))}
</CardContent>
Expand Down Expand Up @@ -67,10 +65,10 @@ const FrameworkDetailsSection: React.FC<FrameworkDetailsSectionProps> = () => {
<section className="py-20 px-4 sm:px-6 lg:px-8 bg-background">
<div className="container mx-auto">
<div className="text-center mb-16">
<h2 className="text-3xl md:text-4xl font-bold text-foreground mb-6">
<h2 className="text-3xl font-bold text-foreground mb-6">
Framework & Technology Details
</h2>
<p className="text-lg text-muted-foreground max-w-3xl mx-auto">
<p className="text-lg font-semibold text-muted-foreground max-w-3xl mx-auto">
Deep dive into the technology that powers our rapid development
</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/ui/card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function Card({ className, ...props }: React.ComponentProps<"div">) {
<div
data-slot="card"
className={cn(
"bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",
"bg-card text-card-foreground flex flex-col gap-6 py-6 shadow-sm",
className,
)}
{...props}
Expand Down
2 changes: 1 addition & 1 deletion src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
.dark {
--background: oklch(0.145 0 0);
--foreground: oklch(0.985 0 0);
--card: oklch(0.205 0 0);
--card: oklch(0.16 0 0);
--card-foreground: oklch(0.985 0 0);
--popover: oklch(0.205 0 0);
--popover-foreground: oklch(0.985 0 0);
Expand Down