-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve & add xss payloads and structure of extension (#27)
* add: copy to clipboard Payloads (web browser) * improve & add xss payloads and structure of extension
- Loading branch information
Showing
2 changed files
with
35 additions
and
18 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,29 +1,33 @@ | ||
import styled from 'styled-components'; | ||
import {AiOutlineCopy} from 'react-icons/ai'; | ||
import SyntaxHighlighter from 'react-syntax-highlighter'; | ||
|
||
export const SyntaxHighlighterDesign = styled(SyntaxHighlighter)` | ||
min-width: 300px; | ||
`; | ||
export const PayloadsContainer = styled.div` | ||
display: flex; | ||
flex-direction: column; | ||
color: #fff; | ||
padding: 0 30px; | ||
position: relative; | ||
z-index: 1; | ||
margin-top: 80px; | ||
margin-top: 20px; | ||
width: 500px; | ||
`; | ||
|
||
|
||
export const CopyToClipboardIcon = styled.div` | ||
margin: 22px 0 0 5px; | ||
font-size: 25px; | ||
`; | ||
export const PayloadsCopyToClipboard = styled.div` | ||
display: flex; | ||
`; | ||
|
||
export const PayloadsHeading = styled.h2` | ||
export const PayloadsHeading = styled.h1` | ||
margin: 10px 0 10px 0; | ||
`; | ||
|
||
|
||
|
||
export const CopyToClipboard = styled.h2` | ||
`; | ||
|