Skip to content

Commit 8f16c57

Browse files
committed
applied initial information
1 parent d9bdd88 commit 8f16c57

File tree

9 files changed

+24
-47
lines changed

9 files changed

+24
-47
lines changed

index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<html lang="en">
33
<head>
44
<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" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>Vite + React + TS</title>
7+
<title>Thunder</title>
88
</head>
99
<body>
1010
<div id="root"></div>

public/icon.png

66.6 KB
Loading

public/thunder.png

57 KB
Loading

public/vite.svg

-1
This file was deleted.

src/App.css

+4-20
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,15 @@
66
}
77

88
.logo {
9-
height: 6em;
9+
height: 12em;
1010
padding: 1.5em;
1111
will-change: filter;
1212
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;
1914
}
2015

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);
3418
}
3519

3620
.card {

src/App.tsx

+10-19
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,23 @@
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+
43
import './App.css'
54

65
function App() {
7-
const [count, setCount] = useState(0)
86

97
return (
108
<>
119
<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" />
1712
</a>
1813
</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+
2819
<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
3021
</p>
3122
</>
3223
)

src/assets/react.svg

-1
This file was deleted.

src/index.css

+6-4
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,12 @@
1515

1616
a {
1717
font-weight: 500;
18-
color: #646cff;
18+
color: #9599e0;
1919
text-decoration: inherit;
2020
}
21+
2122
a:hover {
22-
color: #535bf2;
23+
color: #7d81d7;
2324
}
2425

2526
body {
@@ -46,11 +47,12 @@ button {
4647
cursor: pointer;
4748
transition: border-color 0.25s;
4849
}
50+
4951
button:hover {
5052
border-color: #646cff;
5153
}
52-
button:focus,
53-
button:focus-visible {
54+
55+
button:focus, button:focus-visible {
5456
outline: 4px auto -webkit-focus-ring-color;
5557
}
5658

src/main.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import React from 'react'
22
import ReactDOM from 'react-dom/client'
3+
34
import App from './App.tsx'
5+
46
import './index.css'
57

68
ReactDOM.createRoot(document.getElementById('root')!).render(

0 commit comments

Comments
 (0)