Created
March 22, 2021 15:47
-
-
Save oarthursilva/f3f6d75ba4d56cf32cb229a22bcb48f0 to your computer and use it in GitHub Desktop.
SCN Workilist > Part 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.App { | |
text-align: center; | |
} | |
.App-logo { | |
height: 40vmin; | |
pointer-events: none; | |
} | |
@media (prefers-reduced-motion: no-preference) { | |
.App-logo { | |
animation: App-logo-spin infinite 20s linear; | |
} | |
} | |
.App-header { | |
background-color: #282c34; | |
min-height: 100vh; | |
display: flex; | |
flex-direction: column; | |
align-items: center; | |
justify-content: center; | |
font-size: calc(10px + 2vmin); | |
color: white; | |
} | |
ui5-link { | |
font-size: calc(10px + 2vmin); | |
} | |
.App-link { | |
color: #61dafb; | |
} | |
@keyframes App-logo-spin { | |
from { | |
transform: rotate(0deg); | |
} | |
to { | |
transform: rotate(360deg); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import { Avatar, ShellBar, Link } from '@ui5/webcomponents-react'; | |
import logo from './logo.svg'; | |
import './App.css'; | |
export default function App() { | |
return ( | |
<div className="App"> | |
<ShellBar | |
primaryTitle="Worklist App" | |
notificationCount="99" | |
showNotifications={true} | |
showProductSwitch={true} | |
> | |
<Avatar slot="logo" image={logo} /> | |
<Avatar slot="profile" image="https://github.com/afuscella.png" /> | |
</ShellBar> | |
<header className="App-header"> | |
<img src={logo} className="App-logo" alt="logo" /> | |
<p> | |
Edit <code>src/App.tsx</code> and save to reload. | |
</p> | |
<Link | |
className="App-link" | |
href="https://reactjs.org" | |
target="_blank" | |
> | |
Learn React | |
</Link> | |
</header> | |
</div> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment