Skip to content

Commit

Permalink
Adding PatternFly4
Browse files Browse the repository at this point in the history
  • Loading branch information
LiorKGOW committed Apr 13, 2023
1 parent 001ff1d commit f3ed9a9
Show file tree
Hide file tree
Showing 4 changed files with 148 additions and 4 deletions.
140 changes: 140 additions & 0 deletions react_app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions react_app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@patternfly/react-core": "^4.276.8",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
Expand Down
1 change: 1 addition & 0 deletions react_app/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {
Route,
} from 'react-router-dom';
import './index.css';
import "@patternfly/react-core/dist/styles/base.css";
import reportWebVitals from './reportWebVitals';
import IndexPage from './pages/IndexPage';

Expand Down
10 changes: 6 additions & 4 deletions react_app/src/pages/IndexPage.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import React from 'react';
import { Button, TextContent, Text, TextVariants } from '@patternfly/react-core';

const IndexPage = () => (
<>
<h1>Welcome to EmoLens</h1>
<p>
This is the project of Guy & Lior
</p>
<TextContent>
<Text component={TextVariants.h1}>Welcome to EmoLens</Text>
<Text component={TextVariants.h5}>This is the project of Guy & Lior</Text>
</TextContent>
<Button variant="primary">Checking PF4 works</Button>
</>
);

Expand Down

0 comments on commit f3ed9a9

Please sign in to comment.