Commit 8f16c57 1 parent d9bdd88 commit 8f16c57 Copy full SHA for 8f16c57
File tree 9 files changed +24
-47
lines changed
9 files changed +24
-47
lines changed Original file line number Diff line number Diff line change 2
2
< html lang ="en ">
3
3
< head >
4
4
< meta charset ="UTF-8 " />
5
- < link rel ="icon " type ="image/svg+xml " href ="/vite.svg " />
5
+ < link rel ="icon " type ="image/png " href ="/icon.png " />
6
6
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
7
- < title > Vite + React + TS </ title >
7
+ < title > Thunder </ title >
8
8
</ head >
9
9
< body >
10
10
< div id ="root "> </ div >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 6
6
}
7
7
8
8
.logo {
9
- height : 6 em ;
9
+ height : 12 em ;
10
10
padding : 1.5em ;
11
11
will-change : filter;
12
12
transition : filter 300ms ;
13
- }
14
- .logo : hover {
15
- filter : drop-shadow (0 0 2em # 646cffaa );
16
- }
17
- .logo .react : hover {
18
- filter : drop-shadow (0 0 2em # 61dafbaa );
13
+ border-radius : 4em ;
19
14
}
20
15
21
- @keyframes logo-spin {
22
- from {
23
- transform : rotate (0deg );
24
- }
25
- to {
26
- transform : rotate (360deg );
27
- }
28
- }
29
-
30
- @media (prefers-reduced-motion : no-preference) {
31
- a : nth-of-type (2 ) .logo {
32
- animation : logo-spin infinite 20s linear;
33
- }
16
+ .logo : hover {
17
+ filter : drop-shadow (0 0 2em # 9599e0aa );
34
18
}
35
19
36
20
.card {
Original file line number Diff line number Diff line change 1
- import { useState } from 'react'
2
- import reactLogo from './assets/react.svg'
3
- import viteLogo from '/vite.svg'
1
+ import thunderLogo from '/thunder.png'
2
+
4
3
import './App.css'
5
4
6
5
function App ( ) {
7
- const [ count , setCount ] = useState ( 0 )
8
6
9
7
return (
10
8
< >
11
9
< div >
12
- < a href = "https://vitejs.dev" target = "_blank" >
13
- < img src = { viteLogo } className = "logo" alt = "Vite logo" />
14
- </ a >
15
- < a href = "https://react.dev" target = "_blank" >
16
- < img src = { reactLogo } className = "logo react" alt = "React logo" />
10
+ < a href = "https://github.com/thunder-app/thunder" target = "_blank" >
11
+ < img src = { thunderLogo } className = "logo" alt = "Thunder logo" />
17
12
</ a >
18
13
</ div >
19
- < h1 > Vite + React</ h1 >
20
- < div className = "card" >
21
- < button onClick = { ( ) => setCount ( ( count ) => count + 1 ) } >
22
- count is { count }
23
- </ button >
24
- < p >
25
- Edit < code > src/App.tsx</ code > and save to test HMR
26
- </ p >
27
- </ div >
14
+ < h1 > Thunder</ h1 >
15
+ < h2 > An open-source, cross-platform Lemmy client for iOS and Android</ h2 >
16
+ < p > Fully free of advertisements and trackers</ p >
17
+ < br />
18
+
28
19
< p className = "read-the-docs" >
29
- Click on the Vite and React logos to learn more
20
+ Click < a href = "https://github.com/thunder-app/thunder" > here </ a > to learn more
30
21
</ p >
31
22
</ >
32
23
)
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 15
15
16
16
a {
17
17
font-weight : 500 ;
18
- color : # 646cff ;
18
+ color : # 9599e0 ;
19
19
text-decoration : inherit;
20
20
}
21
+
21
22
a : hover {
22
- color : # 535bf2 ;
23
+ color : # 7d81d7 ;
23
24
}
24
25
25
26
body {
@@ -46,11 +47,12 @@ button {
46
47
cursor : pointer;
47
48
transition : border-color 0.25s ;
48
49
}
50
+
49
51
button : hover {
50
52
border-color : # 646cff ;
51
53
}
52
- button : focus ,
53
- button : focus-visible {
54
+
55
+ button : focus , button : focus -visible {
54
56
outline : 4px auto -webkit-focus-ring-color;
55
57
}
56
58
Original file line number Diff line number Diff line change 1
1
import React from 'react'
2
2
import ReactDOM from 'react-dom/client'
3
+
3
4
import App from './App.tsx'
5
+
4
6
import './index.css'
5
7
6
8
ReactDOM . createRoot ( document . getElementById ( 'root' ) ! ) . render (
You can’t perform that action at this time.
0 commit comments