Skip to content

Commit 6d69135

Browse files
committed
Prepare home page for challenge
1 parent ef309ca commit 6d69135

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ This repository is part of the [React Job Simulator](https://profy.dev) where yo
22

33
## The Application
44

5-
The application is an error logging and monitoring tool similar to Sentry or Rollbar. You can find a deployed version of the main branch at [prolog.profy.dev](https://prolog.profy.dev).
5+
The application is an error logging and monitoring tool similar to Sentry or Rollbar. You can find a deployed version of the main branch at [prolog.profy.dev](https://prolog.profy.dev). Note: you have to click the "Dashboard" link in the upper right corner to see the app as shown in the screenshot below.
66

77
![The running application](docs/app.png)
88

next.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ const nextConfig = {
44
compiler: {
55
styledComponents: true,
66
},
7+
images: {
8+
domains: ["prolog-api.profy.dev"],
9+
},
710
};
811

912
module.exports = nextConfig;

pages/index.tsx renamed to pages/index.jsx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,24 @@
1-
import { Routes } from "@config/routes";
21
import styled from "styled-components";
3-
import type { NextPage } from "next";
2+
import { Routes } from "@config/routes";
43

54
const Header = styled.header`
65
width: 100%;
76
height: 80px;
87
padding: 0 2rem;
8+
box-sizing: border-box;
99
display: flex;
10+
justify-content: space-between;
1011
align-items: center;
1112
background: white;
1213
`;
1314

14-
const IssuesPage: NextPage = () => {
15+
const IssuesPage = () => {
1516
return (
1617
<div>
1718
<Header>
18-
<a href={Routes.projects}>Open Dashboard</a>
19+
{/* eslint-disable-next-line @next/next/no-img-element */}
20+
<img src="/icons/logo-large.svg" alt="Prolog logo" />
21+
<a href={Routes.projects}>Dashboard</a>
1922
</Header>
2023
</div>
2124
);

0 commit comments

Comments
 (0)