mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
13 lines
425 B
TypeScript
13 lines
425 B
TypeScript
import { Link } from '@hydrooj/ui-next';
|
|
import styles from '../styles.module.css'; // (1) CSS module — scoped class names
|
|
|
|
export default function ExampleCss() {
|
|
return (
|
|
<div className={styles.card}>
|
|
<span className={styles.badge}>CSS module</span>
|
|
<h2 className={styles.title}>Scoped class names</h2>
|
|
<p><Link to="example_home">← Back</Link></p>
|
|
</div>
|
|
);
|
|
}
|