feat: modernized web application

This commit is contained in:
2026-03-31 15:21:08 +09:00
parent f7019403c4
commit 7e07c7ea99
48 changed files with 1569 additions and 103 deletions

View File

@@ -0,0 +1,39 @@
'use client';
import { useTranslation } from 'react-i18next';
import type { IContactQuestion } from '@/models/IContactQuestion';
import style from '@/styles/web.module.scss';
type Props = {
items: IContactQuestion[];
};
export function ContactList({ items }: Props) {
const { t } = useTranslation();
return (
<div className={style.guideBody}>
<h2>{t('qanda')}</h2>
<hr />
<div className={style.contactBox}>
<a href="https://forms.gle/Dn4p7cFEPLK1zcTz5" rel="noopener noreferrer" target="_blank">
&nbsp;
</a>
</div>
{items.map((el) => (
<div
key={`contactItemsLoop-${el.id}`}
className={style.characterBlock}
style={{
animationDelay: `${el.id * 0.2}s`,
}}
>
<h4>{el.question}</h4>
<hr />
<div>{el.answer}</div>
</div>
))}
</div>
);
}