Skip to content

Commit

Permalink
Merge pull request #1651 from appwrite/remove-domain-tips
Browse files Browse the repository at this point in the history
update: remove site domain tips.
  • Loading branch information
ItzNotABug authored Feb 10, 2025
2 parents 008aad1 + b3e3cf0 commit 6c67d6a
Showing 1 changed file with 1 addition and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import { ResourceType, type Models } from '@appwrite.io/console';
import {
Alert,
Accordion,
Badge,
Divider,
Fieldset,
Expand Down Expand Up @@ -68,27 +67,9 @@
});
}
}
type DomainTips = {
title: string;
message: string;
};
const siteDomainTips: DomainTips[] = [
{
title: 'Why a Top-Level Domain (TLD) matters for your site?',
message:
'A custom TLD helps create a unique web address, improves brand recognition, and makes your domain more memorable.'
},
{
title: 'What is DNS and why do you need it?',
message:
"DNS (Domain Name System) translates your domain name into an IP address, directing visitors to your website. It's essential for making your site accessible and ensuring it loads properly for users."
}
];
</script>

<Wizard title="Add domain" href={backPage}>
<Wizard title="Add domain" href={backPage} hideAside>
{#if domainData}
{#if domainData.status === 'created'}
<RecordsCard domain={domainData}>
Expand Down Expand Up @@ -143,18 +124,6 @@
</Fieldset>
{/if}

<svelte:fragment slot="aside">
<Card>
<Layout.Stack direction="column">
{#each siteDomainTips as tips, i}
<Accordion title={tips.title} hideDivider={i === siteDomainTips.length - 1}>
{tips.message}
</Accordion>
{/each}
</Layout.Stack>
</Card>
</svelte:fragment>

<svelte:fragment slot="footer">
<Button secondary href={backPage}>Cancel</Button>
{#if domainData}
Expand Down

0 comments on commit 6c67d6a

Please sign in to comment.