|
1 | 1 | 'use client'; |
2 | 2 |
|
3 | 3 | import React, { memo } from 'react'; |
4 | | -import { Box, Container, Flex, Heading, Text, Image, VStack, Link } from '@chakra-ui/react'; |
5 | | -import NextLink from 'next/link'; |
6 | 4 | import Header from '../components/header'; |
7 | 5 |
|
8 | 6 | const basePath = process.env.NEXT_PUBLIC_BASE_PATH || ''; |
9 | 7 |
|
10 | 8 | const About: React.FC = () => { |
11 | 9 | return ( |
12 | | - <Box minHeight="100vh"> |
| 10 | + <div className="min-h-screen"> |
13 | 11 | <Header /> |
14 | | - <Box |
15 | | - bgGradient="linear(to-r, brand.magenta, brand.cobalt)" |
16 | | - position="relative" |
17 | | - overflow="hidden" |
18 | | - minHeight="calc(100vh - 80px)" |
19 | | - pt={{ base: "80px", md: "100px" }} |
| 12 | + <div |
| 13 | + className="relative overflow-hidden min-h-[calc(100vh-80px)] pt-20 md:pt-[100px]" |
| 14 | + style={{ |
| 15 | + background: 'linear-gradient(to right, #EB088A, #313CFF)' |
| 16 | + }} |
20 | 17 | > |
21 | | - <Container maxW="1200px" position="relative" zIndex={1}> |
22 | | - <VStack gap={8} alignItems="center" color="white" textAlign="center"> |
23 | | - <Heading as="h1" size="2xl" fontFamily="'Karbon', 'Open Sans', sans-serif" fontWeight="semibold">About the template</Heading> |
24 | | - <Text fontSize="xl" maxW="800px" fontFamily="'Open Sans', sans-serif"> |
25 | | - This template is a starting point for building a website with Next.js and Chakra UI, following the Vector Institute brand guidelines. |
26 | | - </Text> |
27 | | - <Flex gap={8} alignItems="center" flexWrap="wrap" justifyContent="center"> |
| 18 | + <div className="max-w-[1200px] mx-auto px-4 relative z-10 py-12"> |
| 19 | + <div className="flex flex-col gap-8 items-center text-white text-center"> |
| 20 | + <h1 className="text-4xl font-semibold font-['Karbon','Open_Sans',sans-serif]"> |
| 21 | + About the template |
| 22 | + </h1> |
| 23 | + <p className="text-xl max-w-[800px] font-['Open_Sans',sans-serif]"> |
| 24 | + This template is a starting point for building a website with Next.js and Tailwind CSS, following the Vector Institute brand guidelines. |
| 25 | + </p> |
| 26 | + <div className="flex gap-8 items-center flex-wrap justify-center"> |
28 | 27 | <a href="https://vectorinstitute.ai" target="_blank" rel="noopener noreferrer"> |
29 | | - <Image |
| 28 | + <img |
30 | 29 | src={`${basePath}/images/vector-logo.png`} |
31 | 30 | alt="Vector Institute" |
32 | | - width={150} |
33 | | - height={40} |
34 | | - objectFit="contain" |
| 31 | + className="w-[150px] h-10 object-contain" |
35 | 32 | /> |
36 | 33 | </a> |
37 | | - </Flex> |
38 | | - </VStack> |
39 | | - </Container> |
40 | | - <Box |
41 | | - position="absolute" |
42 | | - top={{ base: "60%", md: "40%" }} |
43 | | - right={{ base: "-20%", md: "-5%" }} |
44 | | - width={{ base: "120%", md: "70%" }} |
45 | | - height={{ base: "100%", md: "140%" }} |
46 | | - bg="white" |
47 | | - borderTopLeftRadius={{ base: "30%", md: "50%" }} |
48 | | - transform={{ base: "rotate(-5deg)", md: "rotate(-10deg)" }} |
49 | | - boxShadow="0 -4px 30px rgba(0, 0, 0, 0.1)" |
| 34 | + </div> |
| 35 | + </div> |
| 36 | + </div> |
| 37 | + <div |
| 38 | + className="absolute top-[60%] md:top-[40%] -right-[20%] md:-right-[5%] w-[120%] md:w-[70%] h-full md:h-[140%] bg-white rounded-tl-[30%] md:rounded-tl-[50%] rotate-[-5deg] md:rotate-[-10deg] shadow-[0_-4px_30px_rgba(0,0,0,0.1)]" |
50 | 39 | /> |
51 | | - </Box> |
52 | | - </Box> |
| 40 | + </div> |
| 41 | + </div> |
53 | 42 | ); |
54 | 43 | } |
55 | 44 |
|
|
0 commit comments