Skip to content

Commit

Permalink
move static assets to new static directory
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgraham4401 committed Oct 3, 2023
1 parent 5bba8ea commit 498147c
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 8 deletions.
Binary file added client/public/static/robot-bad-sign.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added client/public/static/robot-happy.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added client/public/static/robot-wink.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
4 changes: 2 additions & 2 deletions client/src/components/Ht/HtCard/HtCard.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { ErrorBoundary } from 'components/ErrorBoundary';
import { HtSpinner } from 'components/Ht';
import React, { ReactElement } from 'react';
import { Card, CardProps } from 'react-bootstrap';
import { Card, CardHeaderProps, CardProps } from 'react-bootstrap';

interface HeaderProps extends CardProps {
interface HeaderProps extends CardHeaderProps {
title?: string;
size?: string;
}
Expand Down
4 changes: 3 additions & 1 deletion client/src/features/404/NotFound.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import happyRobot from '/static/robot-bad-sign.jpg';
import { HtCard } from 'components/Ht';
import React from 'react';
import { Button } from 'react-bootstrap';
Expand All @@ -7,8 +8,9 @@ export const NotFound = () => {
const navigate = useNavigate();
return (
<HtCard>
<HtCard.Header title="This is not the page you're looking for..." />
<HtCard.Header title="Page not found" />
<HtCard.Body className="d-grid justify-content-center">
<img src={happyRobot} alt="happy robot" width={200} height={'auto'} />
<h1 className="display-1 d-flex justify-content-center">404</h1>
<h4>Resource not found</h4>
</HtCard.Body>
Expand Down
4 changes: 2 additions & 2 deletions client/src/features/comingSoon/UnderConstruction.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import underConstruction from '/static/under-construction.png';
import { HtCard } from 'components/Ht';
import { useTitle } from 'hooks';
import React from 'react';
import { Card, Col, Container, Row } from 'react-bootstrap';
import { useTitle } from 'hooks';
import underConstruction from '/under-construction.png';
import { Link } from 'react-router-dom';

/**
Expand Down
3 changes: 0 additions & 3 deletions client/src/routes.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import { Root } from 'components/Layout/Root';
import { Login } from 'features/login';
import { ManifestDetails } from 'features/manifestDetails/ManifestDetails';
import { ManifestList } from 'features/manifestList/ManifestList';
import { NewManifest } from 'features/newManifest/NewManifest';
import { createBrowserRouter } from 'react-router-dom';

export const router = createBrowserRouter([
Expand Down

0 comments on commit 498147c

Please sign in to comment.