1010 "rappi" ,
1111 "accenture" ,
1212 "ibm" ,
13- "dell " ,
13+ "fastly " ,
1414 "autodesk" ,
1515 "STATS" ,
1616 "twilio" ,
1717 "ford" ,
1818 "paloalto" ,
1919 "bosch" ,
20- "fastly" ,
20+
21+ "dell" ,
2122 "unicef" ,
2223 "nasa" ,
2324 "nike" ,
2425]
2526
2627companies_case_studies = {
27- "fastly" : {
28- "company_name" : "Fastly" ,
29- "quote" : "Fastly is a cloud computing company that provides content delivery network (CDN) services." ,
30- "person" : "Juan" ,
28+ "dell" : {
29+ "company_name" : "Dell" ,
30+ "quote" : """Reflex has been a game changer.
31+ In just a week, I had a demo up and running, and the performance was excellent.
32+ It made the project feasible for my team, who were mostly from a support background, not development.
33+ Reflex has helped us go from struggling with clunky tools to building a smooth, efficient interface.
34+ """ ,
35+ "person" : "JL" ,
3136 "picture" : "/favicon.ico" ,
32- "role" : "CEO " ,
37+ "role" : "Principal Engineer " ,
3338 },
3439 "autodesk" : {
3540 "company_name" : "Autodesk" ,
36- "quote" : "Autodesk is a software company that provides design and engineering software ." ,
37- "person" : "Juan " ,
41+ "quote" : "One person the can do the job of two with Reflex, so it cut our cost in half ." ,
42+ "person" : "Paolo " ,
3843 "picture" : "/favicon.ico" ,
39- "role" : "CEO " ,
40- "url" : "/customers/bayesline " ,
44+ "role" : "Principal Consultant " ,
45+ "url" : "/customers/autodesk " ,
4146 },
4247}
4348
@@ -87,7 +92,7 @@ def company_card(path: str, name: str) -> rx.Component:
8792 badge_text = "Case Study"
8893 badge_icon = get_icon (
8994 "arrow_top_right" ,
90- class_name = "size-3.5 rotate-45 group-hover:rotate-0 transition-transform" ,
95+ class_name = "size-3 rotate-45 group-hover:rotate-0 transition-transform" ,
9196 )
9297 badge_class_name = "absolute bottom-4 right-4 bg-violet-3 border border-violet-6 text-violet-9 group-hover:bg-violet-4 text-xs font-semibold px-2 py-1 rounded-full transition-colors flex flex-row items-center gap-1 scale-[0.85]"
9398 badge_component = rx .box (
@@ -96,11 +101,15 @@ def company_card(path: str, name: str) -> rx.Component:
96101 class_name = badge_class_name ,
97102 )
98103 else :
99- # Badge for customers WITHOUT a case study URL
100- badge_text = "Customer"
101- badge_class_name = "absolute bottom-4 right-4 bg-violet-3 border border-violet-6 text-violet-9 text-xs font-semibold px-2 py-1 rounded-full transition-colors flex flex-row items-center gap-1 scale-[0.85]"
104+ badge_text = "Quote"
105+ badge_icon = get_icon (
106+ "quote" ,
107+ class_name = "size-3 group-hover:rotate-0 transition-transform" ,
108+ )
109+ badge_class_name = "absolute bottom-4 right-4 bg-violet-3 border border-violet-6 text-violet-9 group-hover:bg-violet-4 text-xs font-semibold px-2 py-1 rounded-full transition-colors flex flex-row items-center gap-1 scale-[0.85]"
102110 badge_component = rx .box (
103111 badge_text ,
112+ badge_icon ,
104113 class_name = badge_class_name ,
105114 )
106115
@@ -153,14 +162,14 @@ def company_card(path: str, name: str) -> rx.Component:
153162 class_name = "flex flex-col gap-2.5" ,
154163 ),
155164 side = "top" ,
156- side_offset = - 50 ,
165+ side_offset = - 120 ,
157166 align = "center" ,
158167 on_click = rx .cond (
159168 has_case_study ,
160169 rx .redirect (case_study .get ("url" , "#" )),
161170 rx .noop (),
162171 ),
163- class_name = "flex justify-center items-center bg-slate-1 p-3 rounded-xl shadow-large border border-slate-5 w-[17rem ]"
172+ class_name = "flex justify-center items-center bg-slate-1 p-3 rounded-xl shadow-large border border-slate-5 w-[22rem ]"
164173 + (
165174 " cursor-pointer" if has_case_study else ""
166175 ),
0 commit comments