Skip to content

Commit 39f8e88

Browse files
committed
Started conversion of functional components
- Intermediate step to rename app.tsx to App.tsx - Converted About to class component. - Separated semantic of track overlays and popups (like About).
1 parent aec1743 commit 39f8e88

File tree

17 files changed

+962
-831
lines changed

17 files changed

+962
-831
lines changed

src/app.css renamed to src/App1.css

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,20 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*/
55

6-
:root {
7-
font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
6+
* {
7+
box-sizing: border-box;
8+
}
9+
10+
body {
11+
margin: 0;
12+
width: 100vw;
13+
height: 100vh;
14+
15+
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
816
line-height: 1.5;
917
font-weight: 400;
1018

1119
color-scheme: light dark;
12-
color: rgba(255, 255, 255, 0.87);
13-
background-color: #242424;
1420

1521
font-synthesis: none;
1622
text-rendering: optimizeLegibility;
@@ -28,17 +34,6 @@ a:hover {
2834
color: #535bf2;
2935
}
3036

31-
body {
32-
margin: 0;
33-
width: 100vw;
34-
height: 100vh;
35-
}
36-
37-
h1 {
38-
font-size: 3.2em;
39-
line-height: 1.1;
40-
}
41-
4237
button {
4338
border-radius: 8px;
4439
border: 1px solid transparent;

src/app.tsx renamed to src/App1.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class App extends ComponentBase {
2121
return (
2222
<ErrorBoundary>
2323
<div id="wrapper">
24-
<div id="welcome" class="welcome">
24+
<div>
2525
<img src={logo} style="height:80pt;" />
2626
<h1>Welcome to Banda Animada de Samba Chemnitz!</h1>
2727
<div id="loading-message-wrapper">

0 commit comments

Comments
 (0)