All files / stream-counter/src/pages index.tsx

0% Statements 0/31
0% Branches 0/1
0% Functions 0/1
0% Lines 0/31

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38                                                                           
import Link from "next/link";
 
export default function Home() {
  return (
    <div style={{ padding: "2rem", fontFamily: "Arial, sans-serif" }}>
      <h1>Welcome to Stream Counter</h1>
      <p>
        BDD (Behavior Driven Development) でテストされたアプリケーションです。
      </p>
 
      <nav style={{ margin: "2rem 0" }}>
        <Link
          href="/counter"
          style={{
            padding: "0.5rem 1rem",
            backgroundColor: "#0070f3",
            color: "white",
            textDecoration: "none",
            borderRadius: "4px",
          }}
        >
          カウンターページへ
        </Link>
      </nav>
 
      <div style={{ marginTop: "2rem" }}>
        <h2>機能</h2>
        <ul>
          <li>TypeScript + Next.js</li>
          <li>Cucumber BDD テスト</li>
          <li>Playwright E2E テスト</li>
          <li>Vitest ユニットテスト</li>
        </ul>
      </div>
    </div>
  );
}