Footer Fix
This commit is contained in:
@@ -68,9 +68,9 @@ const FooterCom = () => {
|
|||||||
display="flex"
|
display="flex"
|
||||||
flexDirection="row"
|
flexDirection="row"
|
||||||
flexWrap="wrap"
|
flexWrap="wrap"
|
||||||
justifyContent="space-between"
|
justifyContent="center"
|
||||||
w="100%"
|
w="100%"
|
||||||
// alignItems="center"
|
alignItems="center"
|
||||||
>
|
>
|
||||||
<Box w="80%" display="grid" gridTemplateColumns="repeat(2, 1fr)" gap={"4rem"}>
|
<Box w="80%" display="grid" gridTemplateColumns="repeat(2, 1fr)" gap={"4rem"}>
|
||||||
{footerData.map((val) => (
|
{footerData.map((val) => (
|
||||||
@@ -101,13 +101,13 @@ const FooterCom = () => {
|
|||||||
</Box>
|
</Box>
|
||||||
))}
|
))}
|
||||||
|
|
||||||
<Box display="flex" flexDirection="column" gap={4}>
|
<Box display="flex" flexDirection="column" alignItems="flex-start" gap={6}>
|
||||||
<Image src={logo} w={"56px"} h="57px" />
|
<Image src={logo} w={"56px"} h="57px" />
|
||||||
<Text
|
<Text
|
||||||
_hover={{ color: "#E5195E", cursor: "pointer" }}
|
_hover={{ color: "#E5195E", cursor: "pointer" }}
|
||||||
color="#E6E6E6"
|
color="#E6E6E6"
|
||||||
fontWeight={300}
|
fontWeight={300}
|
||||||
fontSize="14px"
|
fontSize="small"
|
||||||
>
|
>
|
||||||
©Copyright 2023 WDIPL – Software company. All rights reserved
|
©Copyright 2023 WDIPL – Software company. All rights reserved
|
||||||
</Text>
|
</Text>
|
||||||
@@ -135,8 +135,9 @@ const FooterCom = () => {
|
|||||||
<Box
|
<Box
|
||||||
display="flex"
|
display="flex"
|
||||||
flexDirection="column"
|
flexDirection="column"
|
||||||
alignItems="flex-start"
|
alignItems="center"
|
||||||
gap={6}
|
gap={6}
|
||||||
|
mt={"3rem"}
|
||||||
>
|
>
|
||||||
<Box display="flex" flexDirection="column" alignItems="center" gap={3}>
|
<Box display="flex" flexDirection="column" alignItems="center" gap={3}>
|
||||||
<Text color="#FFFFFF" fontWeight="400" fontSize="18px">
|
<Text color="#FFFFFF" fontWeight="400" fontSize="18px">
|
||||||
@@ -151,6 +152,7 @@ const FooterCom = () => {
|
|||||||
alignItems="center"
|
alignItems="center"
|
||||||
height="38px"
|
height="38px"
|
||||||
gap={5}
|
gap={5}
|
||||||
|
w="100%"
|
||||||
_hover={{ bgColor: "#C01550" }}
|
_hover={{ bgColor: "#C01550" }}
|
||||||
>
|
>
|
||||||
<Image width="28px" height="28px" src={pdf} alt="PDF icon" />
|
<Image width="28px" height="28px" src={pdf} alt="PDF icon" />
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
import { Container, Flex, Image, Box, Text } from "@chakra-ui/react";
|
import { Container, Flex, Image, Box, Text } from "@chakra-ui/react";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import LineBar from "../../../assets/imgpsh_fullsize_anim.png";
|
import LineBar from "../../../assets/imgpsh_fullsize_anim.png";
|
||||||
|
|
||||||
const data = [
|
const data = [
|
||||||
{ id: 1, phase: "Strategy and Planning", date: "June 2023 - July 2023" },
|
{ id: 1, phase: "Strategy and Planning", date: "June 2023 - July 2023" },
|
||||||
{ id: 2, phase: "App Development", date: "August 2023 - September 2023" },
|
{ id: 2, phase: "App Development", date: "August 2023 - September 2023" },
|
||||||
@@ -16,23 +17,24 @@ const data = [
|
|||||||
const Timeline = () => {
|
const Timeline = () => {
|
||||||
return (
|
return (
|
||||||
<Box
|
<Box
|
||||||
display={"flex"}
|
display="flex"
|
||||||
flexDirection="column"
|
flexDirection="row"
|
||||||
gap={4}
|
gap={1}
|
||||||
alignItems="center"
|
alignItems="flex-start"
|
||||||
w="100%"
|
w="100%"
|
||||||
color="white"
|
color="white"
|
||||||
>
|
>
|
||||||
|
{/* Upper Flex for the first 3 timeline items */}
|
||||||
<Flex
|
<Flex
|
||||||
w="100%"
|
w="100%"
|
||||||
position="relative"
|
position="relative"
|
||||||
justify={{ base: "center", md: "space-between" }}
|
justify="space-between"
|
||||||
flexDirection={{ base: "column", md: "row" }}
|
align="center"
|
||||||
align={{ base: "center", md: "flex-start" }}
|
flexDirection={{ base: "column", md: "row" }} // Stack on mobile
|
||||||
gap={{ base: 2, md: 0 }}
|
gap={{ base: 4, md: 0 }} // Add gap on mobile
|
||||||
>
|
>
|
||||||
{data.slice(0, 3).map((item) => (
|
{data.slice(0, 3).map((item) => (
|
||||||
<Box key={item.id} textAlign="center" w={{ base: "90%", md: "auto" }}>
|
<Box key={item.id} textAlign="center">
|
||||||
<Box
|
<Box
|
||||||
px={5}
|
px={5}
|
||||||
py={3}
|
py={3}
|
||||||
@@ -45,7 +47,7 @@ const Timeline = () => {
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Text fontSize={{ base: "md", md: "lg" }}>{item.phase}</Text>
|
<Text fontSize={{ base: "md", md: "lg" }}>{item.phase}</Text>
|
||||||
<Text fontSize={{ base: "sm", md: "17.83px" }} mt={2}>
|
<Text fontSize="17.83px" mt={2}>
|
||||||
{item.date}
|
{item.date}
|
||||||
</Text>
|
</Text>
|
||||||
</Box>
|
</Box>
|
||||||
@@ -60,33 +62,44 @@ const Timeline = () => {
|
|||||||
flexDirection="column"
|
flexDirection="column"
|
||||||
alignItems="center"
|
alignItems="center"
|
||||||
>
|
>
|
||||||
<Image src={LineBar} h="80px" w="100%" />
|
<Image
|
||||||
|
src={LineBar}
|
||||||
|
h="100%"
|
||||||
|
w="100%"
|
||||||
|
transform={{ base: "rotate(90deg)", md: "rotate(0deg)" }} // Rotate on mobile
|
||||||
|
/>
|
||||||
<Box
|
<Box
|
||||||
px={{ base: "1rem", md: "5rem" }}
|
px="5rem"
|
||||||
position="absolute"
|
position="absolute"
|
||||||
top={{ base: "2rem", md: "3rem" }}
|
top="0rem"
|
||||||
display={"flex"}
|
display="flex"
|
||||||
justifyContent="space-between"
|
justifyContent="space-between"
|
||||||
w="100%"
|
w="100%"
|
||||||
|
gap={8}
|
||||||
|
flexDirection="column"
|
||||||
>
|
>
|
||||||
{Array(5)
|
{Array(5)
|
||||||
.fill(null)
|
.fill("")
|
||||||
.map((_, index) => (
|
.map((_, idx) => (
|
||||||
<Box
|
<Box
|
||||||
key={index}
|
key={idx}
|
||||||
as="button"
|
as="button"
|
||||||
borderRadius="50%"
|
borderRadius="50%"
|
||||||
w="6px"
|
w="8.34px"
|
||||||
h="6px"
|
h="8.34px"
|
||||||
bgColor="#E5195E"
|
bgColor="#E5195E"
|
||||||
|
marginBottom={{ base: "1rem", md: 0 }} // Add margin on mobile
|
||||||
>
|
>
|
||||||
<Box
|
<Box
|
||||||
|
top="-2.8px"
|
||||||
|
right="7px"
|
||||||
as="button"
|
as="button"
|
||||||
borderRadius="50%"
|
borderRadius="50%"
|
||||||
w="18px"
|
w="22.94px"
|
||||||
h="18px"
|
h="22.94px"
|
||||||
position="relative"
|
px="0"
|
||||||
marginTop="-1rem"
|
marginTop="-1rem"
|
||||||
|
position="relative"
|
||||||
bgColor="#E5195E42"
|
bgColor="#E5195E42"
|
||||||
/>
|
/>
|
||||||
</Box>
|
</Box>
|
||||||
@@ -94,17 +107,17 @@ const Timeline = () => {
|
|||||||
</Box>
|
</Box>
|
||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
{/* Bottom Timeline Phases */}
|
{/* Lower Flex for the remaining 2 timeline items */}
|
||||||
<Flex
|
<Flex
|
||||||
w="100%"
|
w="60%"
|
||||||
position="relative"
|
position="relative"
|
||||||
justify={{ base: "center", md: "space-between" }}
|
justify="space-between"
|
||||||
flexDirection={{ base: "column", md: "row" }}
|
align="center"
|
||||||
align={{ base: "center", md: "flex-start" }}
|
flexDirection={{ base: "column", md: "row" }} // Stack on mobile
|
||||||
gap={{ base: 2, md: 0 }}
|
gap={{ base: 4, md: 0 }} // Add gap on mobile
|
||||||
>
|
>
|
||||||
{data.slice(3, 5).map((item) => (
|
{data.slice(3, 5).map((item) => (
|
||||||
<Box key={item.id} textAlign="center" w={{ base: "90%", md: "auto" }}>
|
<Box key={item.id} textAlign="center">
|
||||||
<Box
|
<Box
|
||||||
px={5}
|
px={5}
|
||||||
py={3}
|
py={3}
|
||||||
@@ -117,7 +130,7 @@ const Timeline = () => {
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Text fontSize={{ base: "md", md: "lg" }}>{item.phase}</Text>
|
<Text fontSize={{ base: "md", md: "lg" }}>{item.phase}</Text>
|
||||||
<Text fontSize={{ base: "sm", md: "md" }} mt={2}>
|
<Text fontSize="md" mt={2}>
|
||||||
{item.date}
|
{item.date}
|
||||||
</Text>
|
</Text>
|
||||||
</Box>
|
</Box>
|
||||||
|
|||||||
Reference in New Issue
Block a user