~chrono/personal-website-alyx

6f92310d10be0fd790bbaa7834a1a2450939ec16 — Chrono 5 months ago 17ebb6e
improve background error
1 files changed, 7 insertions(+), 1 deletions(-)

M components/BackgroundCard.tsx
M components/BackgroundCard.tsx => components/BackgroundCard.tsx +7 -1
@@ 17,7 17,13 @@ export default class BackgroundCard extends Component {

  render(props: ComponentProps<"div">, state: { errored: boolean }) {
    if (state.errored) {
      return <p>Something went badly wrong</p>;
      return (
        <div
          className={`background-card text-white text-shadow:_1px_1px_0_rgb(0_0_0_/_100%)`}
        >
          Something went catastrophically wrong.
        </div>
      );
    }

    return (