Skip to content

Commit a680b9b

Browse files
committed
Prettify
1 parent 1eb4e26 commit a680b9b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+572
-476
lines changed

.vscode/settings.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
{
2-
"cSpell.words": [
3-
"eachelement"
4-
]
5-
}
2+
"cSpell.words": ["eachelement"]
3+
}

next.config.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ const nextConfig: NextConfig = {
55
images: {
66
remotePatterns: [
77
{
8-
protocol: 'https',
9-
hostname: 'i0.wp.com',
10-
pathname: '**',
8+
protocol: "https",
9+
hostname: "i0.wp.com",
10+
pathname: "**",
1111
},
1212
{
13-
protocol: 'https',
14-
hostname: 'procedure.tech',
15-
pathname: '**',
13+
protocol: "https",
14+
hostname: "procedure.tech",
15+
pathname: "**",
1616
},
1717
],
1818
},

src/app/[slug]/components/Author.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
import { AuthorDataType } from '@/data/types'
2-
import Image from 'next/image'
3-
import Link from 'next/link'
4-
import React from 'react'
1+
import { AuthorDataType } from "@/data/types";
2+
import Image from "next/image";
3+
import Link from "next/link";
4+
import React from "react";
55

66
type AuthorProps = {
7-
authorData: AuthorDataType
8-
}
7+
authorData: AuthorDataType;
8+
};
99

10-
const Author = ({authorData}: AuthorProps) => {
10+
const Author = ({ authorData }: AuthorProps) => {
1111
return (
1212
<div className="container-padding">
1313
<Link className="relative left-0 flex items-center" href="#">
@@ -24,7 +24,7 @@ const Author = ({authorData}: AuthorProps) => {
2424
</div>
2525
</Link>
2626
</div>
27-
)
28-
}
27+
);
28+
};
2929

30-
export default Author
30+
export default Author;
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import React from 'react'
1+
import React from "react";
22

33
type LeftSectionProps = {
4-
subHeadings: string[]
5-
content: string
6-
}
4+
subHeadings: string[];
5+
content: string;
6+
};
77

8-
const LeftSection = ({subHeadings, content}: LeftSectionProps) => {
8+
const LeftSection = ({ subHeadings, content }: LeftSectionProps) => {
99
return (
1010
<div className="w-full mr-0 mb-12 lg:mb-0 lg:w-[65%] lg:mr-[5%] blog--description">
1111
{subHeadings.map((data, index) => (
@@ -15,7 +15,7 @@ const LeftSection = ({subHeadings, content}: LeftSectionProps) => {
1515
))}
1616
<div dangerouslySetInnerHTML={{ __html: content }}></div>
1717
</div>
18-
)
19-
}
18+
);
19+
};
2020

21-
export default LeftSection
21+
export default LeftSection;

src/app/[slug]/components/RightSection.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ import Link from "next/link";
33
import React from "react";
44

55
type RightSectionProps = {
6-
latestPosts: PostType[]
7-
tags: TagsType[]
8-
}
6+
latestPosts: PostType[];
7+
tags: TagsType[];
8+
};
99

