This commit is contained in:
Owen
2025-07-17 15:59:28 -07:00
parent 5148988dcc
commit 398e15b3c6

View File

@@ -214,13 +214,17 @@ export default function CreateDomainForm({
<InfoSections cols={1}>
<InfoSection>
<InfoSectionTitle>
{t("createDomainRecord")}
{t(
"createDomainRecord"
)}
</InfoSectionTitle>
<InfoSectionContent>
<div className="space-y-2">
<div className="flex justify-between items-center">
<span className="text-sm font-medium">
{t("createDomainType")}
{t(
"createDomainType"
)}
</span>
<span className="text-sm font-mono">
NS
@@ -228,14 +232,18 @@ export default function CreateDomainForm({
</div>
<div className="flex justify-between items-center">
<span className="text-sm font-medium">
{t("createDomainName")}
{t(
"createDomainName"
)}
</span>
<span className="text-sm font-mono">
{baseDomain}
</span>
</div>
<span className="text-sm font-medium">
{t("createDomainValue")}
{t(
"createDomainValue"
)}
</span>
{createdDomain.nsRecords.map(
(
@@ -271,7 +279,9 @@ export default function CreateDomainForm({
.length > 0 && (
<div>
<h3 className="font-medium mb-3">
{t("createDomainCnameRecords")}
{t(
"createDomainCnameRecords"
)}
</h3>
<InfoSections cols={1}>
{createdDomain.cnameRecords.map(
@@ -285,13 +295,22 @@ export default function CreateDomainForm({
}
>
<InfoSectionTitle>
{t("createDomainRecordNumber", { number: index + 1 })}
{t(
"createDomainRecordNumber",
{
number:
index +
1
}
)}
</InfoSectionTitle>
<InfoSectionContent>
<div className="space-y-2">
<div className="flex justify-between items-center">
<span className="text-sm font-medium">
{t("createDomainType")}
{t(
"createDomainType"
)}
</span>
<span className="text-sm font-mono">
CNAME
@@ -299,7 +318,9 @@ export default function CreateDomainForm({
</div>
<div className="flex justify-between items-center">
<span className="text-sm font-medium">
{t("createDomainName")}
{t(
"createDomainName"
)}
</span>
<span className="text-sm font-mono">
{
@@ -309,7 +330,9 @@ export default function CreateDomainForm({
</div>
<div className="flex justify-between items-center">
<span className="text-sm font-medium">
{t("createDomainValue")}
{t(
"createDomainValue"
)}
</span>
<CopyToClipboard
text={
@@ -331,7 +354,9 @@ export default function CreateDomainForm({
.length > 0 && (
<div>
<h3 className="font-medium mb-3">
{t("createDomainTxtRecords")}
{t(
"createDomainTxtRecords"
)}
</h3>
<InfoSections cols={1}>
{createdDomain.txtRecords.map(
@@ -345,13 +370,22 @@ export default function CreateDomainForm({
}
>
<InfoSectionTitle>
{t("createDomainRecordNumber", { number: index + 1 })}
{t(
"createDomainRecordNumber",
{
number:
index +
1
}
)}
</InfoSectionTitle>
<InfoSectionContent>
<div className="space-y-2">
<div className="flex justify-between items-center">
<span className="text-sm font-medium">
{t("createDomainType")}
{t(
"createDomainType"
)}
</span>
<span className="text-sm font-mono">
TXT
@@ -359,7 +393,9 @@ export default function CreateDomainForm({
</div>
<div className="flex justify-between items-center">
<span className="text-sm font-medium">
{t("createDomainName")}
{t(
"createDomainName"
)}
</span>
<span className="text-sm font-mono">
{
@@ -369,7 +405,9 @@ export default function CreateDomainForm({
</div>
<div className="flex justify-between items-center">
<span className="text-sm font-medium">
{t("createDomainValue")}
{t(
"createDomainValue"
)}
</span>
<CopyToClipboard
text={
@@ -397,7 +435,9 @@ export default function CreateDomainForm({
{t("createDomainSaveTheseRecords")}
</AlertTitle>
<AlertDescription>
{t("createDomainSaveTheseRecordsDescription")}
{t(
"createDomainSaveTheseRecordsDescription"
)}
</AlertDescription>
</Alert>
))}