Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# dependencies
/server/node_modules
/ui/node_modules
/ui/.eslintcache
/.pnp
.pnp.js

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ As you can see in the screenshot, the lead cards follow a similar format and con
* Contact email

### Notes
* For the icons in the UI, you can use something like font-awesome or SVG icons, whatever you choose.
* For the icons in the UI, you can use something like SVG icons or font-awesome, whatever you choose.
* There are jobs already loaded into the database
* Feel free to use your own styling solution: CSS-in-JS (styled-components, emotion, etc), CSS Modules, Tailwind, plain CSS or Sass.

## Getting Started
We have provided a bit of boilerplate code that you can use to get started. You are **not** required to use this boilerplate, so feel free to throw it all away and start fresh if you prefer.
Expand Down
15,059 changes: 0 additions & 15,059 deletions ui/package-lock.json

This file was deleted.

17 changes: 11 additions & 6 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
"name": "hipages-tech-test-full-stack-engineer-ui",
"version": "0.1.0",
"private": true,
"dependencies": {
"react": "^16.7.0",
"react-dom": "^16.7.0",
"react-scripts": "2.1.2"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
Expand All @@ -21,5 +16,15 @@
"not dead",
"not ie <= 11",
"not op_mini all"
]
],
"dependencies": {
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-scripts": "^4.0.1"
},
"devDependencies": {
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"typescript": "^4.1.2"
}
}
32 changes: 0 additions & 32 deletions ui/src/App.css

This file was deleted.

26 changes: 0 additions & 26 deletions ui/src/App.js

This file was deleted.

9 changes: 9 additions & 0 deletions ui/src/App.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import React from 'react';

export default function App() {
return (
<div>
Edit a file and save to reload.
</div>
);
};
2 changes: 0 additions & 2 deletions ui/src/index.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700");

/* $primary: #ff7b11; */

body {
color: #303034;
margin: 0;
Expand Down
2 changes: 1 addition & 1 deletion ui/src/index.js → ui/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ import ReactDOM from 'react-dom';
import './index.css';
import App from './App';

ReactDOM.render(<App />, document.getElementById('root'));
ReactDOM.render(<App />, document.getElementById('root'));
1 change: 1 addition & 0 deletions ui/src/react-app-env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/// <reference types="react-scripts" />
26 changes: 26 additions & 0 deletions ui/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"compilerOptions": {
"target": "es5",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx"
},
"include": [
"src"
]
}
Loading