import { ComponentCtaOne, Maybe } from "@/types/gpl/graphql";
import styles from "./index.module.scss";
import Image from "@/modules/common/components/image";
import Button from "@/modules/common/components/button/border";
import { getTranslations } from "next-intl/server";
export default async function ButtonOne() {
const t = await getTranslations();
return (
<div className={styles.container}>
<a href="/profile" className={styles.linkMore}>{t("common:more")}
<svg width="7" height="11" viewBox="0 0 7 11" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M1 10L5.5 5.5L1 1" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</a>
</div>
);
}
.container {
width: 100%;
padding: 50px 20px;
display: flex;
align-items: center;
justify-content: center;
.linkMore {
font-size: var(--font-lg);
font-weight: 700;
text-decoration: none;
padding: 5px 0;
transition: all 0.2s ease-in-out;
&:hover {
color: var(--primary-color);
svg {
color: var(--primary-color);
}
}
&::after {
content: "";
display: block;
width: 100%;
height: 1px;
background-color: var(--primary-color);
margin-top: 10px;
}
svg {
margin-left: 10px;
transition: all 0.2s ease-in-out;
}
}
}