-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #370 from kpi-ua/KB-282-Create-translations-for-So…
…cial-Networks-and-Support-cards KB-282-Create-translations-for-Social-Networks-and-Support-cards
- Loading branch information
Showing
4 changed files
with
34 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,25 +4,27 @@ import { Paragraph } from '@/components/typography/paragraph'; | |
import { Card, CardContent, CardHeader } from '@/components/ui/card'; | ||
import { TextButton } from '@/components/ui/text-button'; | ||
import { cn } from '@/lib/utils'; | ||
import { useTranslations } from 'next-intl'; | ||
|
||
interface SupportCardProps { | ||
className?: string; | ||
} | ||
|
||
export const SupportCard = ({ className }: SupportCardProps) => { | ||
const t = useTranslations('private.main.cards.support'); | ||
return ( | ||
<Card className={cn(className)}> | ||
<CardHeader className="pb-0"> | ||
<Heading3>Служба пiдтримки</Heading3> | ||
<Heading3>{t('title')}</Heading3> | ||
</CardHeader> | ||
<CardContent> | ||
<Paragraph>Ви завжди можете звернутися в службу підтримки:</Paragraph> | ||
<Paragraph>{t('description')}</Paragraph> | ||
<Paragraph className="mb-0 mt-8 flex flex-col items-start gap-4"> | ||
<TextButton size="huge" href="/contacts/complaints" icon={<ChatsTeardrop />}> | ||
Форма скарг i пропозицiй | ||
{t('button.feedback-form')} | ||
</TextButton> | ||
<TextButton size="huge" href="mailto:[email protected]" icon={<EnvelopeSimple />}> | ||
{t('button.email')} | ||
</TextButton> | ||
</Paragraph> | ||
</CardContent> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters