-
Notifications
You must be signed in to change notification settings - Fork 0
[#167163350] front end setup #1
Changes from 2 commits
4497aab
f4da088
a08dc0f
c5f5ed5
fc13b70
9e4f64e
d985984
d191eda
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" | ||
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
<title>Onboarding PA</title> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
<script src="../src/index.tsx"></script> | ||
</body> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// Styles | ||
// CoreUI Icons Set | ||
@import '../node_modules/@coreui/icons/css/coreui-icons.css'; | ||
// Bootstrap italia | ||
@import '../node_modules/bootstrap-italia/dist/css/bootstrap-italia.min.css'; | ||
// Import Main styles for this applicationsc | ||
@import 'scss/style.scss'; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import * as React from "react"; | ||
import * as ReactDOM from "react-dom"; | ||
import { App } from "./App"; | ||
|
||
it("renders without crashing", () => { | ||
const div = document.createElement("div"); | ||
ReactDOM.render(<App />, div); | ||
ReactDOM.unmountComponentAtNode(div); | ||
}); |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import * as React from "react"; | ||
|
||
import "./App.scss"; | ||
|
||
export const App: React.FC = () => { | ||
return ( | ||
<div className="App"> | ||
<h1 className="primary-bg white-color">Piattaforma Onboard PA</h1> | ||
</div> | ||
); | ||
}; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import * as React from "react"; | ||
import { render } from "react-dom"; | ||
import { App } from "./App"; | ||
|
||
render(<App />, document.getElementById("root")); |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// Import styles | ||
@import "../../node_modules/@coreui/coreui/scss/coreui"; | ||
|
||
// Temp fix for reactstrap | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. create a story in the backlog to remove the temp fix explaining when it can be removed + add link to the story in this comment + prefix the comment with There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The temp fix was added by CoreUI devs to fix a problem with right dropdown when used in app navbar There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. add the link to the story in the comment below the todo |
||
@import '../../node_modules/@coreui/coreui/scss/dropdown-menu-right'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
put tests under
__tests__
folders