diff --git a/app/assets/stylesheets/custom.css b/app/assets/stylesheets/custom.css index d032c4cc..76c5941e 100644 --- a/app/assets/stylesheets/custom.css +++ b/app/assets/stylesheets/custom.css @@ -68,12 +68,4 @@ .youtube-aspect { aspect-ratio: 16 / 9; -} - -.max-w-8xl { - max-width: 88rem; -} - -.max-w-9xl { - max-width: 96rem; } \ No newline at end of file diff --git a/app/controllers/static_controller.rb b/app/controllers/static_controller.rb index c133ab45..90b6cb3a 100644 --- a/app/controllers/static_controller.rb +++ b/app/controllers/static_controller.rb @@ -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", diff --git a/app/views/static/index.html.erb b/app/views/static/index.html.erb index 015888ba..f4161a9f 100644 --- a/app/views/static/index.html.erb +++ b/app/views/static/index.html.erb @@ -15,9 +15,6 @@ <%= render "static/landing_page/features_2" %> - - <%= render "static/landing_page/why_not" %> - <%= render "static/landing_page/open_source" %> diff --git a/app/views/static/landing_page/_why_not.html.erb b/app/views/static/landing_page/_why_not.html.erb deleted file mode 100644 index 89e61b5b..00000000 --- a/app/views/static/landing_page/_why_not.html.erb +++ /dev/null @@ -1,30 +0,0 @@ - -
-
-
-
-

Downsides

-

Why you should NOT use Canine

-

Bring your own servers, or use our hosted version.

-
-
-
-
-
- <% StaticController::ILLUSTRATIONS.each do |illustration| %> -
-
-
- <%= illustration[:title] %> -
- -
- <%= illustration[:description] %> -
-
-
- <% end %> -
-
-
-
diff --git a/public/images/illustration.png b/public/images/illustration.png index bed35812..3cd25663 100644 Binary files a/public/images/illustration.png and b/public/images/illustration.png differ diff --git a/public/images/illustrations/design_1.png b/public/images/illustrations/design_1.png deleted file mode 100644 index 66a7a3f5..00000000 Binary files a/public/images/illustrations/design_1.png and /dev/null differ diff --git a/public/images/illustrations/design_2.png b/public/images/illustrations/design_2.png deleted file mode 100644 index 18419053..00000000 Binary files a/public/images/illustrations/design_2.png and /dev/null differ diff --git a/public/images/illustrations/design_3.png b/public/images/illustrations/design_3.png deleted file mode 100644 index a31e0af5..00000000 Binary files a/public/images/illustrations/design_3.png and /dev/null differ diff --git a/public/images/illustrations/design_4.png b/public/images/illustrations/design_4.png deleted file mode 100644 index fbb8f1d3..00000000 Binary files a/public/images/illustrations/design_4.png and /dev/null differ diff --git a/public/images/illustrations/design_5.png b/public/images/illustrations/design_5.png deleted file mode 100644 index e6001ecc..00000000 Binary files a/public/images/illustrations/design_5.png and /dev/null differ diff --git a/public/images/signature.png b/public/images/signature.png new file mode 100644 index 00000000..4431f32c Binary files /dev/null and b/public/images/signature.png differ