This repository has been archived by the owner on Jun 30, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from anaclumos/1.0.3
- Loading branch information
Showing
9 changed files
with
192 additions
and
3 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<title>Bing Chat for All Browsers</title> | ||
<script src="js/vendor.js"></script> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
<script src="js/popup.js"></script> | ||
</body> | ||
</html> |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
import React from 'react' | ||
import ReactDOM from 'react-dom' | ||
// @ts-ignore | ||
import BingIcon from '../public/icon1024.png' | ||
|
||
const Popup = () => { | ||
return ( | ||
<> | ||
<a | ||
href="https://bing.com/chat" | ||
target="_blank" | ||
rel="noreferrer noopener nofollow" | ||
style={{ textDecoration: 'none' }} | ||
> | ||
<div style={{ display: 'grid', placeItems: 'center', width: '300px', height: '100px' }}> | ||
<button | ||
style={{ | ||
backgroundColor: 'white', | ||
color: 'black', | ||
border: '1px solid rgb(156 163 175)', | ||
padding: '10px 20px', | ||
borderRadius: '5px', | ||
fontSize: '1rem', | ||
cursor: 'pointer', | ||
boxShadow: '0 0 0 1px rgb(156 163 175), 0 1px 3px 0 rgb(156 163 175)', | ||
}} | ||
> | ||
<img src={BingIcon} style={{ width: '1rem', height: '1rem', padding: 'auto', verticalAlign: 'middle' }} /> | ||
<span style={{ margin: 'auto auto auto 5px', fontSize: '0.8rem' }}>Open Bing Chat</span> | ||
</button> | ||
</div> | ||
</a> | ||
<p | ||
style={{ | ||
margin: '0 10px', | ||
width: '300px', | ||
fontFamily: | ||
"ui-rounded, 'SF Pro Rounded', 'SF NS Rounded', ui-sans-serif, -apple-system, BlinkMacSystemFont, system-ui, -system-ui, sans-serif", | ||
fontSize: '0.8rem', | ||
fontWeight: 400, | ||
lineHeight: '1.5', | ||
color: 'rgb(156 163 175)', | ||
}} | ||
> | ||
Found a Bug?{' '} | ||
<a | ||
href="https://github.com/anaclumos/bing-chat-for-all-browsers" | ||
target="_blank" | ||
rel="noreferrer noopener nofollow" | ||
style={{ color: 'black', textDecoration: 'underline' }} | ||
> | ||
Let me know on GitHub | ||
</a> | ||
{'.'} | ||
<br /> | ||
Leave us a review for{' '} | ||
<a | ||
href="https://chrome.google.com/webstore/detail/bing-chat-for-all-browser/jofbglonpbndadajbafmmaklbfbkggpo" | ||
target="_blank" | ||
rel="noreferrer noopener nofollow" | ||
style={{ color: 'black', textDecoration: 'underline' }} | ||
> | ||
Chrome | ||
</a>{' '} | ||
or{' '} | ||
<a | ||
href="https://addons.mozilla.org/en-US/firefox/addon/bing-chat-for-all-browsers/" | ||
target="_blank" | ||
rel="noreferrer noopener nofollow" | ||
style={{ color: 'black', textDecoration: 'underline' }} | ||
> | ||
Firefox | ||
</a> | ||
. | ||
</p> | ||
</> | ||
) | ||
} | ||
|
||
ReactDOM.render( | ||
<React.StrictMode> | ||
<Popup /> | ||
</React.StrictMode>, | ||
document.getElementById('root') | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters