get-started-logic
parent
5c50e77a1c
commit
63c973f1ca
|
@ -192,6 +192,7 @@ export const DomainSetupForm = ({ defaultSubdomain }) => {
|
||||||
// Simulate an API call to validate the domain
|
// Simulate an API call to validate the domain
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
// Simulate a real domain check - in a real app this would be an API call
|
// Simulate a real domain check - in a real app this would be an API call
|
||||||
|
// call /host-api/v1/domains/validate/?domain=domain.com
|
||||||
const checkResult = true; // Assume domain is valid for demo
|
const checkResult = true; // Assume domain is valid for demo
|
||||||
|
|
||||||
setIsValidating(false);
|
setIsValidating(false);
|
||||||
|
@ -205,7 +206,7 @@ export const DomainSetupForm = ({ defaultSubdomain }) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
validateForm();
|
validateForm();
|
||||||
}, 1500);
|
}, 500);
|
||||||
};
|
};
|
||||||
|
|
||||||
// Check DNS configuration
|
// Check DNS configuration
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { DomainSetupForm } from '../components/DomainSetupForm';
|
||||||
// Page-specific SEO metadata
|
// Page-specific SEO metadata
|
||||||
const pageTitle = "Get Started | SiliconPin";
|
const pageTitle = "Get Started | SiliconPin";
|
||||||
const pageDescription = "Start your project with SiliconPin's hosting services. Deploy a web app, from source code, or upload a static site.";
|
const pageDescription = "Start your project with SiliconPin's hosting services. Deploy a web app, from source code, or upload a static site.";
|
||||||
const pageImage = "https://images.unsplash.com/photo-1551731409-43eb3e517a1a?q=80&w=2000&auto=format&fit=crop";
|
const pageImage = "https://siliconpin.com/assets/images/get-started-og-image.png";
|
||||||
|
|
||||||
// Generate a random subdomain for server side rendering
|
// Generate a random subdomain for server side rendering
|
||||||
const randomString = () => {
|
const randomString = () => {
|
||||||
|
|
Loading…
Reference in New Issue