10-
const RightSection = ({latestPosts, tags}: RightSectionProps) => {
10+
const RightSection = ({ latestPosts, tags }: RightSectionProps) => {
1111
return (
1212
<div className="lg:w-[30%] mr-0 pt-5 border-t-0 lg:border-t lg:border-t-black/20">
1313
<h4 className="text-4xl mb-10 mt-5 text-[#505050] font-semibold">

src/app/[slug]/page.tsx

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export default async function Page({
3434
>
3535
<h1
3636
className={twMerge(
37-
"text-5xl lg:text-6xl xl:text-7xl pt-4 dot mb-1.5 tracking-tighter"
37+
"text-5xl lg:text-6xl xl:text-7xl pt-4 dot mb-1.5 tracking-tighter",
3838
)}
3939
>
4040
{pageData.heroSection.heading}
@@ -69,14 +69,12 @@ export default async function Page({
6969
<section className="">
7070
<div className="container-padding">
7171
<div className="mt-[7vw] flex flex-wrap pb-7 lg:border-b lg:border-b-black/20">
72-
<LeftSection
72+
<LeftSection
7373
subHeadings={pageData.subHeadings}
7474
content={pageData.content}
7575
/>
7676
<div className="block lg:hidden ml-[calc(-7vw)] pt-5 pb-16 -mt-10 mx-auto cursor-default pointer-events-none">
77-
<Author
78-
authorData={pageData.author}
79-
/>
77+
<Author authorData={pageData.author} />
8078
</div>
8179
<RightSection
8280
latestPosts={pageData.latestPosts}
@@ -87,9 +85,7 @@ export default async function Page({
8785
</section>
8886
<div className="hidden my-0 mx-auto py-16 px-0 cursor-default pointer-events-none lg:block">
8987
<div className="container-padding">
90-
<Author
91-
authorData={pageData.author}
92-
/>
88+
<Author authorData={pageData.author} />
9389
</div>
9490
</div>
9591
</>

src/app/about/[slug]/page.tsx

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export async function generateStaticParams() {
1414

1515
export default async function Page({
1616
params,
17-
}:{
17+
}: {
1818
params: Promise<{ slug: string }>;
1919
}) {
2020
const slug = (await params).slug;
@@ -29,7 +29,7 @@ export default async function Page({
2929
<h1
3030
className={twMerge(
3131
"text-5xl lg:text-6xl xl:text-7xl pt-4 mb-1.5 tracking-tighter dot",
32-
pageData.heroSection.style.nameColor
32+
pageData.heroSection.style.nameColor,
3333
)}
3434
>
3535
{pageData.heroSection.name}
@@ -41,7 +41,12 @@ export default async function Page({
4141
</div>
4242
</div>
4343
<div className="mt-28 -mb-12 lg:mb-0 lg:mt-12 lg:pl-[7vw]">
44-
<div className={twMerge("flex flex-wrap rounded-none pt-12 lg:pt-0 lg:flex-nowrap justify-evenly items-center lg:rounded-l-full bg-blue",pageData.profileSection.backgroundColor)}>
44+
<div
45+
className={twMerge(
46+
"flex flex-wrap rounded-none pt-12 lg:pt-0 lg:flex-nowrap justify-evenly items-center lg:rounded-l-full bg-blue",
47+
pageData.profileSection.backgroundColor,
48+
)}
49+
>
4550
<div className="max-w-xl px-[7vw] lg:px-0 lg:ml-[4%]">
4651
<h3 className="text-2xl lg:text-4xl font-light mb-1.5">
4752
{pageData.profileSection.heading}

src/app/about/components/TeamCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const TeamCard = ({ member }: TeamCardProps) => {
1515
href={member.href}
1616
className={twMerge(
1717
"odd:px-[7vw] even:px-[7vw] lg:odd:pl-[7vw] lg:odd:pr-[calc(7vw_/_2)] lg:even:pr-[7vw] lg:even:pl-[calc(7vw_/_2_+_1rem)] h-auto flex-wrap lg:flex-nowrap lg:h-[18.75rem] w-full lg:w-6/12 flex justify-between animation-easein-slow",
18-
member.color
18+
member.color,
1919
)}
2020
>
2121
<div className="pt-14">

src/app/about/components/TeamsData.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@ const TeamsData = () => {
77
return (
88
<section className="flex flex-wrap">
99
{aboutPageMembersData.map((member) => (
10-
<TeamCard
11-
key={member.name}
12-
member={member}
13-
/>
10+
<TeamCard key={member.name} member={member} />
1411
))}
1512
<div className="flex odd:px-[7vw] even:px-[7vw] lg:odd:pl-[7vw] lg:odd:pr-[calc(7vw_/_2)] lg:even:pr-[7vw] lg:even:pl-[calc(7vw_/_2_+_1rem)] h-auto flex-wrap lg:flex-nowrap lg:h-[18.75rem] w-full lg:w-6/12 animation-easein-slow flex-col justify-center items-start bg-black/60 text-white py-14 lg:py-0">
1613
<h4 className="text-3xl font-normal mb-1.5">

src/app/about/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const About = () => {
3636
</PageNavbar>
3737
</div>
3838
</div>
39-
<PageBackgroundImage
39+
<PageBackgroundImage
4040
desktopImage="/assets/about-banner.jpg"
4141
mobileImage="/assets/mob-about-banner.jpg"
4242
alt="About Banner"

src/app/capabilities/[slug]/page.tsx

Lines changed: 34 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ import Pointers from "../../../components/Pointers";
55
import { capabilitiesPagesData } from "@/data";
66
import RoundedLeftImage from "@/components/RoundedLeftImage";
77

8+
import { Metadata } from "next";
9+
10+
export const metadata: Metadata = {
11+
title: "Capabilities | Procedure",
12+
description: "",
13+
};
14+
815
export const dynamicParams = false;
916

1017
export async function generateStaticParams() {
@@ -27,7 +34,12 @@ export default async function Page({
2734
<div className="container-padding">
2835
<div className="relative">
2936
<PageNavbar className="static mt-14 lg:w-full">
30-
<h1 className={twMerge("text-5xl lg:text-6xl xl:text-7xl pt-4 dot dot-brown mb-1.5 tracking-tighter",pageData.heroSection.color)}>
37+
<h1
38+
className={twMerge(
39+
"text-5xl lg:text-6xl xl:text-7xl pt-4 dot dot-brown mb-1.5 tracking-tighter",
40+
pageData.heroSection.color,
41+
)}
42+
>
3143
{pageData.heroSection.heading}
3244
</h1>
3345
<h4 className="hidden lg:block max-w-[50rem] pt-5 text-xl leading-7 font-light lg:font-normal mb-1.5">
@@ -36,10 +48,10 @@ export default async function Page({
3648
</PageNavbar>
3749
</div>
3850
</div>
39-
<RoundedLeftImage
51+
<RoundedLeftImage
4052
desktop={pageData.heroSection.images.desktop}
4153
mobile={pageData.heroSection.images.mobile}
42-
alt='Digital ventures image'
54+
alt="Digital ventures image"
4355
/>
4456
<h4 className="block max-w-[50rem] -mb-16 font-light text-xl container-padding lg:hidden">
4557
{pageData.heroSection.description}
@@ -48,10 +60,26 @@ export default async function Page({
4860
<Pointers pointers={pageData.pointers} />
4961
<div>
5062
<div className="container-padding mb-7">
51-
<h3 className={twMerge("dot",pageData.consultSection.styles.headingColor)}>{pageData.consultSection.heading}</h3>
52-
<h3 className={twMerge("dot",pageData.consultSection.styles.subHeadingColor)}>{pageData.consultSection.subHeading}</h3>
63+
<h3
64+
className={twMerge(
65+
"dot",
66+
pageData.consultSection.styles.headingColor,
67+
)}
68+
>
69+
{pageData.consultSection.heading}
70+
</h3>
71+
<h3
72+
className={twMerge(
73+
"dot",
74+
pageData.consultSection.styles.subHeadingColor,
75+
)}
76+
>
77+
{pageData.consultSection.subHeading}
78+
</h3>
5379
</div>
54-
<Consultation backgroundColor={pageData.consultSection.styles.backgroundColor} />
80+
<Consultation
81+
backgroundColor={pageData.consultSection.styles.backgroundColor}
82+
/>
5583
</div>
5684
</>
5785
);

src/app/capabilities/components/CapabilitiesTabs.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ const CapabilitiesTabs = () => {
88
const [selectedIndex, setSelectedIndex] = useState(0);
99
return (
1010
<div className="lg:pl-[7vw]">
11-
<div
11+
<div
1212
className="bg-cover bg-center p-16 lg:pl-0 lg:py-28 lg:pr-[7vw] lg:rounded-l-full"
1313
style={{
1414
backgroundImage: `url(${tabs[selectedIndex].bgImage})`,
1515
}}
16-
>
16+
>
1717
<TabsSection
1818
selectedIndex={selectedIndex}
1919
setSelectedIndex={setSelectedIndex}

src/app/capabilities/components/CapablitiesNavigation.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const CapabilitiesNavigation = () => {
1414
>
1515
<h2
1616
className={twMerge(
17-
`text-5xl text-gray-500 font-bold mb-9 dot capitalize after:bg-[#7EB9E6]`
17+
`text-5xl text-gray-500 font-bold mb-9 dot capitalize after:bg-[#7EB9E6]`,
1818
)}
1919
>
2020
{data.title}

src/app/capabilities/page.tsx

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ import PageBackgroundImage from "@/components/PageBackgroundImage";
44
import Consultation from "../../components/Consultation";
55
import CapabilitiesNavigation from "./components/CapablitiesNavigation";
66

7+
import { Metadata } from "next";
8+
9+
export const metadata: Metadata = {
10+
title: "Capabilities | Procedure",
11+
description: "",
12+
};
13+
714
const Capabilities = () => {
815
return (
916
<>
@@ -26,7 +33,7 @@ const Capabilities = () => {
2633
</PageNavbar>
2734
</div>
2835
</div>
29-
<PageBackgroundImage
36+
<PageBackgroundImage
3037
desktopImage="/assets/capabilities-banner.jpg"
3138
mobileImage="/assets/mob-capabilities-banner.jpg"
3239
alt={"Capabilities Banner"}
@@ -48,9 +55,7 @@ const Capabilities = () => {
4855
<h3 className="dot dot-green">We think</h3>
4956
<h3 className="dot dot-ochre">Therefore we build</h3>
5057
</div>
51-
<Consultation
52-
backgroundColor="#1DA069"
53-
/>
58+
<Consultation backgroundColor="#1DA069" />
5459
</div>
5560
</>
5661
);

src/app/case_study/[slug]/components/ContentSection.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ import React from "react";
66
import { twMerge } from "tailwind-merge";
77

88
type ContentSectionProps = {
9-
pageData: CaseStudiesDataType
10-
}
9+
pageData: CaseStudiesDataType;
10+
};
1111

12-
const ContentSection = ({pageData}: ContentSectionProps) => {
12+
const ContentSection = ({ pageData }: ContentSectionProps) => {
1313
return (
1414
<div className="w-full mr-0 mb-12 border-b border-b-black/20 lg:border-0 lg:mb-0 lg:w-[65%] lg:mr-[5%]">
1515
<h4 className="text-4xl mb-2.5 mt-5 text-[#505050] font-semibold">

src/app/case_study/[slug]/components/DownloadForm.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,14 @@ const DownloadForm = () => {
1919
const handleSubmit = (e: React.FormEvent) => {
2020
e.preventDefault();
2121
};
22-
22+
2323
return (
2424
<div className="lg:w-[30%] mr-0">
2525
<h3 className="text-4xl mb-7 mt-5 max-w-60 font-semibold text-[#505050]">
2626
Download the full Case Study
2727
</h3>
2828
<div>
29-
<form
30-
onSubmit={handleSubmit}
31-
>
29+
<form onSubmit={handleSubmit}>
3230
{[
3331
{ name: "email", type: "email", placeholder: "Email" },
3432
{ name: "phone", type: "tel", placeholder: "Phone" },

0 commit comments

Comments
 (0)