From 30e6b07bb1dcaa4a7c343723f92549fbfe894cc8 Mon Sep 17 00:00:00 2001 From: Abi Raja Date: Tue, 5 Dec 2023 11:36:17 -0500 Subject: [PATCH] add list of logos --- .gitignore | 3 ++ .../src/components/TermsOfServiceDialog.tsx | 42 +++++++++++++++---- 2 files changed, 38 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 7b377b1..fc073ff 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,6 @@ backend/backend/* # Env vars frontend/.env.local .env + +# Mac files +.DS_Store diff --git a/frontend/src/components/TermsOfServiceDialog.tsx b/frontend/src/components/TermsOfServiceDialog.tsx index b812d26..ad46c0a 100644 --- a/frontend/src/components/TermsOfServiceDialog.tsx +++ b/frontend/src/components/TermsOfServiceDialog.tsx @@ -11,6 +11,8 @@ import { Input } from "./ui/input"; import toast from "react-hot-toast"; import { PICO_BACKEND_FORM_SECRET } from "../config"; +const LOGOS = ["microsoft", "amazon", "mit", "stanford", "bytedance", "baidu"]; + const TermsOfServiceDialog: React.FC<{ open: boolean; onOpenChange: (open: boolean) => void; @@ -31,7 +33,7 @@ const TermsOfServiceDialog: React.FC<{ - + Enter your email to get started @@ -45,8 +47,8 @@ const TermsOfServiceDialog: React.FC<{ }} /> -
- +
+

By providing your email, you consent to receiving occasional product updates, and you accept the{" "} terms of service - .
-
+ .{" "} +

+ +

+ {" "} Prefer to run it yourself locally? This project is open source.{" "} Download the code and get started on Github. - +

@@ -80,9 +85,32 @@ const TermsOfServiceDialog: React.FC<{ } }} > - Agree + Agree & Continue + + {/* Logos */} +
+
+ {LOGOS.map((companyName) => ( + {companyName} + ))} +
+
+ Designers and engineers from these organizations use Screenshot to + Code to build interfaces faster. +
+
);