File tree Expand file tree Collapse file tree 2 files changed +24
-13
lines changed Expand file tree Collapse file tree 2 files changed +24
-13
lines changed Original file line number Diff line number Diff line change 29
29
}
30
30
31
31
.App-link {
32
+ margin-top : 2rem ;
32
33
color : # 61dafb ;
33
34
}
34
35
36
+ .App code {
37
+ background : # FFF3 ;
38
+ padding : 4px 8px ;
39
+ border-radius : 4px ;
40
+ }
41
+
35
42
@keyframes App-logo-spin {
36
43
from {
37
44
scale : 1.0 ;
Original file line number Diff line number Diff line change @@ -7,18 +7,22 @@ const App: Component = () => {
7
7
const [ count , setCount ] = createSignal ( 0 ) ,
8
8
timer = setInterval ( ( ) => setCount ( count ( ) + 1 ) , 1000 ) ;
9
9
onCleanup ( ( ) => clearInterval ( timer ) ) ;
10
- return (
11
- < div class = "App" >
12
- < header class = "App-header" >
13
- < img src = { logo } class = "App-logo" alt = "logo" />
14
- < p >
15
- Edit < code > src/App.tsx</ code > and save to reload. < code > { count ( ) } </ code > and counting...
16
- </ p >
17
- < a class = "App-link" href = "https://solidjs.com" target = "_blank" rel = "noopener noreferrer" >
18
- < img src = { wordmark } class = "App-wordmark" alt = "wordmark" />
19
- </ a >
20
- </ header >
21
- </ div >
22
- ) } ;
10
+ return (
11
+ < div class = "App" >
12
+ < header class = "App-header" >
13
+ < img src = { logo } class = "App-logo" alt = "logo" />
14
+ < a class = "App-link" href = "https://solidjs.com" target = "_blank" rel = "noopener noreferrer" >
15
+ < img src = { wordmark } class = "App-wordmark" alt = "wordmark" />
16
+ </ a >
17
+ < p >
18
+ Edit < code > src/App.tsx</ code > and save to reload.
19
+ </ p >
20
+ < p >
21
+ Page has been open for < code > { count } </ code > seconds.
22
+ </ p >
23
+ </ header >
24
+ </ div >
25
+ ) ;
26
+ } ;
23
27
24
28
export default App ;
You can’t perform that action at this time.
0 commit comments