-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(upgrade-plan): create page of upgrade plan (#593)
* feat(upgrade-plan): create page of upgrade plan * chore(version): update to version 1.34.0
- Loading branch information
Showing
9 changed files
with
78 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
(ns webapp.upgrade-plan.main | ||
(:require | ||
["@radix-ui/themes" :refer [Avatar Box Button Flex Heading Text]] | ||
["lucide-react" :refer [ListChecks MessagesSquare Sparkles]] | ||
[reagent.core :as r] | ||
[webapp.components.button :as button] | ||
[webapp.config :as config])) | ||
|
||
(defn- feature [{:keys [icon title description]}] | ||
[:> Flex {:align "center" :gap "4"} | ||
[:> Avatar {:fallback (r/as-element icon) | ||
:size "4"}] | ||
[:> Box | ||
[:> Heading {:as "h3" :size "5" :weight "bold" :class "text-[--gray-12]"} | ||
title] | ||
[:> Text {:size "3" :class "text-[--gray-12]"} | ||
description]]]) | ||
|
||
(defn main [] | ||
[:> Box {:class "bg-white relative overflow-hidden"} | ||
[:> Box {:p "5"} | ||
[button/HeaderBack]] | ||
|
||
[:> Flex {:align "center" :justify "between" :gap "8" :p "9"} | ||
[:> Box {:class "w-2/3 xl:w-1/2 space-y-12 pr-0 2xl:pr-16"} | ||
[:> Box {:class "space-y-4"} | ||
[:> Heading {:as "h1" :size "8" :weight "bold" :class "text-[--gray-12]"} | ||
"Get more for your connections"] | ||
[:> Text {:size "5" :class "text-[--gray-11]"} | ||
"Upgrade to Enterprise plan and boost your experience."]] | ||
|
||
[:> Box {:class "space-y-8"} | ||
[feature {:icon [:> Sparkles {:size 20}] | ||
:title "AI-Enhanced developer experience" | ||
:description "Power up development with AI-driven query suggestions and automated data masking while maintaining security standards."}] | ||
|
||
[feature {:icon [:> ListChecks {:size 20}] | ||
:title "Complete visibility & control" | ||
:description "Monitor database and infrastructure interaction with detailed session recordings and instant alerts in your favorite tools."}] | ||
|
||
[feature {:icon [:> MessagesSquare {:size 20}] | ||
:title "Enterprise-grade support" | ||
:description "Access priority support through Slack, Teams, or email, plus dedicated onboarding to accelerate your team experience."}]] | ||
|
||
[:> Button {:size "4" | ||
:on-click #(js/window.Intercom | ||
"showNewMessage" | ||
"I want to upgrade my current plan")} | ||
"Request a demo"]] | ||
|
||
[:> Box {:class (str "mt-[--space-9] absolute top-1/2 -translate-y-1/2 right-0 w-1/2 h-auto " | ||
"transform translate-x-1/4 xl:translate-x-16 2xl:translate-x-10")} | ||
[:> Box {:class "h-full w-full relative"} | ||
[:img {:src (str config/webapp-url "/images/upgrade-plan.png") | ||
:alt "Terminal interface" | ||
:class (str "w-full h-[578px] " | ||
"object-cover object-left")}]]]]]) |