@@ -33,14 +33,17 @@ def integration_filter_button(data: dict):
3333
3434def integration_filters ():
3535 return rx .el .div (
36- * [integration_filter_button (data ) for data in FilterOptions ],
37- class_name = "flex flex-row gap-3 items-center justify-center flex-wrap"
36+ rx .el .div (
37+ * [integration_filter_button (data ) for data in FilterOptions ],
38+ class_name = "flex flex-row gap-3 items-center justify-center flex-wrap"
39+ ),
40+ class_name = "w-full max-w-[64.19rem] lg:border-x border-slate-3 pb-12"
3841 )
3942
4043
4144
4245def integration_gallery_cards (data ):
43- return rx .link (
46+ return rx .el . a (
4447 rx .el .div (
4548 rx .el .div (
4649 rx .image (
@@ -58,32 +61,34 @@ def integration_gallery_cards(data):
5861 class_name = "w-full flex flex-row items-center justify-between"
5962 ),
6063 rx .el .div (
61- rx .el .p (data ['title' ], class_name = "text-lg font-bold" ),
62- rx .el .p (data ['description' ], class_name = "text-sm " ),
64+ rx .el .p (data ['title' ], class_name = "text-lg font-bold text-secondary-12 " ),
65+ rx .el .p (data ['description' ], class_name = "font-medium text-secondary-11 " ),
6366 class_name = "flex flex-col gap-y-1"
6467 ),
65- class_name = "flex flex-col gap-y-6 rounded-ui-xl border border-secondary-a4 bg-secondary-1 shadow-small p-6 h-[12rem ] justify-between hover:bg-secondary-2"
68+ class_name = "flex flex-col gap-y-6 rounded-ui-xl border border-secondary-a4 bg-secondary-1 shadow-small p-6 h-[13rem ] justify-between hover:bg-secondary-2"
6669 ),
6770 href = data ['path' ],
68- class_name = "group text-inherit hover:!text-inherit decoration-none "
71+ class_name = "group text-inherit hover:!text-inherit decoration-none no-underline "
6972 + rx .cond (
7073 (selected_filter .value == data ['tags' ]) | (selected_filter .value == "All" ), "flex" , "hidden"
7174 ),
7275 )
7376
7477def integration_gallery ():
7578 return rx .el .div (
76- * [
77- integration_gallery_cards (list (item .values ())[0 ])
78- for item in get_integration_path ()
79- ],
80- class_name = "w-full lg:w-[86%] grid lg:grid-cols-3 md:grid-cols-2 grid-cols-1 gap-6 px-10 py-12"
79+ rx .el .div (
80+ * [
81+ integration_gallery_cards (list (item .values ())[0 ])
82+ for item in get_integration_path ()
83+ ],
84+ class_name = "w-full lg:max-w-[80rem] grid lg:grid-cols-3 md:grid-cols-2 grid-cols-1 gap-6 px-4 md:px-10"
85+ ),
86+ class_name = ""
8187 )
8288
83-
8489def integration_request_form ():
8590 return rx .el .div (
8691 rx .el .p ("Missing an integration?" ),
8792 rx .el .p (rx .fragment ("Click " , request_integration_dialog (), " to tell us what you need." )),
88- class_name = "flex flex-col gap-y-1 text-sm text-slate-12 py-6 items-center justify-center"
93+ class_name = "w-full max-w-[64.19rem] flex flex-col gap-y-1 text-md font-bold py-10 items-center justify-center lg:border-x border-slate-3 "
8994 )
0 commit comments