NamH d55a83888b
refactor: replacing mobx with jotai (#160)
* refactor: replacing mobx with jotai

Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
Co-authored-by: Louis <louis@jan.ai>
2023-09-13 21:33:53 -07:00

28 lines
766 B
TypeScript

import Image from "next/image";
import Link from "next/link";
import React from "react";
const HistoryEmpty: React.FC = () => {
return (
<div className="flex flex-col w-full h-full items-center justify-center gap-4">
<Image
src={"/icons/chats-circle-light.svg"}
width={50}
height={50}
alt=""
/>
<p className="text-sm leading-5 text-center text-[#9CA3AF]">
Jan allows you to use 100s of AIs on your mobile phone
</p>
<Link
href="/ai"
className="bg-[#1F2A37] py-[10px] px-5 gap-2 rounded-[8px] text-[14px] font-medium leading-[21px] text-white"
>
Explore AIs
</Link>
</div>
);
};
export default React.memo(HistoryEmpty);