Skip to content

Commit

Permalink
clsxを使う
Browse files Browse the repository at this point in the history
  • Loading branch information
batora9 committed Mar 25, 2024
1 parent 3c66e43 commit c815b9b
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import clsx from 'clsx';
import Link from 'next/link';
import { LinkButton } from '../components/LinkButton';
import style from './page.module.scss';
Expand All @@ -18,12 +19,12 @@ export default function Home() {
<h1 className={style.contentTitle}>活動内容</h1>
<p className={style.aboutText}>
Maximumでは
<span className={style.span}>
<span className={style.bold}>競技プログラミング</span>
<span className={clsx(style.span, style.bold)}>
競技プログラミング
</span>
(週2回)と
<span className={style.span}>
<span className={style.bold}>Web研究会</span>
<span className={clsx(style.span, style.bold)}>
Web研究会
</span>
(週1回)の2つの活動を行っています。
</p>
Expand All @@ -36,12 +37,12 @@ export default function Home() {
<p>Competitive programming</p>
</div>
<p className={style.activityCPcontent}>
<span className={style.span}>
<span className={style.bold}>AtCoder</span>
<span className={clsx(style.span, style.bold)}>
AtCoder
</span>
&nbsp;や&nbsp;
<span className={style.span}>
<span className={style.bold}>ICPC</span>
<span className={clsx(style.span, style.bold)}>
ICPC
</span>
に向けて
<br />
Expand Down

0 comments on commit c815b9b

Please sign in to comment.