diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-03-16 00:14:59 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-03-16 00:14:59 +0900 |
| commit | 074c1fba509987e9ee8f9b1593d3e2a205127f10 (patch) | |
| tree | 1a5a106e040e753036a6f83c083af8d071926e73 /frontend/app/components/Gaming/Problem.tsx | |
| parent | 5df5ec12134b85e9c743ffd5b4da35aa0fed04e6 (diff) | |
| download | phperkaigi-2025-albatross-074c1fba509987e9ee8f9b1593d3e2a205127f10.tar.gz phperkaigi-2025-albatross-074c1fba509987e9ee8f9b1593d3e2a205127f10.tar.zst phperkaigi-2025-albatross-074c1fba509987e9ee8f9b1593d3e2a205127f10.zip | |
feat(frontend): add InlineCode component
Diffstat (limited to 'frontend/app/components/Gaming/Problem.tsx')
| -rw-r--r-- | frontend/app/components/Gaming/Problem.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/frontend/app/components/Gaming/Problem.tsx b/frontend/app/components/Gaming/Problem.tsx index 0f7d26f..8a8613f 100644 --- a/frontend/app/components/Gaming/Problem.tsx +++ b/frontend/app/components/Gaming/Problem.tsx @@ -1,5 +1,6 @@ import BorderedContainerWithCaption from "../BorderedContainerWithCaption"; import CodeBlock from "./CodeBlock"; +import InlineCode from "./InlineCode"; type Props = { title: string; @@ -35,10 +36,9 @@ export default function Problem({ title, description, sampleCode }: Props) { 等で実行が中断された場合は失敗扱いとなります。 </p> <p> - なお、<code>error_reporting</code> は{" "} - <code> - E_ALL & ~E_WARNING & ~E_NOTICE & ~E_DEPRECATED - </code>{" "} + なお、 + <InlineCode code="error_reporting" /> は{" "} + <InlineCode code="E_ALL & ~E_WARNING & ~E_NOTICE & ~E_DEPRECATED" />{" "} に設定されています。 </p> </div> |
