Skip to content

Commit

Permalink
Updated landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
salilponde committed Dec 3, 2023
1 parent d0582bb commit 11e8927
Show file tree
Hide file tree
Showing 4 changed files with 97 additions and 21 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Dokemon Website
# Dokémon Website

https://dokemon.dev
Binary file added public/screenshot-dokemon-compose-up.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/screenshot-dokemon-images.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
116 changes: 96 additions & 20 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,30 +1,45 @@
"use client";

import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { faDiscord } from "@fortawesome/free-brands-svg-icons";
import { faDiscord, faGithub } from "@fortawesome/free-brands-svg-icons";

export default function Home() {
const command = `docker run -v dokemondata:/data \\
-p 8080:8080 \\
--name dokemon productiveops/dokemon`;
const command = `# Create directory to store Dokemon data
mkdir ./dokemondata
# Run Dokemon
sudo docker run -p 9090:9090 \\
-v ./dokemondata:/data \\
-v /var/run/docker.sock:/var/run/docker.sock \\
--restart unless-stopped \\
--name dokemon -d productiveops/dokemon:latest`;

return (
<main className="flex min-h-screen flex-col items-center p-24 text-gray-300">
<h1 className="mb-6">
<span className="sr-only">Dokemon</span>
<img src="/logo/dokemon-dark-medium.svg" alt="Dokemon" />
</h1>
<h2 className="text-lg mb-12 text-center">
<h2 className="text-lg mb-6 text-center font-semibold">
Docker Container Management GUI for Virtual Machines
</h2>
<h3 className="mb-10 text-center">
Deploy compose files, start/stop containers, delete unused images, view
logs.
</h2>
</h3>
<div className="mb-10">
<img
src="/screenshot-dokemon-images.jpg"
className="xl:max-w-[900px]"
/>
</div>
<h3 className="text-lg font-bold mb-4">Get Started Now</h3>
<div className="mb-4">
<pre className="bg-slate-800 px-8 py-4 focus:outline-none font-mono">
{command}
</pre>
</div>
<div className="mb-20">
<div className="mb-16">
<button
type="button"
className="w-24 rounded-md bg-amber-600 px-2.5 py-1.5 text-sm font-semibold text-white shadow-sm hover:bg-amber-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-amber-600"
Expand All @@ -35,20 +50,81 @@ export default function Home() {
Copy
</button>
</div>
<div>
<a
className="flex items-center gap-2 text-sm"
href="https://discord.gg/Nfevu4gJVG"
target="_blank"
>
<FontAwesomeIcon
icon={faDiscord}
className="inline-block w-8 h-8"
style={{ color: "#5865f2" }}
/>{" "}
Community Support
</a>
<div className="mb-16 md:max-w-[580px]">
<h3 className="text-lg font-bold mb-4 text-center">Production Usage</h3>
<p className="mb-2">
We recommend that you run Dokemon on a private network whenever
possible.
</p>
<p>
If you are running on a VPS with only public access, we recommend that
you use an SSL enabled reverse proxy in front of Dokemon. See{" "}
<a
className="underline underline-offset-4"
href="https://github.com/ProductiveOps/dokemon"
target="_blank"
>
example configuration with Traefik.
</a>
</p>
</div>
<div className="mb-16 md:w-[580px]">
<h3 className="text-lg font-bold mb-4 text-center">FAQ</h3>
<ul className="text-left flex flex-col gap-6">
<li>
<h4 className="font-semibold">Is this free for commercial use?</h4>
<p>Yes.</p>
</li>
<li>
<h4 className="font-semibold">
Does this support Kubernetes and Docker Swarm?
</h4>
<p>
No, currently we only support Standalone Docker on Linux Virtual
Machines.
</p>
</li>
<li>
<h4 className="font-semibold">
Can I manage multiple servers with one Dokemon instance?
</h4>
<p>
Not currently. This feature is under development and planned to be
released in January 2024.
</p>
</li>
</ul>
</div>
<ul className="flex gap-10">
<li>
<a
className="flex items-center gap-2 text-sm"
href="https://discord.gg/Nfevu4gJVG"
target="_blank"
>
<FontAwesomeIcon
icon={faDiscord}
className="inline-block w-7 h-7"
style={{ color: "#5865f2" }}
/>{" "}
Community Support
</a>
</li>
<li>
<a
className="flex items-center gap-2 text-sm"
href="https://github.com/productiveops/dokemon/issues"
target="_blank"
>
<FontAwesomeIcon
icon={faGithub}
className="inline-block w-6 h-6"
style={{ color: "#ddd" }}
/>{" "}
Report Issues
</a>
</li>
</ul>
</main>
);
}

0 comments on commit 11e8927

Please sign in to comment.