Skip to content

Commit a08e843

Browse files
authored
refactor: improve page width consistency (#133)
1 parent 75a0b26 commit a08e843

File tree

13 files changed

+57
-57
lines changed

13 files changed

+57
-57
lines changed

app/[lang]/(hyperjump)/case-studies/[slug]/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ function Hero({ heading }: { heading: string }) {
103103

104104
<div className="relative z-10 mt-10 flex h-[351px] items-center justify-center">
105105
<h1
106-
className="mb-4 max-w-3xl px-4 text-center text-2xl font-medium text-white sm:text-4xl md:px-20 md:text-[40px]"
106+
className="mb-4 max-w-3xl px-4 text-center text-2xl font-medium text-white sm:text-4xl md:px-20 md:text-4xl"
107107
dangerouslySetInnerHTML={{
108108
__html: heading
109109
}}
@@ -121,8 +121,8 @@ type RecommendationProps = {
121121
function Recommendation({ caseStudies, lang }: RecommendationProps) {
122122
return (
123123
<section className="bg-white py-10">
124-
<div className="mx-auto max-w-6xl">
125-
<h2 className="text-hyperjump-black mb-5 text-2xl font-semibold capitalize md:text-4xl">
124+
<div className="mx-auto max-w-5xl">
125+
<h2 className="text-hyperjump-black mb-5 text-2xl font-semibold md:text-4xl">
126126
{caseStudyMore(lang)}
127127
</h2>
128128
<div className="grid gap-6 md:grid-cols-2">

app/[lang]/(hyperjump)/components/footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ type FooterProps = { lang: SupportedLanguage };
1111

1212
export default function Footer({ lang }: FooterProps) {
1313
return (
14-
<footer className="relative overflow-hidden px-4 py-10 text-white md:px-20 md:py-14">
14+
<footer className="relative overflow-hidden px-4 py-10 text-white md:px-20 md:py-14 xl:px-0">
1515
<div className="absolute inset-0 z-0">
1616
<Image
1717
src="/images/swatch.svg"

app/[lang]/(hyperjump)/products/page.tsx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { Metadata } from "next";
22

3-
import GridItemsContainer, { GridItems } from "@/app/components/grid-items";
3+
import { GridItems } from "@/app/components/grid-items";
44
import { Hero } from "@/app/components/hero";
55
import { dynamicOpengraph } from "@/lib/default-metadata";
66
import {
@@ -49,21 +49,21 @@ export default async function productsPage({ params }: ProductsProps) {
4949
const { lang } = await params;
5050

5151
return (
52-
<main className="bg-white">
52+
<main className="pb-10">
5353
<Hero
5454
subtitle={productsHeroDesc(lang)}
5555
title={productsHeroHeading(lang)}
5656
/>
57-
<div className="xxl:max-w-7xl mx-auto -mt-10 flex w-full max-w-6xl flex-wrap items-center justify-center px-2 py-6 md:-mt-24 md:px-20 xl:px-0">
58-
<GridItemsContainer id="commercial-product">
59-
<GridItems
60-
items={[...getCommercialProduct(lang), ...getOpenSource(lang)]}
61-
columns={{ base: 1, sm: 2, lg: 3 }}
62-
cardClassName="rounded"
63-
lang={lang}
64-
/>
65-
</GridItemsContainer>
66-
</div>
57+
<section
58+
id="commercial-product"
59+
className="mx-auto max-w-5xl px-4 md:-mt-5 md:px-20 xl:px-0">
60+
<GridItems
61+
items={[...getCommercialProduct(lang), ...getOpenSource(lang)]}
62+
columns={{ base: 1, sm: 2, md: 2, lg: 3 }}
63+
cardClassName="rounded"
64+
lang={lang}
65+
/>
66+
</section>
6767
</main>
6868
);
6969
}

app/[lang]/(hyperjump)/services/[slug]/page.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ function About({ service }: ServiceProps) {
143143

144144
return (
145145
<section className="bg-[#F6F8F9] py-8 md:py-16">
146-
<div className="text-hyperjump-black mx-auto flex w-full max-w-4xl flex-wrap items-center px-4 py-10 md:px-16 md:py-20 xl:px-0">
146+
<div className="text-hyperjump-black mx-auto flex w-full max-w-4xl flex-wrap items-center px-4 py-10 md:px-20 md:py-20 xl:px-0">
147147
<h2 className="mb-5 text-[34px] font-medium md:text-4xl">{title}</h2>
148148
<p
149149
className="text-xl leading-relaxed"
@@ -165,7 +165,7 @@ function WhoIsIt({ lang, service }: LangProps & ServiceProps) {
165165

166166
return (
167167
<section className="flex bg-white px-4 py-8 md:px-20 md:py-16">
168-
<div className="xxl:max-w-7xl mx-auto flex w-full max-w-6xl flex-col items-center gap-6 md:flex-row">
168+
<div className="mx-auto flex w-full max-w-5xl flex-col items-start gap-6 md:flex-row">
169169
<div className="relative w-full xl:w-1/2">
170170
<Image
171171
src="/images/services/background.webp"
@@ -218,12 +218,12 @@ function WhatWeDeliver({ lang, service }: LangProps & ServiceProps) {
218218

219219
return (
220220
<section className="bg-white py-8 md:py-16">
221-
<div className="text-hyperjump-black xxl:max-w-7xl mx-auto flex w-full max-w-6xl flex-col items-center justify-center px-4 text-center md:px-20 xl:px-0">
221+
<div className="text-hyperjump-black mx-auto flex w-full max-w-5xl flex-col items-center justify-center px-4 text-center md:px-20 xl:px-0">
222222
<h3 className="mb-5 text-[34px] font-medium md:text-4xl">
223223
{servicesWhatWeDeliver(lang)}
224224
</h3>
225225
<p className="text-hyperjump-gray mt-2 max-w-lg">{description}</p>
226-
<div className="mt-6 grid w-full grid-cols-1 gap-6 md:mt-12 md:grid-cols-3 xl:grid-cols-3">
226+
<div className="mt-6 grid w-full grid-cols-1 gap-6 md:mt-12 xl:grid-cols-3">
227227
{items.map(({ description, iconUrl, items, title }) => (
228228
<div
229229
key={title}
@@ -259,7 +259,7 @@ function HowItWorks({ lang, service }: LangProps & ServiceProps) {
259259

260260
return (
261261
<section className="bg-[#F6F8F9 py-8 md:py-16">
262-
<div className="text-hyperjump-black xxl:max-w-7xl mx-auto flex w-full max-w-6xl flex-col items-center px-4 text-center">
262+
<div className="text-hyperjump-black mx-auto flex w-full max-w-5xl flex-col items-center px-4 text-center md:px-20 xl:px-0">
263263
<h2 className="mb-5 text-[34px] font-medium md:text-4xl">
264264
{servicesHowItWorks(lang)}
265265
</h2>
@@ -305,7 +305,7 @@ function WhatYouGet({ lang, service }: LangProps & ServiceProps) {
305305

306306
return (
307307
<section className="flex bg-white px-4 py-8 md:px-20 md:py-16">
308-
<div className="xxl:max-w-7xl mx-auto flex w-full max-w-6xl flex-col items-center gap-6 md:flex-row-reverse">
308+
<div className="mx-auto flex w-full max-w-5xl flex-col items-start gap-6 md:flex-row-reverse">
309309
<div className="relative w-full xl:w-1/2">
310310
<Image
311311
src={imageUrl}
@@ -347,7 +347,7 @@ function WhyUs({ lang, service }: LangProps & ServiceProps) {
347347
} = service;
348348
return (
349349
<section className="flex bg-white px-4 py-8 md:px-20 md:py-16">
350-
<div className="xxl:max-w-7xl mx-auto flex w-full max-w-6xl flex-col items-center gap-6 md:flex-row">
350+
<div className="mx-auto flex w-full max-w-5xl flex-col items-start gap-6 md:flex-row">
351351
<div className="relative w-full xl:w-1/2">
352352
<Image
353353
src={backgroundImageUrl}
@@ -411,9 +411,9 @@ function Recommendation({ caseStudies, lang }: RecommendationProps) {
411411
if (caseStudies.length === 0) return null;
412412

413413
return (
414-
<section className="flex bg-white px-4 py-8 md:px-20 md:py-16">
415-
<div className="mx-auto flex w-full flex-col items-center md:max-w-4xl">
416-
<h2 className="text-hyperjump-black mb-5 max-w-3/4 text-center text-[34px] font-medium md:text-[40px]">
414+
<section className="flex bg-white py-8">
415+
<div className="mx-auto flex w-full max-w-5xl flex-col items-center px-4 md:px-20 xl:px-0">
416+
<h2 className="text-hyperjump-black mb-5 max-w-3/4 text-center text-3xl font-medium md:text-4xl">
417417
{servicesCaseStudies(lang)}
418418
</h2>
419419
<div className="grid gap-6 md:grid-cols-2">

app/[lang]/(hyperjump)/services/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default async function Services({ params }: ServicesProps) {
6363
subtitle={servicesHeroDesc(lang)}
6464
title={servicesHeroHeading(lang)}
6565
/>
66-
<div className="xxl:max-w-7xl mx-auto flex w-full max-w-6xl flex-wrap items-center justify-center px-4 pb-15 text-center md:px-20 xl:px-0">
66+
<div className="mx-auto flex w-full max-w-5xl flex-wrap items-center justify-center px-4 pb-15 text-center md:px-20 xl:px-0">
6767
<section className="space-y-16">
6868
{services(lang).map(({ slug }, index) => (
6969
<Service

locales/en/ai.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
}
3030
},
3131
"card_1": {
32-
"title": "Training, fine-Tuning & prompt Engineering",
32+
"title": "Training, fine-tuning & prompt engineering",
3333
"text": "We tailor the agent's behavior to your domain:",
3434
"items": {
3535
"0": "Fine-tune models or use adapters",
@@ -85,7 +85,7 @@
8585
"desc": "We deliver a working custom AI agent tailored to your domain that adapts to your workflow and grows with your business.",
8686
"items": {
8787
"0": "Integration & orchestration",
88-
"1": "Training, fine-Tuning & prompt Engineering",
88+
"1": "Training, fine-tuning & prompt engineering",
8989
"2": "Safety, monitoring & guardrails",
9090
"3": "Deployment & maintenance"
9191
}

locales/en/ctoaas.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"hero": {
33
"heading": "CTO-as-a-Service",
4-
"desc": "Build Like the Best. Without Hiring a CTO."
4+
"desc": "Build like the best. Without hiring a CTO."
55
},
66
"description": "Finding, hiring, managing, and retaining top software engineers is complex and time-consuming. Let us handle it all for you.",
77
"bestFor": ["Non-technical founders", "growth-stage startups"],

locales/en/saas.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"hero": {
33
"heading": "Software as a Service",
4-
"desc": "Own the Product Vision. Let us Build the Engine."
4+
"desc": "Own the product vision. Let us build the engine."
55
},
66
"description": "Deploy and scale software solutions tailored to your enterprise for optimal performance and growth.",
77
"bestFor": ["Startups & scale-ups"],

locales/en/tdd.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"hero": {
33
"heading": "Tech Due Diligence",
4-
"desc": "Identify Risks. Unlock Opportunities. Build with Confidence."
4+
"desc": "Identify risks. Unlock opportunities. Build with confidence."
55
},
66
"description": "Verify and assess your company's ability to execute its roadmap and evaluate its current state.",
77
"bestFor": ["Investors", "CTOs", "PE/VC firms"],
@@ -23,7 +23,7 @@
2323
"what_we_deliver": {
2424
"desc": "From deep-dive audits to scalable systems, we deliver clarity, speed, and results. Tailored to your growth stage.",
2525
"card_0": {
26-
"title": "Software Delivery Performance",
26+
"title": "Software delivery performance",
2727
"text": "We evaluate how efficiently your team ships software:",
2828
"items": {
2929
"0": "Deployment frequency",
@@ -33,7 +33,7 @@
3333
}
3434
},
3535
"card_1": {
36-
"title": "Application Architecture & Maintainability",
36+
"title": "Application architecture & maintainability",
3737
"text": "We analyze the current codebase and infrastructure:",
3838
"items": {
3939
"0": "Scalability & fault tolerance",
@@ -43,7 +43,7 @@
4343
}
4444
},
4545
"card_2": {
46-
"title": "IT Infrastructure Cost & Optimization",
46+
"title": "IT infrastructure cost & optimization",
4747
"text": "We help you answer: Are you overpaying for underused systems?",
4848
"items": {
4949
"0": "Cloud usage audit",
@@ -58,19 +58,19 @@
5858
"desc": "Discover how we turn ideas into impact. Our process is built to be simple, transparent, and focused on results. Every step of the way.",
5959
"step": {
6060
"0": {
61-
"title": "Discovery & Interviews",
61+
"title": "Discovery & interviews",
6262
"text": "We talk to engineering, product, and business teams to understand goals and context."
6363
},
6464
"1": {
65-
"title": "Hands-On Audit",
65+
"title": "Hands-On audit",
6666
"text": "We dive into your repositories, CI/CD pipelines, cloud infra, and documentation."
6767
},
6868
"2": {
69-
"title": "Report & Recommendations",
69+
"title": "Report & recommendations",
7070
"text": "You'll receive a comprehensive report detailing strengths, risks, and actionable next steps. With severity levels and roadmap suggestions."
7171
},
7272
"3": {
73-
"title": "Post-Audit Implementation Support (Optional)",
73+
"title": "Post-Audit implementation support (optional)",
7474
"text": "Need help fixing what we found? Our engineering teams can jump in and help you close the gaps."
7575
}
7676
}
@@ -80,9 +80,9 @@
8080
"desc": "Everything you need to evaluate, improve, and scale. Delivered in a format that speaks to both business and technical decision-makers.",
8181
"items": {
8282
"0": "Executive summary for C-Level & investors",
83-
"1": "Technical Audit Report (code quality, architecture, infra)",
84-
"2": "KPI Benchmarking & Recommendations",
85-
"3": "Action Plan (Quick Wins + Long-Term Strategy)"
83+
"1": "Technical audit report (code quality, architecture, infra)",
84+
"2": "KPI benchmarking & recommendations",
85+
"3": "Action plan (quick wins + long-term strategy)"
8686
}
8787
},
8888

locales/id/ai.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
}
3030
},
3131
"card_1": {
32-
"title": "Pelatihan, fine-Tuning & rekayasa prompt",
32+
"title": "Pelatihan, fine-tuning & rekayasa prompt",
3333
"text": "Kami menyesuaikan perilaku agen sesuai domain Anda:",
3434
"items": {
3535
"0": "Fine-tune model atau gunakan adaptor",
@@ -85,7 +85,7 @@
8585
"desc": "Kami menghadirkan agen AI kustom yang berfungsi dan disesuaikan dengan domain Anda, sistem yang beradaptasi dengan alur kerja serta berkembang bersama bisnis Anda.",
8686
"items": {
8787
"0": "Integrasi & orkestrasi",
88-
"1": "Pelatihan, fine-Tuning & rekayasa prompt",
88+
"1": "Pelatihan, fine-tuning & rekayasa prompt",
8989
"2": "Keamanan, pemantauan & guardrail",
9090
"3": "Penerapan & pemeliharaan"
9191
}

0 commit comments

Comments
 (0)