Skip to content

Commit

Permalink
Homepage design and vercel build
Browse files Browse the repository at this point in the history
  • Loading branch information
markzegarelli committed Apr 11, 2024
1 parent ab934e5 commit 9432292
Show file tree
Hide file tree
Showing 6 changed files with 79 additions and 8 deletions.
3 changes: 2 additions & 1 deletion content/collections/get-started/create-org.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
7 changes: 7 additions & 0 deletions public/assets/bg/.meta/bg.svg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
data: { }
size: 389
last_modified: 1712866481
width: 1512.0
height: 382.0
mime_type: image/svg+xml
duration: null
5 changes: 5 additions & 0 deletions public/assets/bg/bg.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions resources/build.sh
Original file line number Diff line number Diff line change
@@ -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
28 changes: 28 additions & 0 deletions resources/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 5 additions & 7 deletions resources/views/home.antlers.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
<section class="bg-amp-blue-900 py-20">
<div class="container mx-auto px-4 flex flex-row">
<section class=" h-96 py-20 hero">
<div class="container mx-auto px-4 flex flex-col">
<div class="max-w-3xl mx-auto">
<h1 class="text-4xl font-bold mb-6">Amplitude Documentation</h1>
<p class="text-lg mb-8">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ut gravida nunc, id tincidunt nisl.</p>
<a href="#" class="bg-blue-500 hover:bg-blue-600 text-white font-bold py-2 px-4 rounded">Get Started</a>
<h1 class="text-5xl font-light mb-6 mx-auto text-center">Amplitude Documentation</h1>
</div>
<div>
<img class="m-0" src="https://placehold.co/590x290" alt="" srcset="">
<div class="mx-auto">
<input class="mx-auto w-96 rounded-full border-amp-gray-300" type="text" name="" id="">
</div>
</div>
</section>

0 comments on commit 9432292

Please sign in to comment.