From 943229264899c18254a017d07683bd63a1cddbb2 Mon Sep 17 00:00:00 2001 From: markzegarelli Date: Thu, 11 Apr 2024 15:48:00 -0700 Subject: [PATCH] Homepage design and vercel build --- content/collections/get-started/create-org.md | 3 +- public/assets/bg/.meta/bg.svg.yaml | 7 ++++ public/assets/bg/bg.svg | 5 +++ resources/build.sh | 32 +++++++++++++++++++ resources/css/site.css | 28 ++++++++++++++++ resources/views/home.antlers.html | 12 +++---- 6 files changed, 79 insertions(+), 8 deletions(-) create mode 100644 public/assets/bg/.meta/bg.svg.yaml create mode 100644 public/assets/bg/bg.svg create mode 100644 resources/build.sh diff --git a/content/collections/get-started/create-org.md b/content/collections/get-started/create-org.md index 66c3de64f..0e0cc9aed 100644 --- a/content/collections/get-started/create-org.md +++ b/content/collections/get-started/create-org.md @@ -5,9 +5,10 @@ title: 'Create your organization' source: 'https://help.amplitude.com/hc/en-us/articles/16796682982427-Create-your-organization' author: 0c3a318b-936a-4cbd-8fdf-771a90c297f0 updated_by: 0c3a318b-936a-4cbd-8fdf-771a90c297f0 -updated_at: 1712268199 +updated_at: 1712869546 landing: true landing_blurb: 'In Amplitude, all your analyses will live within a larger project. Projects, in turn, are contained within organizations.' +exclude_from_sitemap: false --- #### This article will help you: diff --git a/public/assets/bg/.meta/bg.svg.yaml b/public/assets/bg/.meta/bg.svg.yaml new file mode 100644 index 000000000..c47137efe --- /dev/null +++ b/public/assets/bg/.meta/bg.svg.yaml @@ -0,0 +1,7 @@ +data: { } +size: 389 +last_modified: 1712866481 +width: 1512.0 +height: 382.0 +mime_type: image/svg+xml +duration: null diff --git a/public/assets/bg/bg.svg b/public/assets/bg/bg.svg new file mode 100644 index 000000000..5c9b098b7 --- /dev/null +++ b/public/assets/bg/bg.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/resources/build.sh b/resources/build.sh new file mode 100644 index 000000000..307527682 --- /dev/null +++ b/resources/build.sh @@ -0,0 +1,32 @@ +#!/bin/sh + +# Install PHP & WGET +yum install -y amazon-linux-extras +amazon-linux-extras enable php8.1 +yum clean metadata +yum install php php-{common,curl,mbstring,gd,gettext,bcmath,json,xml,fpm,intl,zip,imap} +yum install wget + +# INSTALL COMPOSER +EXPECTED_CHECKSUM="$(wget -q -O - https://composer.github.io/installer.sig)" +php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" +ACTUAL_CHECKSUM="$(php -r "echo hash_file('sha384', 'composer-setup.php');")" + +if [ "$EXPECTED_CHECKSUM" != "$ACTUAL_CHECKSUM" ] +then + >&2 echo 'ERROR: Invalid installer checksum' + rm composer-setup.php + exit 1 +fi + +php composer-setup.php --quiet +rm composer-setup.php + +# INSTALL COMPOSER DEPENDENCIES +php composer.phar install + +# GENERATE APP KEY +php artisan key:generate + +# BUILD STATIC SITE +php please ssg:generate \ No newline at end of file diff --git a/resources/css/site.css b/resources/css/site.css index 54d5641a4..5fec9b231 100644 --- a/resources/css/site.css +++ b/resources/css/site.css @@ -99,6 +99,34 @@ } /* This is all you. */ +.hero { + position: relative; + overflow: hidden; + background-color: #EBF5FF; + +} + +.hero::before { + content: ''; + position: absolute; + top: 0; + left: 0; + width: 382px; + height: 192px; + background: #2F1761; + border-bottom-right-radius: 200px; +} + +.hero::after { + content: ''; + position: absolute; + bottom: 0; + right: 0; + width: 382px; + height: 192px; + background: #F5D9E1; + border-top-left-radius: 200px; +} .tab > pre { margin-bottom: 0 diff --git a/resources/views/home.antlers.html b/resources/views/home.antlers.html index 6e6e9cac3..bec90fbe3 100644 --- a/resources/views/home.antlers.html +++ b/resources/views/home.antlers.html @@ -1,12 +1,10 @@ -
-
+
+
-

Amplitude Documentation

-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ut gravida nunc, id tincidunt nisl.

- Get Started +

Amplitude Documentation

-
- +
+
\ No newline at end of file