Files
twenty/packages/twenty-website/src/app/_components/oss-friends/Header.tsx
Ady Beraud 0bc3b6f179 Modifications user guide (#5207)
- Modified layout and responsive
- Added remaining user guide cards
- Added new table of content:


https://github.com/twentyhq/twenty/assets/102751374/007118e5-60f2-4572-90cf-339c134f23c4

-Added fade-in:


https://github.com/twentyhq/twenty/assets/102751374/0669c06d-3eab-484c-a5b5-3857c68f42b5

---------

Co-authored-by: Ady Beraud <a.beraud96@gmail.com>
2024-05-01 08:55:57 +02:00

53 lines
1.1 KiB
TypeScript

'use client';
import styled from '@emotion/styled';
import { motion } from 'framer-motion';
import { Theme } from '@/app/_components/ui/theme/theme';
const Title = styled.h1`
font-size: 56px;
font-weight: 700;
color: #b3b3b3;
margin-bottom: 24px;
margin-top: 64px;
@media (max-width: 1200px) {
font-size: 32px;
}
`;
const Description = styled.h2`
font-size: 20px;
color: #818181;
margin-top: 0px;
margin-bottom: 36px;
font-weight: 400;
line-height: ${Theme.text.lineHeight.lg};
margin: 0 auto;
max-width: 600px;
@media (max-width: 810px) {
font-size: 18px;
}
`;
export const Header = () => {
return (
<>
<motion.div
initial={{ opacity: 0 }}
animate={{ opacity: 1 }}
transition={{ duration: 0.2 }}
>
<Title>
Open-source <br /> <span style={{ color: 'black' }}>friends</span>
</Title>
</motion.div>
<Description>
We are proud to collaborate with a diverse group of partners to promote
open-source software.
</Description>
</>
);
};