New folder structure for website (#4159)

New folder structure
This commit is contained in:
Félix Malfait
2024-02-23 17:42:13 +01:00
committed by GitHub
parent 06c4665a44
commit 5de1c2c31d
65 changed files with 128 additions and 537 deletions

View File

@ -0,0 +1,38 @@
'use client';
import styled from '@emotion/styled';
import { CardContainer } from '@/app/_components/contributors/CardContainer';
import { HeartIcon } from '@/app/_components/ui/icons/SvgIcons';
const StyledTitle = styled.div`
display: flex;
font-size: 24px;
font-weight: 500;
gap: 8px;
@media (max-width: 810px) {
font-size: 20px;
}
`;
const StyledHeartIcon = styled(HeartIcon)`
@media (max-width: 810px) {
width: 16px !important;
height: 16px !important;
}
`;
interface ThankYouProps {
authorId: string;
}
export const ThankYou = ({ authorId }: ThankYouProps) => {
return (
<CardContainer>
<StyledTitle>
Thank you @{authorId} <StyledHeartIcon color="#333333" size="18px" />
</StyledTitle>
</CardContainer>
);
};