Revert "landing page updates"

This commit is contained in:
Chris Zhu
2025-03-06 13:14:50 -08:00
committed by GitHub
parent e1e519e37d
commit b63facb704
11 changed files with 0 additions and 68 deletions

View File

@@ -68,12 +68,4 @@
.youtube-aspect {
aspect-ratio: 16 / 9;
}
.max-w-8xl {
max-width: 88rem;
}
.max-w-9xl {
max-width: 96rem;
}

View File

@@ -1,33 +1,6 @@
class StaticController < ApplicationController
INSTALL_SCRIPT = "curl -sSL https://raw.githubusercontent.com/czhu12/canine/refs/heads/main/install/install.sh | bash"
skip_before_action :authenticate_user!
ILLUSTRATIONS = [
{
src: "/images/illustrations/design_2.png",
title: "You enjoy vendor lock-in",
description: "Canine makes it possible to deploy to 230+ cloud providers, with the same UI.",
background_color: "bg-green-100"
},
{
src: "/images/illustrations/design_3.png",
title: "You like spending more, for less",
description: "Pay Hetzner like pricing for Heroku like dev experiences.",
background_color: "bg-yellow-100"
},
{
src: "/images/illustrations/design_4.png",
title: "You don't want modern infrastructure",
description: "Would rather cobble together SSH scripts? Look elsewhere.",
background_color: "bg-blue-100"
},
{
src: "/images/illustrations/design_5.png",
title: "You like configuring infrastructure more than building apps",
description: "Please press Ctrl + W now, or ask your network administrator to close your window.",
background_color: "bg-violet-100"
}
]
PRICES = [
{
name: "Heroku",

View File

@@ -15,9 +15,6 @@
<!-- Feature section -->
<%= render "static/landing_page/features_2" %>
<!-- Funny -->
<%= render "static/landing_page/why_not" %>
<!-- Feature section -->
<%= render "static/landing_page/open_source" %>

View File

@@ -1,30 +0,0 @@
<!-- needed so that tailwind builds our background colors -->
<div class="bg-green-100 bg-yellow-100 bg-blue-100 bg-violet-100"></div>
<div class="mt-32 sm:mt-56">
<div class="mx-auto max-w-7xl px-6 lg:px-8">
<div class="mx-auto max-w-2xl sm:text-center">
<h2 class="text-base font-semibold leading-7 text-indigo-400">Downsides</h2>
<p class="mt-2 text-3xl font-bold tracking-tight text-white sm:text-4xl">Why you should <span class="text-red-500 font-bold">NOT</span> use Canine</p>
<p class="mt-6 text-lg leading-8 text-gray-300">Bring your own servers, or use our hosted version.</p>
</div>
</div>
<div class="relative overflow-hidden pt-16">
<div class="mx-auto overflow-x-auto md:max-w-9xl px-0 lg:px-2">
<div class="grid gap-8 md:grid-cols-4 py-10">
<% StaticController::ILLUSTRATIONS.each do |illustration| %>
<div class="card min-w-80 <%= illustration[:background_color] %> odd:rotate-3 even:-rotate-3">
<div class="card-body flex flex-col justify-evenly gap-2 text-black">
<div class="font-bold text-2xl leading-7">
<%= illustration[:title] %>
</div>
<img src="<%= illustration[:src] %>">
<div class="text-sm">
<%= illustration[:description] %>
</div>
</div>
</div>
<% end %>
</div>
</div>
</div>
</div>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 876 KiB

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 139 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 143 KiB

BIN
public/images/signature.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB