Skip to content

Commit 0fb8848

Browse files
Merge pull request #8 from codebuilderinc/update-components-and-config
Update components and TypeScript config
2 parents eab9e19 + b25a303 commit 0fb8848

8 files changed

Lines changed: 287 additions & 128 deletions

File tree

src/app/about/page.tsx

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { useEffect } from 'react'
77
export default function About() {
88
useEffect(() => {
99
const timer = setTimeout(() => {
10-
throw new Error('This is a simulated server error.')
10+
//throw new Error('This is a simulated server error.')
1111
}, 1000)
1212

1313
return () => clearTimeout(timer)
@@ -26,15 +26,12 @@ export default function About() {
2626
</div>
2727

2828
{/* Main Content */}
29-
<div className="z-10 flex items-center sm:items-start ">
30-
<div className="flex w-screen">
29+
<div className="z-10 flex items-center ">
30+
<div className="flex flex-col">
3131
<ol className="list-inside list-decimal text-sm text-center sm:text-left font-[family-name:var(--font-geist-mono)]">
3232
<li className="mb-2">
3333
Get started by editing{' '}
34-
<code className="bg-black/[.05] dark:bg-white/[.06] px-1 py-0.5 rounded font-semibold">
35-
src/app/page.tsx
36-
</code>
37-
.
34+
<code className="bg-black/5 dark:bg-white/[0.06] px-1 py-0.5 rounded font-semibold">src/app/page.tsx</code>.
3835
</li>
3936
<li>Save and see your changes instantly.</li>
4037
</ol>

src/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default function Home() {
3737

3838
return (
3939
<div className="font-[family-name:var(--font-geist-sans)]">
40-
<div className="h-[650px]">
40+
<div className="h-[450px] md:h-[550px] relative z-10">
4141
<div className="preload-images"></div>
4242
<HeroCarousel />
4343
</div>

src/components/index/accordion-tabs.tsx

Lines changed: 24 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -16,37 +16,34 @@ const AccordionTabsSection: React.FC = () => {
1616
title: 'Software Engineering Solutions',
1717
content: (
1818
<div>
19-
Navigating a wide array of domains, our team excels in mastering APIs, Database
20-
Architecture & Design, Frontend (UI/UX) development, and the intricacies of Development
21-
Operations (CI/CD), Operational Security (OpSec), and Blockchain Development (DApps, Smart
22-
Contracts, etc.). With precision and expertise at the forefront of our approach, we are
23-
poised to address your multifaceted requirements comprehensively.
19+
Navigating a wide array of domains, our team excels in mastering APIs, Database Architecture & Design,
20+
Frontend (UI/UX) development, and the intricacies of Development Operations (CI/CD), Operational Security
21+
(OpSec), and Blockchain Development (DApps, Smart Contracts, etc.). With precision and expertise at the
22+
forefront of our approach, we are poised to address your multifaceted requirements comprehensively.
2423
</div>
2524
),
2625
},
2726
{
2827
title: 'Database Architecture & Design',
2928
content: (
3029
<div>
31-
In the realm of Database Design & Architecture, our expertise spans across diverse
32-
platforms. We specialize in crafting scalable architectures tailored to meet the demands
33-
of modern data environments. Our adept team navigates the intricacies of relational
34-
databases like Postgres and MySQL, ensuring data integrity and efficiency. Simultaneously,
35-
we harness the flexibility of NoSQL databases like MongoDB to accommodate dynamic,
36-
unstructured data. Emphasizing scalability, our approach caters to the evolving needs of
37-
your data landscape, addressing the challenges posed by big data scenarios.
30+
In the realm of Database Design & Architecture, our expertise spans across diverse platforms. We specialize in
31+
crafting scalable architectures tailored to meet the demands of modern data environments. Our adept team
32+
navigates the intricacies of relational databases like Postgres and MySQL, ensuring data integrity and
33+
efficiency. Simultaneously, we harness the flexibility of NoSQL databases like MongoDB to accommodate dynamic,
34+
unstructured data. Emphasizing scalability, our approach caters to the evolving needs of your data landscape,
35+
addressing the challenges posed by big data scenarios.
3836
</div>
3937
),
4038
},
4139
{
4240
title: 'Web3 & Blockchain Development',
4341
content: (
4442
<div>
45-
As Blockchain Experts, we possess extensive lower-level knowledge of Blockchain
46-
Engineering. Our proficiency extends to launching DApps utilizing the Ethereum Virtual
47-
Machine (EVM), where we have successfully coded and deployed Smart Contracts using
48-
Solidity. Furthermore, we boast hands-on experience in real-time processing of Blockchain
49-
data, encompassing storage, analysis, and curation of substantial datasets.
43+
As Blockchain Experts, we possess extensive lower-level knowledge of Blockchain Engineering. Our proficiency
44+
extends to launching DApps utilizing the Ethereum Virtual Machine (EVM), where we have successfully coded and
45+
deployed Smart Contracts using Solidity. Furthermore, we boast hands-on experience in real-time processing of
46+
Blockchain data, encompassing storage, analysis, and curation of substantial datasets.
5047
</div>
5148
),
5249
},
@@ -63,11 +60,8 @@ const AccordionTabsSection: React.FC = () => {
6360
return (
6461
<section className={`${raleway.className} bg-gray-100 py-4 md:py-6`}>
6562
<div className="container mx-auto py-4 px-8 md:px-20 lg:px-32">
66-
<h1
67-
className={`mb-2 text-2xl text-[#333333] font-normal tracking-normal ${raleway.className}`}
68-
>
69-
Enlist the Expertise of our Professional <strong>Software Engineers</strong> for your
70-
Project!
63+
<h1 className={`mb-2 text-2xl text-[#333333] font-normal tracking-normal ${raleway.className}`}>
64+
Enlist the Expertise of our Professional <strong>Software Engineers</strong> for your Project!
7165
</h1>
7266
<div className="separator-2 mb-2" />
7367
<p className={`text-gray-400 text-lg mb-4`}>
@@ -92,9 +86,7 @@ const AccordionTabsSection: React.FC = () => {
9286
className="flex justify-between items-center px-4 py-2 cursor-pointer select-none"
9387
onClick={() => toggleItem(index)}
9488
>
95-
<span
96-
className={`w-full text-lg font-light ${isOpen ? 'text-cbBlue-6' : 'text-grey-darkest'}`}
97-
>
89+
<span className={`w-full text-lg font-light ${isOpen ? 'text-cbBlue-6' : 'text-grey-darkest'}`}>
9890
{item.title}
9991
<div className="separator-2 w-full my-2 opacity-50" />
10092
</span>
@@ -115,11 +107,7 @@ const AccordionTabsSection: React.FC = () => {
115107
width="24"
116108
xmlns="http://www.w3.org/2000/svg"
117109
>
118-
{isOpen ? (
119-
<polyline points="18 15 12 9 6 15" />
120-
) : (
121-
<polyline points="6 9 12 15 18 9" />
122-
)}
110+
{isOpen ? <polyline points="18 15 12 9 6 15" /> : <polyline points="6 9 12 15 18 9" />}
123111
</svg>
124112
</div>
125113
</div>
@@ -152,16 +140,14 @@ const AccordionTabsSection: React.FC = () => {
152140
<div>
153141
<h3 className="text-[24px] font-normal">Exceptional Flexibility</h3>
154142
<p className="text-base text-[#999999] mb-[15px]">
155-
CodeBuilder offers highly adaptable services and pricing models designed to suit
156-
your needs and budget effectively. We operate on an hourly billing system,
157-
ensuring transparency and accuracy in reflecting the time invested in your
158-
project.
143+
CodeBuilder offers highly adaptable services and pricing models designed to suit your needs and budget
144+
effectively. We operate on an hourly billing system, ensuring transparency and accuracy in reflecting
145+
the time invested in your project.
159146
</p>
160147
<p className="text-base text-[#999999]">
161-
Our rates are tailored to the specific nature of the work, providing a fair and
162-
customized approach. Before initiating any project, we provide a detailed hourly
163-
time/cost estimate and agreement, ensuring clarity and alignment with your
164-
expectations.
148+
Our rates are tailored to the specific nature of the work, providing a fair and customized approach.
149+
Before initiating any project, we provide a detailed hourly time/cost estimate and agreement, ensuring
150+
clarity and alignment with your expectations.
165151
</p>
166152

167153
<CustomButton text="Read More" link="/services" icon={faChevronRight} size="md" />

src/components/index/feature-section.tsx

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -65,35 +65,29 @@ const FeatureSection = () => {
6565
}, [])
6666

6767
return (
68-
<section className="bg-gray-100 py-4 md:py-6">
68+
<section className="bg-gray-100 py-4 md:py-8">
6969
<div className="container mx-auto px-8 md:px-20 lg:px-32">
7070
<div className="z-5 grid grid-cols-1 md:grid-cols-3 gap-2 items-stretch">
7171
{features.map((feature, index) => (
7272
<div
7373
key={index}
7474
data-index={index}
75-
className={`feature-box transition-opacity duration-300 flex flex-col h-full justify-center rounded-lg mx-2 ${
76-
visibleSections.includes(index)
77-
? 'animate__animated animate__slideInDown'
78-
: 'opacity-0'
75+
className={`feature-box transition-opacity duration-300 flex flex-col h-full rounded-lg mx-2 ${
76+
visibleSections.includes(index) ? 'animate__animated animate__slideInDown' : 'opacity-0'
7977
}`}
8078
style={{
8179
animationDelay: `${index * 0.1}s`, // Add a custom delay based on the index
8280
}}
8381
>
84-
<div className="flex items-start">
82+
<div className="flex items-start h-full">
8583
<span className="text-[2rem] mr-4 flex-shrink-0">
8684
<FontAwesomeIcon icon={feature.icon} {...feature.iconProps} />
8785
</span>
88-
<div className="flex flex-col flex-1">
89-
<h4
90-
className={`${Raleway.className} text-[#333333] leading-[1.2] text-[19px] font-normal`}
91-
>
86+
<div className="flex flex-col flex-1 h-full">
87+
<h4 className={`${Raleway.className} text-[#333333] leading-[1.2] text-[19px] font-normal`}>
9288
{feature.title}
9389
</h4>
94-
<p className="mt-2 mb-3 text-[#999999] text-[16px] font-light">
95-
{feature.description}
96-
</p>
90+
<p className="mt-2 mb-3 text-[#999999] text-[16px] font-light flex-grow">{feature.description}</p>
9791
<CustomButton
9892
text="Read More"
9993
link={feature.link}

0 commit comments

Comments
 (0)