added illustrations to app store (#2280)

* fixed a ton of app store layout shift bugs

* added illustrations

* Sync submodules to main

* Update yarn.lock

Co-authored-by: zomars <[email protected]>
This commit is contained in:
Peer Richelsenandzomars authored and GitHub committed 2022-03-25 19:46:21 +00:00
1 parent 2104624633
commit 49bb80eeb4
8 files changed
+221 -10

No files matched your search

+11 -5
View File
@@ -1,4 +1,4 @@
import { CreditCardIcon } from "@heroicons/react/outline";
import Image from "next/image";
import Link from "next/link";
import { useLocale } from "@calcom/lib/hooks/useLocale";
@@ -11,11 +11,17 @@ export default function AppStoreCategories(props: any) {
<div className="grid grid-cols-1 gap-3 md:grid-cols-3">
{props.categories.map((category: any) => (
<Link key={category.name} href={"/apps/categories/" + category.name}>
<a className="flex rounded-sm bg-gray-100 px-6 py-4">
<div className="mr-4 flex h-12 w-12 rounded-sm bg-white">
<CreditCardIcon className="mx-auto h-6 w-6 self-center" />
<a className="relative flex rounded-sm bg-gray-100 px-6 py-4 sm:block">
<div className="min-w-24 -ml-5 text-center sm:ml-0">
<Image
alt={category.name}
width="352"
height="252"
layout="responsive"
src={"/app-store/" + category.name + ".svg"}
/>
</div>
<div>
<div className="self-center">
<h3 className="font-medium capitalize">{category.name}</h3>
<p className="text-sm text-gray-500">{category.count} apps</p>
</div>