Introduce prettier

This commit is contained in:
Takeshi Kimata
2024-05-19 21:06:49 +09:00
parent 75eeebefda
commit c5ba3b9a00
52 changed files with 884 additions and 1509 deletions

View File

@@ -1,30 +1,30 @@
import { title, subtitle } from "@/components/primitives";
import { Card, CardHeader, CardBody, Avatar } from "@nextui-org/react";
import { Scale, Folder, Check, Globe } from "lucide-react";
import { useTranslations } from "next-intl";
import { title, subtitle } from '@/components/primitives';
import { Card, CardHeader, CardBody, Avatar } from '@nextui-org/react';
import { Scale, Folder, Check, Globe } from 'lucide-react';
import { useTranslations } from 'next-intl';
export default function MainTitle() {
const t = useTranslations("Index");
const t = useTranslations('Index');
const features = [
{
title: t("oss_title"),
detail: t("oss_detail"),
title: t('oss_title'),
detail: t('oss_detail'),
icon: <Scale size={24} color="#52e280" />,
},
{
title: t("organize_title"),
detail: t("organize_detail"),
title: t('organize_title'),
detail: t('organize_detail'),
icon: <Folder size={24} color="#52e280" />,
},
{
title: t("usability_title"),
detail: t("usability_detail"),
title: t('usability_title'),
detail: t('usability_detail'),
icon: <Check size={24} color="#52e280" />,
},
{
title: t("universal_title"),
detail: t("universal_detail"),
title: t('universal_title'),
detail: t('universal_detail'),
icon: <Globe size={24} color="#52e280" />,
},
];
@@ -36,12 +36,7 @@ export default function MainTitle() {
<Card key={feature.title} className="max-w-[300px] min-h-[180px]">
<CardHeader className="flex gap-3">
<div>
<Avatar
className="bg-green-100"
showFallback
src=""
fallback={feature.icon}
/>
<Avatar className="bg-green-100" showFallback src="" fallback={feature.icon} />
</div>
<div className="flex flex-col">
<h4 className="font-bold text-large">{feature.title}</h4>