add service and sertificate prices ,
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import { SERTIFICATE_PRICE } from '@/shared/lib/metadata';
|
||||
import { useTranslations } from 'next-intl';
|
||||
import React, { useEffect } from 'react';
|
||||
|
||||
// ─── FieldWrapper ────────────────────────────────────────────────────────────
|
||||
@@ -219,6 +221,7 @@ export function CertificateCheckbox({
|
||||
title = 'Return result with certificate',
|
||||
description = 'An official certificate will be attached to your originality report.',
|
||||
}: CertificateCheckboxProps) {
|
||||
const t = useTranslations('PlagiarismCheck');
|
||||
return (
|
||||
<label
|
||||
className={`
|
||||
@@ -260,6 +263,9 @@ export function CertificateCheckbox({
|
||||
</div>
|
||||
<div>
|
||||
<p className="text-sm font-semibold text-stone-800">{title}</p>
|
||||
<p className="text-sm text-stone-500">
|
||||
{t('sertificate_price', { SERTIFICATE_PRICE })}
|
||||
</p>
|
||||
<p className="text-xs text-stone-500 mt-0.5">{description}</p>
|
||||
</div>
|
||||
</label>
|
||||
|
||||
Reference in New Issue
Block a user