diff --git a/website/pages/home/index.jsx b/website/pages/home/index.jsx index 5b7e34162..fff092fbe 100644 --- a/website/pages/home/index.jsx +++ b/website/pages/home/index.jsx @@ -1,7 +1,132 @@ +import Button from '@hashicorp/react-button' +import VERSION from '../../data/version' + export default function Homepage() { return (
-

coming soon

+
+ HashiCorp Packer Logo +

Build Automated Machine Images

+
+
+
+
+
+
+ + + +
+ $ packer build template.json + + ==> virtualbox: virtualbox output will be in this color. + + + ==> vmware: vmware output will be in this color. + + + ==> vmware: Copying or downloading ISO. Progress will be reported + periodically. + + + ==> vmware: Creating virtual machine disk + + + ==> vmware: Building and writing VMX file + + + ==> vmware: Starting HTTP server on port 8964 + + + ==> vmware: Starting virtual machine... + + + ==> virtualbox: Downloading VirtualBox guest additions. Progress + will be shown periodically + + + ==> virtualbox: Copying or downloading ISO. Progress will be + reported periodically. + + + ==> virtualbox: Starting HTTP server on port 8081 + + + ==> virtualbox: Creating virtual machine... + + + ==> virtualbox: Creating hard drive... + + + ==> virtualbox: Creating forwarded port mapping for SSH (host + port 3213) + + + ==> virtualbox: Executing custom VBoxManage commands... + virtualbox: Executing: modifyvm packer --memory 480 virtualbox: + Executing: modifyvm packer --cpus + + + ==> virtualbox: Starting the virtual machine... + + ==> vmware: Waiting 10s for boot... + + ==> virtualbox: Waiting 10s for boot... + +
+
+
Infrastructure as Code
+

Modern, Automated

+

+ HashiCorp Packer is easy to use and automates the creation of any + type of machine image. It embraces modern configuration management + by encouraging you to use automated scripts to install and configure + the software within your Packer-made images. Packer brings machine + images into the modern age, unlocking untapped potential and opening + new opportunities. +

+
+
+
+
+
+ Microsoft Azure Logo + Amazon Web Services Logo + VMware Logo + Google Cloud Platform Logo + Docker Logo + DigitalOcean Logo +
+
+
Integrations
+

Works Out of The Box

+

+ Out of the box Packer comes with support to build images for + Amazon EC2, CloudStack, DigitalOcean, Docker, Google Compute + Engine, Microsoft Azure, QEMU, VirtualBox, VMware, and more. + Support for more platforms is on the way, and anyone can add new + platforms via plugins. +

+
+
+
) } diff --git a/website/pages/home/style.css b/website/pages/home/style.css index 8ab3e7d63..0f2bce32e 100644 --- a/website/pages/home/style.css +++ b/website/pages/home/style.css @@ -4,28 +4,162 @@ padding-bottom: 100px; } - & .use-cases { - padding-top: 128px; - padding-bottom: 64px; + & #hero { + text-align: center; - @media (max-width: 800px) { - padding-top: 88px; + & h1 { + margin: 24px 0 40px 0; } - & .g-use-cases { - & .icon { - min-height: 140px; - margin-bottom: 25px; + & img { + max-width: 358px; + margin: 0 30px; + } + + & .buttons { + & > * { + @media (max-width: 350px) { + display: block; + width: 80%; + margin: 0 10%; + } + } + + & > *:first-child { + margin-right: 15px; + + @media (max-width: 350px) { + margin-bottom: 15px; + } + } + } + } + + & #infrastructure-as-code { + display: flex; + + @media (max-width: 1000px) { + flex-direction: column; + } + + & h2 { + margin: 20px 0 10px 0; + } + + & .code-block, + & .text { + width: calc(50% - 50px); + + @media (max-width: 1000px) { + width: 100%; + } + } + + & .code-block { + margin-right: 50px; + background: black; + color: white; + padding: 15px 20px 20px; + font-family: dejavu-sans-mono-web, monospace; + font-size: 14px; + overflow: scroll; + + @media (max-width: 1000px) { + margin-right: 0; + margin-bottom: 50px; + } + + & .circles { + display: flex; + margin-bottom: 8px; + + & > span { + display: block; + width: 8px; + height: 8px; + background: white; + border-radius: 50%; + margin-right: 4px; + } + } + + & span { + display: block; + white-space: pre; + + &.green { + color: #5bfb5a; + } + + &.blue { + color: #53ffff; + } + } + } + } + + & #integrations { + background: var(--packer); + color: white; + + & > .g-container { + display: flex; + flex-direction: row-reverse; + + @media (max-width: 1000px) { + flex-direction: column; } } & h2 { - margin: 0; - text-align: center; - margin-bottom: 64px; - @media (max-width: 800px) { - margin-bottom: 48px; + margin: 20px 0 10px 0; + } + + & .logos, + & .text { + width: calc(50% - 50px); + + @media (max-width: 1000px) { + width: 100%; } } + + & .logos { + display: flex; + flex-wrap: wrap; + height: 212px; + margin-left: 50px; + max-width: 600px; + + @media (max-width: 1000px) { + margin: 0 auto; + margin-bottom: 50px; + } + + & > img { + display: block; + background: white; + padding: 25px; + width: calc(33.3333% - 10px); + height: 100px; + margin-right: 10px; + margin-bottom: 10px; + + @media (max-width: 400px) { + padding: 15px; + } + + &:nth-child(3n) { + margin-right: 0; + } + } + } + } + + & .tag { + background: black; + color: white; + display: inline-block; + padding: 6px 9px; } }