1
- import './App.css' ;
1
+ import './App.css'
2
2
3
3
function App ( ) {
4
4
return (
5
- < div className = "p-3 bg-slate-50 text-slate-800 text-sm w-96 " >
6
- < h1 className = "text-lg font-bold text-center " > Welcome to use</ h1 >
7
- < h1 className = "text-2xl font-bold text-center " > PTE Core Sub-Scores</ h1 >
8
- < h1 className = "text-lg font-bold text-center " > Chrome Extension!</ h1 >
5
+ < div className = "w-96 bg-slate-50 p-3 text-sm text-slate-800 " >
6
+ < h1 className = "text-center text- lg font-bold" > Welcome to use</ h1 >
7
+ < h1 className = "text-center text- 2xl font-bold" > PTE Core Sub-Scores</ h1 >
8
+ < h1 className = "text-center text- lg font-bold" > Chrome Extension!</ h1 >
9
9
< ul className = "mt-1" >
10
10
< li >
11
11
1. Visit your{ ' ' }
12
12
< a
13
13
className = "text-blue-600"
14
14
href = "https://mypte.pearsonpte.com/my-activity"
15
15
onClick = { ( ) => {
16
- chrome . tabs . create ( { url : 'https://mypte.pearsonpte.com/my-activity' } ) ;
16
+ chrome . tabs . create ( {
17
+ url : 'https://mypte.pearsonpte.com/my-activity' ,
18
+ } )
17
19
} }
18
20
>
19
21
PTE score page
20
22
</ a >
21
23
</ li >
22
- < li > 2. Then you'll see a panel including your sub-scores, CLB levels, etc.</ li >
24
+ < li >
25
+ 2. Then you'll see a panel including your sub-scores, CLB levels, etc.
26
+ </ li >
23
27
</ ul >
24
28
< div className = "mt-2" >
25
- If you found this helpful, feel free to sponsor me for a cup of coffee! ☕ :)
29
+ If you found this helpful, feel free to sponsor me for a cup of coffee!
30
+ ☕ :)
26
31
</ div >
27
32
< div >
28
33
Your name will appear on the{ ' ' }
29
34
< a
30
35
className = "text-blue-500"
31
36
href = ""
32
37
onClick = { ( ) => {
33
- chrome . tabs . create ( { url : chrome . runtime . getURL ( 'DonationList.html' ) } ) ;
38
+ chrome . tabs . create ( {
39
+ url : 'https://gaohaoyang.github.io/pte-crx-page/?scrollTo=donation' ,
40
+ } )
34
41
} }
35
42
>
36
43
donation list.
37
- </ a > { ' ' }
38
- ⭐
44
+ </ a >
45
+ </ div >
46
+ < div className = "mt-2" >
47
+ You can support me through the following methods.
39
48
</ div >
40
- < div className = "mt-2" > You can support me through the following methods.</ div >
41
- < table className = "mt-1 border border-slate-400 w-full text-center" >
49
+ < table className = "mt-1 w-full border border-slate-400 text-center" >
42
50
< tbody >
43
51
< tr className = "border-b border-slate-400" >
44
52
< td className = "border-r border-slate-400 py-4" >
@@ -50,7 +58,7 @@ function App() {
50
58
< td className = "border-r border-slate-400" > PayPal</ td >
51
59
< td className = "flex flex-col items-center" >
52
60
< img
53
- className = "w -20 h -20"
61
+ className = "h -20 w -20"
54
62
src = "https://cdn.jsdelivr.net/gh/Gaohaoyang/pics/pte/QR%20Code.png"
55
63
alt = ""
56
64
/>
@@ -60,7 +68,7 @@ function App() {
60
68
onClick = { ( ) => {
61
69
chrome . tabs . create ( {
62
70
url : 'https://www.paypal.com/donate/?business=NB2D3UXSQKDKU&no_recurring=0&item_name=Thanks+for+your+support%21+I+really+appreciate+it.+Have+a+great+day%21¤cy_code=CAD' ,
63
- } ) ;
71
+ } )
64
72
} }
65
73
>
66
74
PayPal Donation Link
@@ -71,7 +79,7 @@ function App() {
71
79
< td className = "border-r border-slate-400" > Wechat Pay</ td >
72
80
< td className = "flex flex-col items-center" >
73
81
< img
74
- className = "w -20 h -20"
82
+ className = "h -20 w -20"
75
83
src = "https://cdn.jsdelivr.net/gh/Gaohaoyang/pics/pte/wechatPay.png"
76
84
alt = ""
77
85
/>
@@ -81,7 +89,7 @@ function App() {
81
89
< td className = "border-r border-slate-400" > AliPay</ td >
82
90
< td className = "flex flex-col items-center" >
83
91
< img
84
- className = "w -20 h -20"
92
+ className = "h -20 w -20"
85
93
src = "https://cdn.jsdelivr.net/gh/Gaohaoyang/pics/pte/Alipay.png"
86
94
alt = ""
87
95
/>
@@ -90,7 +98,7 @@ function App() {
90
98
</ tbody >
91
99
</ table >
92
100
</ div >
93
- ) ;
101
+ )
94
102
}
95
103
96
- export default App ;
104
+ export default App
0 commit comments