-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ec07d76
commit 58945a5
Showing
15 changed files
with
192 additions
and
120 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
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 |
---|---|---|
@@ -1,5 +1,58 @@ | ||
import { StyledButtonPrimary } from "./StyleButtonPrimary"; | ||
import Button from "react-bootstrap/Button"; | ||
import styled from "styled-components"; | ||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; | ||
import { faSignInAlt } from "@fortawesome/free-solid-svg-icons"; | ||
|
||
const style = `{ | ||
background: rgb(61,107,153); | ||
background: -moz-linear-gradient(221deg, rgba(61,107,153,1) -1.08%, rgba(51,102,153,1) 95.88%); | ||
background: -webkit-linear-gradient(221deg, rgba(61,107,153,1) -1.08%, rgba(51,102,153,1) 95.88%); | ||
background: linear-gradient(221deg, rgba(61,107,153,1) -1.08%, rgba(51,102,153,1) 95.88%); | ||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#3d6b99",endColorstr="#336699",GradientType=1); | ||
border: 1px solid rgb(61,107,153); | ||
align-items: center; | ||
display: flex; | ||
font-weight: 600; | ||
text-transform: uppercase; | ||
}`; | ||
|
||
const StyledButtonPrimary = styled(Button)` | ||
{ | ||
svg { | ||
padding-left: 0.2rem; | ||
} | ||
${style}; | ||
box-shadow: 0 0 0 0; | ||
&:focus, | ||
.focus, | ||
:not(:disabled):not(.disabled):active, | ||
:not(:disabled):not(.disabled).active, | ||
show > .dropdown-toggle { | ||
box-shadow: 0 0 0 0; | ||
} | ||
&:not(:disabled):not(.disabled):active:focus, | ||
:not(:disabled):not(.disabled).active:focus, | ||
show > .dropdown-toggle:focus { | ||
box-shadow: 0 0 0 0rem rgba(0, 0, 0, 0); | ||
} | ||
&:focus { | ||
border: 1px solid #6fa8e2; | ||
background-color: rgb(61, 107, 153); | ||
} | ||
} | ||
`; | ||
|
||
export const ButtonPrimary = (props) => { | ||
return <StyledButtonPrimary>{props.text}</StyledButtonPrimary>; | ||
return ( | ||
<div> | ||
<FontAwesomeIcon icon={["fab", "apple"]} /> | ||
<StyledButtonPrimary> | ||
{props.text} | ||
<FontAwesomeIcon icon={faSignInAlt} /> | ||
</StyledButtonPrimary> | ||
</div> | ||
); | ||
}; |
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 was deleted.
Oops, something went wrong.
31 changes: 0 additions & 31 deletions
31
src/components/generics/Buttons/StyleButtonPrimaryOutline.js
This file was deleted.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,5 @@ | ||
import { configureStore } from "@reduxjs/toolkit"; | ||
|
||
export const store = configureStore({ | ||
reducer: {}, | ||
}); |
Oops, something went wrong.