diff --git a/src/pages/self-hosted-setup.astro b/src/pages/self-hosted-setup.astro new file mode 100644 index 0000000..343f0d4 --- /dev/null +++ b/src/pages/self-hosted-setup.astro @@ -0,0 +1,277 @@ +--- +import BaseLayout from '@layouts/Base.astro'; +import NavBar from '@components/scafold/Nav.astro'; +import Footer from '@components/scafold/Footer.astro'; +import Icon from '@components/molecules/Icon.svelte'; + +const cardData = [ + { + title: 'Deploy with Docker', + description: 'Just one command, and you\'ll have your own Web Check instance running on your server in minutes.', + command: 'docker run -p 3000:3000 lissy93/web-check', + }, + { + title: '1-Click Deploy', + description: 'Don\'t have a server? Not a problem! Deploy Web Check with one click on Vercel or Netlify.', + buttons: [ + { + name: 'Vercel', + image: '/assets/images/vercel.svg', + link: 'https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.' + +'com%2Fxray-web%2Fweb-check-free&project-name=web-check-free&repository' + + '-name=web-check-free&demo-title=Web%20Check&demo-description=Try%20ou' + + 't%20the%20live%20demo&demo-url=https%3A%2F%2Fweb-check.xyz%2F&demo-ima' + + 'ge=https%3A%2F%2Fi.ibb.co%2Fr0jXN6s%2Fweb-check.png' + }, + { + name: 'Netlify', + image: '/assets/images/netlify.svg', + link: 'https://app.netlify.com/start/deploy?repository=' + + 'https://github.com/xray-web/web-check-free', + } + ] + }, + { + title: 'Deploy from Source', + description: 'Want to customize Web Check? Clone the repository and deploy it on your server.', + buttons: [ + { + name: 'GitHub', + image: '/assets/images/github.svg', + link: '', + } + ] + } +]; + +--- + + +
+ +
+

Self-Hosted Setup

+

+ Get your own free instance of Web Check, running locally or on your server. +

+ +
+ + { cardData.map((card, cardIndex) => ( +
+ Option #{cardIndex + 1} +

{card.title}

+

{card.description}

+ { card.buttons && ( +
+ { card.buttons.map(button => ( + + + {button.name} + + ))} +
+ )} + { card.command && ( +
+ {card.command} + +
+ )} +
+ ))} +
+
+
+
+ + +