<commit_before>import { registerComponent } from 'meteor/vulcan:lib';
import React from 'react';
import { FormattedMessage } from 'meteor/vulcan:i18n';
import { useServerRequestStatus } from '../../lib/routeUtil'

const Error404 = () => {
  const serverRequestStatus = useServerRequestStatus()
  if (serverRequestStatus) serverRequestStatus.status = 404
  return (
    <div className="error404">
      <h3><FormattedMessage id="app.404"/></h3>
    </div>
  );
};

Error404.displayName = 'Error404';

registerComponent('Error404', Error404);

export default Error404;<commit_msg>Make 404 page not completely terrible<commit_after>import { Components, registerComponent } from 'meteor/vulcan:lib';
import React from 'react';
import { FormattedMessage } from 'meteor/vulcan:i18n';
import { useServerRequestStatus } from '../../lib/routeUtil'

const Error404 = () => {
  const { SingleColumnSection } = Components;
  const serverRequestStatus = useServerRequestStatus()
  if (serverRequestStatus) serverRequestStatus.status = 404
  
  return (
    <SingleColumnSection>
      <h2>404 Not Found</h2>
      <h3>Sorry, we couldn't find what you were looking for.</h3>
    </SingleColumnSection>
  );
};

Error404.displayName = 'Error404';

registerComponent('Error404', Error404);

export default Error404;
{'fraction_non_alphanumeric': 0.12702078521939955, 'fraction_numerical': 0.049268668206312545, 'mean_word_length': 4.882352941176471, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 16, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6073', 'n_tokens_mistral': 432, 'n_tokens_neox': 386, 'n_words': 93}