Skip to content

Commit 78db51a

Browse files
authored
bump version & update feedback form url (#56)
1 parent 8b3f265 commit 78db51a

File tree

3 files changed

+48
-43
lines changed

3 files changed

+48
-43
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Wallet Guard: Browse Web3 Securely",
3-
"version": "0.8.1",
3+
"version": "0.8.2",
44
"description": "A browser extension for detecting phishing attacks on crypto wallets",
55
"main": "index.js",
66
"scripts": {

src/components/common/Feedback.tsx

Lines changed: 46 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,56 @@
1-
import React, { useEffect, useState } from 'react';
2-
import { AiFillQuestionCircle, AiOutlineQuestionCircle } from 'react-icons/ai';
3-
import { MdFeedback} from 'react-icons/md';
1+
import React, { useState } from 'react';
2+
import { AiOutlineQuestionCircle } from 'react-icons/ai';
3+
import { MdFeedback } from 'react-icons/md';
44
import { FaShare } from 'react-icons/fa';
5-
import posthog from 'posthog-js'
6-
5+
import posthog from 'posthog-js';
76

87
export function Feedback() {
9-
const [showFeedback, setShowFeedback] = useState<boolean>(false);
8+
const [showFeedback, setShowFeedback] = useState<boolean>(false);
109

11-
const toggleFeedback = () => {
12-
posthog.capture('toggle feedback')
13-
setShowFeedback(!showFeedback)
14-
}
10+
const toggleFeedback = () => {
11+
posthog.capture('toggle feedback');
12+
setShowFeedback(!showFeedback);
13+
};
1514

16-
return (
17-
<div>
18-
{
19-
showFeedback &&
20-
<div style={{ position: 'fixed', bottom: '0px', right: '0px', paddingRight: '1%', paddingBottom: '4%' }}>
21-
<div className="card h-100" style={{ backgroundColor: '#121212', minWidth: '220px' }}>
22-
<div className="card-body">
23-
<div className="row pb-3">
24-
<div className="col-3">
25-
<AiOutlineQuestionCircle size={'25'} color='white' />
26-
</div>
27-
<div className='col-9'>
28-
<a href="https://docs.google.com/forms/d/e/1FAIpQLScQ-g4WB3xFoO8_6cF5yXGu0myqcKdj4QhWi3LD9AKfwLaicQ/viewform?usp=sf_link" target="_blank">Submit Feedback</a>
29-
</div>
30-
</div>
31-
<div className="row">
32-
<div className="col-3">
33-
<FaShare size={'25'} color='white' />
34-
</div>
35-
<div className='col-9'>
36-
<a href="https://chrome.google.com/webstore/detail/wallet-guard/pdgbckgdncnhihllonhnjbdoighgpimk" target="_blank">Leave a Review</a>
37-
</div>
38-
</div>
15+
return (
16+
<div>
17+
{showFeedback && (
18+
<div style={{ position: 'fixed', bottom: '0px', right: '0px', paddingRight: '1%', paddingBottom: '4%' }}>
19+
<div className="card h-100" style={{ backgroundColor: '#121212', minWidth: '220px' }}>
20+
<div className="card-body">
21+
<div className="row pb-3">
22+
<div className="col-3">
23+
<AiOutlineQuestionCircle size={'25'} color="white" />
24+
</div>
25+
<div className="col-9">
26+
<a href="https://forms.gle/EmFF6AJWjkux1xku5" target="_blank">
27+
Submit Feedback
28+
</a>
29+
</div>
30+
</div>
31+
<div className="row">
32+
<div className="col-3">
33+
<FaShare size={'25'} color="white" />
34+
</div>
35+
<div className="col-9">
36+
<a
37+
href="https://chrome.google.com/webstore/detail/wallet-guard/pdgbckgdncnhihllonhnjbdoighgpimk"
38+
target="_blank"
39+
>
40+
Leave a Review
41+
</a>
3942
</div>
4043
</div>
4144
</div>
42-
}
43-
44-
<div style={{ position: 'fixed', bottom: '0px', right: '0px', paddingRight: '1%', paddingBottom: '1%' }}>
45-
<button>
46-
<MdFeedback size={'35px'} color='gray' onClick={() => toggleFeedback()} />
47-
</button>
4845
</div>
4946
</div>
50-
)
51-
}
47+
)}
48+
49+
<div style={{ position: 'fixed', bottom: '0px', right: '0px', paddingRight: '1%', paddingBottom: '1%' }}>
50+
<button>
51+
<MdFeedback size={'35px'} color="gray" onClick={() => toggleFeedback()} />
52+
</button>
53+
</div>
54+
</div>
55+
);
56+
}

src/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "Wallet Guard: Browse Web3 Securely",
44
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0SMGNwLFsP2k1jAD54vtDqLJuIpeZWCc9gdvo2N8hzE1qIkOt29ynU1VgkJbtfuWHqWSyOCo1ljs2MjbqqFjG4qz5o3ZrEAMwmEbWGCuPddUIIiWIK0oF+BkwZiRpRS2nw/i9Dmeusf0eOlxxLYD0NpKszX73lqGt4LBIY8Wva7vmqdnKPa1F6+DDZviXcBRa8CLCzqDujTjON37o+NvQOq2u49UzVXr/DcePFrUTnnjdNkKTQkLlH00lwvxUUJl0g5IVdlxNgZXPY/C6P39YIIxsBFJH0rXvQrLgED6NGR17CBnLhOmmYghku17yoUGg3KrT4aeh8+uG5NrQZuqGwIDAQAB",
55
"description": "Wallet Guard acts as a security companion to your crypto wallet of choice, so you can browse at ease.",
6-
"version": "0.8.1",
6+
"version": "0.8.2",
77
"icons": {
88
"128": "images/wg_logos/logo_128x128.png"
99
},

0 commit comments

Comments
 (0)