Skip to content

Commit 62f16cb

Browse files
Merge pull request #10 from addiiiti/feature/how-it-works-enhancement
💄 UI polish: improved spacing, image alignment, and hover animations …
2 parents 31523d2 + 393c7f3 commit 62f16cb

File tree

2 files changed

+18
-17
lines changed

2 files changed

+18
-17
lines changed

src/components/HowItWorks.tsx

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { motion } from "framer-motion";
2-
import { useState } from "react";
2+
33

44
const HowItWorks = () => {
55
const cards = [
66
{
7-
title: "01. Smart Prompter Router",
7+
title: "01. Smart Prompt Router",
88
description:
99
"Enter your task. We’ll understand your intent and run the best tools in the right order.",
1010
image: "/smart-prompter-router-flow.png",
@@ -32,15 +32,16 @@ const HowItWorks = () => {
3232
</div>
3333

3434
<div className="container mx-auto px-4 md:px-6 relative z-10">
35-
<div className="flex flex-col items-center gap-8">
36-
<h2 className="text-4xl font-bold text-white">
35+
<div className="flex flex-col items-center gap-3">
36+
<h2 className="text-3xl md:text-4xl font-bold text-white font-['Space_Grotesk'] text-center leading-none mb-0">
3737
How it <span className="text-teal-400">Works?</span>
3838
</h2>
39-
<p className="text-white text-center max-w-xl">
39+
<p className="text-[1.125rem] leading-tight text-neutral-300 max-w-2xl text-center mt-0">
4040
Search or Prompt. Either way, iotastudio.ai finds the tools — so you don’t have to.
4141
</p>
42+
4243

43-
<div className="w-full flex flex-col gap-6">
44+
<div className="w-full flex flex-col gap-6 mt-6">
4445
{cards.map((card, index) => (
4546
<motion.div
4647
key={index}
@@ -106,4 +107,4 @@ const HowItWorks = () => {
106107
);
107108
};
108109

109-
export default HowItWorks;
110+
export default HowItWorks;

src/components/ModelShowcase.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const ModelCard: React.FC<ModelCardProps> = ({
2424
color
2525
}) => {
2626
return (
27-
<div className="bg-neutral-800 rounded-xl overflow-hidden shadow-md hover:shadow-lg transition-shadow border border-neutral-700">
27+
<div className="bg-neutral-800 rounded-xl overflow-hidden shadow-md transition-all duration-300 ease-out border border-neutral-700 cursor-pointer hover:scale-105">
2828
<div
2929
className="h-48 relative overflow-hidden"
3030
style={{ backgroundColor: `${color}10` }}
@@ -150,15 +150,15 @@ const ModelShowcase: React.FC = () => {
150150
>
151151
{/* Background Grid */}
152152
<div className="absolute inset-0 opacity-10 z-0">
153-
<div
154-
className="absolute inset-0"
155-
style={{
156-
backgroundImage:
157-
'linear-gradient(to right, #00B39F 1px, transparent 1px), linear-gradient(to bottom, #00B39F 1px, transparent 1px)',
158-
backgroundSize: '44px 44px',
159-
}}
160-
></div>
161-
</div>
153+
<div
154+
className="absolute inset-0"
155+
style={{
156+
backgroundImage:
157+
'linear-gradient(to right, #00B39F 1px, transparent 1px), linear-gradient(to bottom, #00B39F 1px, transparent 1px)',
158+
backgroundSize: '44px 44px',
159+
}}
160+
></div>
161+
</div>
162162

163163
<div className="container mx-auto px-4 md:px-6 relative z-10">
164164
<div className="text-center mb-12">

0 commit comments

Comments
 (0)