Skip to content

Commit 132a6db

Browse files
updated UI main page
1 parent 9e087ca commit 132a6db

File tree

4 files changed

+39
-14
lines changed

4 files changed

+39
-14
lines changed

src/containers/hero/layout-07/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ const HeroArea = ({ data: { items } }: TProps) => {
5757
<div
5858
className="tw-absolute tw-inset-0"
5959
style={{
60-
backgroundColor: "rgba(9, 31, 64, 0.5)",
60+
background:
61+
"linear-gradient(135deg, rgba(9, 31, 64, 0.85) 0%, rgba(197, 32, 62, 0.75) 100%)",
6162
}}
6263
/>
6364
</div>

src/containers/timeline/item.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ type TProps = {
1414
const TimelineItem = ({ isEven, title, image, heading, texts }: TProps) => {
1515
return (
1616
<li className="tw-relative tw-mb-10 tw-grid tw-w-full tw-grid-cols-1 tw-pl-[45px] last:tw-mb-0 md:tw-grid-cols-2 md:tw-pl-0 lg:tw-mb-[68px]">
17-
<div className="tw-absolute tw-left-0 tw-top-0.5 tw-h-7.5 tw-w-7.5 tw-text-primary before:tw-absolute before:tw-inset-0 before:tw-rounded-full before:tw-border before:tw-border-current before:tw-opacity-20 before:tw-content-[''] md:tw-left-1/2 md:-tw-translate-x-1/2">
18-
<div className="tw-absolute tw-left-1/2 tw-right-1/2 tw-z-10 tw-h-[14px] tw-w-[14px] -tw-translate-x-1/2 tw-translate-y-1/2 tw-rounded-full tw-border-[3px] tw-border-current tw-bg-white" />
17+
<div className="tw-absolute tw-left-0 tw-top-0.5 tw-h-7.5 tw-w-7.5 tw-text-primary before:tw-absolute before:tw-inset-0 before:tw-animate-pulse-soft before:tw-rounded-full before:tw-border-2 before:tw-border-current before:tw-opacity-30 before:tw-shadow-lg before:tw-shadow-primary/20 before:tw-content-[''] md:tw-left-1/2 md:-tw-translate-x-1/2">
18+
<div className="tw-absolute tw-left-1/2 tw-right-1/2 tw-z-10 tw-h-[16px] tw-w-[16px] -tw-translate-x-1/2 tw-translate-y-1/2 tw-rounded-full tw-border-[3px] tw-border-current tw-bg-white tw-shadow-md tw-shadow-primary/30" />
1919
</div>
2020
<motion.div
2121
className={clsx(
@@ -35,11 +35,11 @@ const TimelineItem = ({ isEven, title, image, heading, texts }: TProps) => {
3535
</h3>
3636
)}
3737
{image?.src && (
38-
<figure>
38+
<figure className="tw-group/img tw-overflow-hidden tw-rounded-2xl tw-border tw-border-gray-200/50 tw-shadow-lg tw-shadow-black/5 tw-transition-all tw-duration-500 hover:tw-shadow-2xl hover:tw-shadow-primary/10">
3939
<img
4040
src={image.src}
4141
alt={image?.alt || ""}
42-
className="tw-h-full tw-w-full tw-rounded tw-object-cover"
42+
className="tw-h-full tw-w-full tw-object-cover tw-transition-transform tw-duration-700 group-hover/img:tw-scale-110"
4343
/>
4444
</figure>
4545
)}

src/pages/about-us.tsx

Lines changed: 33 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,39 @@ const AboutUs: PageWithLayout = ({ data }) => {
5555
<HeroArea data={content?.["hero-area"]} />
5656
<TimelineArea data={content?.["timeline-area"]} />
5757

58-
{/* Theory of Change Link */}
59-
<div className="tw-container tw-my-10 tw-text-center">
60-
<p className="tw-mb-4 tw-text-lg">Want to understand our methodology in depth?</p>
61-
<Link
62-
href="/theory-of-change"
63-
className="tw-inline-block tw-rounded-md tw-bg-primary tw-px-6 tw-py-3 tw-font-medium tw-text-white tw-transition-colors hover:tw-bg-secondary"
64-
>
65-
View Our Theory of Change
66-
</Link>
58+
{/* Theory of Change Link - Enhanced */}
59+
<div className="tw-container tw-my-16">
60+
<div className="tw-mx-auto tw-max-w-4xl tw-rounded-2xl tw-border tw-border-gray-200 tw-bg-gradient-to-br tw-from-white tw-to-gray-50 tw-p-8 tw-shadow-xl tw-shadow-primary/5 md:tw-p-12">
61+
<div className="tw-text-center">
62+
<h2 className="tw-mb-4 tw-text-3xl tw-font-bold tw-text-secondary md:tw-text-4xl">
63+
Our Methodology
64+
</h2>
65+
<p className="tw-mb-8 tw-text-lg tw-text-body md:tw-text-xl">
66+
Want to understand how we transform veterans into web developers?
67+
<br />
68+
Explore our comprehensive Theory of Change.
69+
</p>
70+
<Link
71+
href="/theory-of-change"
72+
className="tw-group tw-inline-flex tw-items-center tw-gap-3 tw-rounded-lg tw-bg-primary tw-px-8 tw-py-4 tw-font-bold tw-text-white tw-shadow-lg tw-shadow-primary/25 tw-transition-all tw-duration-300 hover:tw-scale-105 hover:tw-bg-secondary hover:tw-shadow-xl hover:tw-shadow-primary/35 active:tw-scale-95"
73+
>
74+
View Our Theory of Change
75+
<svg
76+
className="tw-h-5 tw-w-5 tw-transition-transform tw-duration-300 group-hover:tw-translate-x-1"
77+
fill="none"
78+
stroke="currentColor"
79+
viewBox="0 0 24 24"
80+
>
81+
<path
82+
strokeLinecap="round"
83+
strokeLinejoin="round"
84+
strokeWidth={2}
85+
d="M17 8l4 4m0 0l-4 4m4-4H3"
86+
/>
87+
</svg>
88+
</Link>
89+
</div>
90+
</div>
6791
</div>
6892

6993
<CtaArea data={content?.["cta-area"]} space="bottom" />

0 commit comments

Comments
 (0)