diff --git a/website/agb/src/app/crash/backtrace.tsx b/website/agb/src/app/crash/backtrace.tsx index 3dbe3e91..c572252e 100644 --- a/website/agb/src/app/crash/backtrace.tsx +++ b/website/agb/src/app/crash/backtrace.tsx @@ -3,6 +3,7 @@ import { useState } from 'react'; import { ContentBlock } from "../contentBlock"; +import { GameDeveloperSummary } from './gameDeveloperSummary'; import { styled } from "styled-components"; import { Debug } from "./debug"; @@ -32,13 +33,7 @@ export function BacktracePage() {

Backtrace

{backtrace && } -

For game developers

-

If you don't want players to be sent to this page, you can:

-
    -
  1. Configure the backtrace page to point to your own site
  2. -
  3. Configure the backtrace page to not point to a site at all
  4. -
  5. Not use the backtrace feature
  6. -
+ ); } @@ -76,6 +71,7 @@ const BacktraceCopyButton = styled.button` padding: 10px; `; + function getBacktrace() { return window.location.hash.slice(1); } diff --git a/website/agb/src/app/crash/gameDeveloperSummary.tsx b/website/agb/src/app/crash/gameDeveloperSummary.tsx new file mode 100644 index 00000000..aca73d86 --- /dev/null +++ b/website/agb/src/app/crash/gameDeveloperSummary.tsx @@ -0,0 +1,21 @@ +import { styled } from "styled-components"; + +export const GameDeveloperSummary = () => { + return
+ For game developers +

If you don't want players to be sent to this page, you can:

+
    +
  1. Configure the backtrace page to point to your own site
  2. +
  3. Configure the backtrace page to not point to a site at all
  4. +
  5. Not use the backtrace feature
  6. +
+
+} + +const Details = styled.details` + margin-top: 10px; +`; + +const Summary = styled.summary` + font-weight: bold; +`; \ No newline at end of file