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:
1 parent
2104624633
commit
49bb80eeb4
8 files changed
+221
-10
No files matched your search
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user