Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update: remove site domain tips. #1651

Merged
merged 1 commit into from
Feb 10, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading