Skip to content

Commit b7a3e99

Browse files
committed
Fix tiny rendered imperfections.
1 parent 9dbdbb5 commit b7a3e99

4 files changed

Lines changed: 22 additions & 18 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"author": "Obrymec - https://obrymec.vercel.app",
55
"name": "@cacybernetic/landing-page",
66
"license": "CC0-1.0",
7-
"version": "1.0.0",
7+
"version": "0.0.8",
88
"type": "module",
99
"private": true,
1010
"bugs": {

src/common/components/footer.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
* @author Obrymec - https://obrymec.vercel.app
55
* @supported DESKTOP, MOBILE
66
* @created 2025-07-30
7-
* @updated 2025-08-18
7+
* @updated 2025-08-22
88
* @file footer.tsx
9-
* @version 0.0.3
9+
* @version 0.0.4
1010
*/
1111

1212
// React dependencies.
@@ -211,7 +211,7 @@ export default function Footer () {
211211
</Flex>
212212
{/** Copyright */}
213213
<Flex
214-
padding = {{base: 2, sm: 3, md: 4}}
214+
paddingBlock = {{base: 2, sm: 3, md: 4}}
215215
borderTopColor = "neutral.6"
216216
justifyContent = "center"
217217
alignItems = "center"
@@ -220,7 +220,7 @@ export default function Footer () {
220220
>
221221
{/** Signature */}
222222
<Text
223-
fontSize = {{base: 12, sm: 13, md: 14}}
223+
fontSize = {{base: 11, sm: 12, md: 13, lg: 14}}
224224
transition = "all .2s"
225225
textAlign = "center"
226226
>

src/common/i18n/english.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@
5252
"personalDataDetails": "Our site does not use cookies.<br/>No personal or identifiable data is used, let alone transmitted to anyone.",
5353
"requestLaunchError": "An error occurred while trying to contact the remote server. Check your internet connection and try again.",
5454
"africanSoldierDescription": "A stunning and empowering creation, blending cultural authenticity with modern military design.",
55-
"gmpMotorsDescription": "Société de vente et location d'automobile, d'assurance auto, pneumatique et pièces de rechange.",
5655
"technologicalExcellenceTitle": "Cutting-edge technology, essential driving force behind our commitment",
5756
"requestTimeoutDesc": "Unable to contact the remote server. Check your internet network then try again.",
5857
"sendMailError": "An unexpected and unknown error occurred while sending your email. Please try again.",
5958
"projectsBuildingStepsTitle": "Turn your visions into reality with a team passionate about innovation",
59+
"gmpMotorsDescription": "Car sales and rental company, car insurance, tires and spare parts.",
6060
"destroyedCarsBlenderVol1Title": "Realistic Destroyed Cars 3D Assets Pack For Blender Vol 1",
6161
"destroyedCarsGodotVol1Title": "Realistic Destroyed Cars 3D Assets Pack For Godot Vol 1",
6262
"solidExpertiseTitle": "Proven expertise, dedicated to the success of your projects",

src/features/home/build_steps.tsx

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
* @supported DESKTOP, MOBILE
66
* @file build_steps.tsx
77
* @created 2025-07-25
8-
* @updated 2025-08-12
9-
* @version 0.0.4
8+
* @updated 2025-08-22
9+
* @version 0.0.5
1010
*/
1111

1212
// Chakra dependencies.
@@ -19,17 +19,22 @@ import {useTranslation} from "react-i18next";
1919
import solidExpertiseImage from "/assets/images/solid_expertise.webp";
2020
import trustRelationImage from "/assets/images/trust_relation.webp";
2121
import shortResultsImage from "/assets/images/short_results.webp";
22-
import ProjectCard from "@/common/components/project_card.tsx";
2322
import listenNeedImage from "/assets/images/listen_need.webp";
2423
import {GLOBAL_LANG} from "@/common/i18n/localization.ts";
2524
import Section from "@/common/components/section.tsx";
25+
import ProjectCard, {
26+
ProjectCardProps
27+
} from "@/common/components/project_card.tsx";
2628

2729
// Displays company projects building steps.
2830
export default function ProjectsBuildingSteps () {
2931
// Attributes.
3032
const {t} = useTranslation<string, undefined>(GLOBAL_LANG);
33+
const commonProjectCardStyle: ProjectCardProps = {
34+
descriptionStyle: {textAlign: {base: "justify", lg: "left"}}
35+
};
3136
const commonDualBoxesStyle: FlexProps = {
32-
direction: {base: "column", sm: "column", md: "column", lg: "row"},
37+
direction: {base: "column", lg: "row"},
3338
gap: {base: 4, sm: 5, md: 6},
3439
transition: "all .2s",
3540
width: "100%"
@@ -38,35 +43,32 @@ export default function ProjectsBuildingSteps () {
3843
// Builds tsx code.
3944
return <Section
4045
description = {t("projectsBuildingStepsDescription")}
46+
titleStyle = {{width: {base: "auto", lg: "620px"}}}
4147
containerStyle = {{backgroundColor: "primary.50"}}
4248
title = {t("projectsBuildingStepsTitle")}
43-
titleStyle = {{
44-
width: {base: "auto", sm: "auto", md: "auto", lg: "620px"}
45-
}}
4649
descriptionStyle = {{
47-
width: {base: "auto", sm: "auto", md: "auto", lg: "620px"},
50+
width: {base: "auto", lg: "620px"},
4851
textAlign: "center",
4952
color: "neutral.8"
5053
}}
5154
children = {<Flex
55+
direction = {{base: "column", "2xl": "row"}}
5256
gap = {{base: 4, sm: 5, md: 6}}
5357
transition = "all .2s"
5458
marginTop = {4}
55-
direction = {{
56-
base: "column", sm: "column", md: "column",
57-
lg: "column", xl: "column", "2xl": "row"
58-
}}
5959
>
6060
{/** Dual boxes */}
6161
<Flex {...commonDualBoxesStyle}>
6262
{/** Solid expertise */}
6363
<ProjectCard
64+
{...commonProjectCardStyle}
6465
description = {t("solidExpertiseDescription")}
6566
title = {t("solidExpertiseTitle")}
6667
imageUrl = {solidExpertiseImage}
6768
/>
6869
{/** Listen your needs */}
6970
<ProjectCard
71+
{...commonProjectCardStyle}
7072
description = {t("listenNeedDescription")}
7173
title = {t("listenNeedTitle")}
7274
imageUrl = {listenNeedImage}
@@ -76,12 +78,14 @@ export default function ProjectsBuildingSteps () {
7678
<Flex {...commonDualBoxesStyle}>
7779
{/** Trust relation */}
7880
<ProjectCard
81+
{...commonProjectCardStyle}
7982
description = {t("trustRelationDescription")}
8083
title = {t("trustRelationTitle")}
8184
imageUrl = {trustRelationImage}
8285
/>
8386
{/** Short exploitable results */}
8487
<ProjectCard
88+
{...commonProjectCardStyle}
8589
description = {t("shortResultsDescription")}
8690
title = {t("shortResultsTitle")}
8791
imageUrl = {shortResultsImage}

0 commit comments

Comments
 (0)