Skip to content

Commit

Permalink
🧹 Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rushi committed Sep 7, 2023
1 parent 1bcf299 commit 14fa503
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
1 change: 1 addition & 0 deletions src/components/Buttons/SubmitButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export const SubmitButton = ({

return (
<Button
type="submit"
color={color}
disabled={showTransition || disabled}
variant={variant}
Expand Down
20 changes: 10 additions & 10 deletions src/icons/Tutorials/TutorialsBadgeIcon.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@ export const TutorialsBadgeIcon = (props) => {
colorInterpolationFilters="sRGB"
filterUnits="userSpaceOnUse"
>
<feFlood floodOpacity="0" result="BackgroundImageFix"></feFlood>
<feFlood floodOpacity="0" result="BackgroundImageFix" />
<feColorMatrix
in="SourceAlpha"
result="hardAlpha"
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
></feColorMatrix>
<feOffset dy="8"></feOffset>
<feGaussianBlur stdDeviation="16"></feGaussianBlur>
<feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.12 0"></feColorMatrix>
<feBlend in2="BackgroundImageFix" result="effect1_dropShadow_10041_286941"></feBlend>
<feBlend in="SourceGraphic" in2="effect1_dropShadow_10041_286941" result="shape"></feBlend>
/>
<feOffset dy="8" />
<feGaussianBlur stdDeviation="16" />
<feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.12 0" />
<feBlend in2="BackgroundImageFix" result="effect1_dropShadow_10041_286941" />
<feBlend in="SourceGraphic" in2="effect1_dropShadow_10041_286941" result="shape" />
</filter>
<linearGradient
id="paint0_linear_10041_286941"
Expand All @@ -54,9 +54,9 @@ export const TutorialsBadgeIcon = (props) => {
y2="126.609"
gradientUnits="userSpaceOnUse"
>
<stop stopColor="#583DFF"></stop>
<stop offset="0.79" stopColor="#F849C7"></stop>
<stop offset="1" stopColor="#FFC03D"></stop>
<stop stopColor="#583DFF" />
<stop offset="0.79" stopColor="#F849C7" />
<stop offset="1" stopColor="#FFC03D" />
</linearGradient>
</defs>
</svg>
Expand Down
2 changes: 1 addition & 1 deletion src/icons/Tutorials/TutorialsButtonIcon.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const TutorialsButtonIcon = (props) => {
{...props}
className={className}
>
<rect width="32" height="30" fill="url(#paint0_linear_3440_197284)" rx="4"></rect>
<rect width="32" height="30" fill="url(#paint0_linear_3440_197284)" rx="4" />
<path
stroke="#fff"
strokeLinecap="round"
Expand Down
14 changes: 7 additions & 7 deletions src/icons/Tutorials/TutorialsSquareIcon.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,23 @@ export const TutorialsSquareIcon = (props) => {
{...props}
className={className}
>
<rect width="136" height="30" fill="url(#paint0_linear_9380_603642)" rx="4"></rect>
<rect width="136" height="30" fill="url(#paint0_linear_9380_603642)" rx="4" />
<path
stroke="#fff"
strokeLinecap="round"
strokeLinejoin="round"
d="M36.444 15.104s-.364 3.347-.364 3.438c2.367 0 5.007 2.458 5.007 2.458s2.184-2.458 5.28-2.458c.044-.058-.364-3.438-.364-3.438"
></path>
/>
<path
stroke="#fff"
strokeLinecap="round"
strokeLinejoin="round"
d="M41.142 10l-8.69 3.578 8.69 3.18 8.69-3.18L41.142 10zM49.8 13.682v4.856"
></path>
/>
<path
fill="#fff"
d="M57.58 11.71v-.937h6.545v.937h-2.744v7.79h-1.057v-7.79H57.58zm10.874 5.114v-3.87h1.006V19.5h-1.006v-1.108h-.068a2.148 2.148 0 01-.716.848c-.324.23-.733.345-1.227.345-.41 0-.773-.09-1.091-.268a1.88 1.88 0 01-.75-.818c-.182-.367-.273-.828-.273-1.385v-4.16h1.006v4.091c0 .478.133.858.4 1.142.27.285.614.427 1.031.427.25 0 .505-.064.763-.192.262-.128.48-.324.657-.588.179-.264.268-.601.268-1.01zm5.294-3.87v.853h-3.392v-.853h3.392zm-2.403-1.568h1.006v6.239c0 .284.04.497.123.64a.64.64 0 00.324.28c.133.046.274.069.422.069.11 0 .202-.006.273-.017l.17-.035.205.904a2.046 2.046 0 01-.286.077 2.103 2.103 0 01-.464.042c-.284 0-.563-.06-.836-.183a1.66 1.66 0 01-.673-.558c-.176-.25-.264-.566-.264-.946v-6.512zm6.105 8.25c-.591 0-1.11-.14-1.556-.421a2.866 2.866 0 01-1.04-1.18c-.246-.507-.37-1.098-.37-1.774 0-.681.124-1.277.37-1.785a2.86 2.86 0 011.04-1.185c.447-.281.965-.422 1.556-.422.59 0 1.108.14 1.551.422.446.281.793.676 1.04 1.185.25.508.375 1.103.375 1.785 0 .677-.125 1.267-.375 1.773-.247.506-.594.9-1.04 1.18-.443.282-.96.422-1.551.422zm0-.903c.449 0 .818-.115 1.108-.345.29-.23.504-.533.643-.908.14-.375.21-.781.21-1.219 0-.437-.07-.845-.21-1.223a2.06 2.06 0 00-.643-.916c-.29-.233-.66-.35-1.108-.35-.449 0-.818.117-1.108.35a2.06 2.06 0 00-.644.916 3.51 3.51 0 00-.208 1.223c0 .438.07.844.208 1.22.14.374.354.677.644.907.29.23.659.345 1.108.345zm4.1.767v-6.546h.972v.99h.069c.119-.325.335-.588.647-.79a1.907 1.907 0 011.057-.302c.074 0 .166.002.277.005.111.002.195.007.252.012v1.023a2.99 2.99 0 00-.235-.038c-.119-.02-.245-.03-.379-.03-.318 0-.602.067-.852.2a1.47 1.47 0 00-.801 1.334V19.5H81.55zm4.066 0v-6.546h1.005V19.5h-1.005zm.511-7.636a.715.715 0 01-.507-.2.644.644 0 01-.209-.482c0-.188.07-.348.209-.482a.715.715 0 01.507-.2.7.7 0 01.503.2.637.637 0 01.213.482.638.638 0 01-.213.481.7.7 0 01-.503.2zm3.863 7.79a2.66 2.66 0 01-1.13-.235 1.939 1.939 0 01-.805-.686c-.199-.301-.298-.665-.298-1.091 0-.375.073-.679.221-.912.148-.236.345-.42.593-.554.247-.133.52-.233.818-.298.3-.068.603-.122.907-.162.398-.051.72-.09.968-.115.25-.029.431-.075.545-.14.117-.066.175-.18.175-.342v-.034c0-.42-.115-.747-.345-.98-.228-.233-.573-.35-1.036-.35-.48 0-.856.106-1.13.316-.272.21-.464.435-.574.673l-.955-.34c.17-.398.398-.708.682-.93.287-.224.6-.38.937-.468.341-.091.677-.137 1.006-.137.21 0 .452.026.724.077.276.048.542.15.797.303.259.153.473.384.644.694.17.31.256.725.256 1.245V19.5h-1.006v-.886h-.051a1.767 1.767 0 01-.341.456c-.16.162-.37.3-.635.413-.264.114-.587.17-.967.17zm.153-.904c.398 0 .733-.078 1.006-.234a1.595 1.595 0 00.835-1.385v-.92c-.043.05-.136.097-.281.14-.142.04-.307.075-.495.106a22.303 22.303 0 01-.963.128c-.261.034-.505.09-.733.166a1.264 1.264 0 00-.545.337c-.136.148-.205.35-.205.605 0 .35.13.614.388.793.261.176.592.264.993.264zm5.288-7.977V19.5h-1.006v-8.727h1.006zm6.078 3.648l-.903.255a1.682 1.682 0 00-.252-.439 1.216 1.216 0 00-.443-.358c-.187-.093-.427-.14-.72-.14-.4 0-.734.092-1.001.277-.265.181-.397.413-.397.694 0 .25.091.448.273.593.182.144.466.265.852.362l.972.238c.585.143 1.021.36 1.308.652.287.29.43.664.43 1.121 0 .375-.107.71-.323 1.006a2.151 2.151 0 01-.895.699c-.384.17-.83.255-1.338.255-.668 0-1.22-.145-1.658-.434-.438-.29-.715-.713-.831-1.27l.955-.239c.09.352.262.617.515.793.256.176.59.264 1.002.264.468 0 .84-.1 1.116-.298.279-.202.418-.444.418-.725a.762.762 0 00-.239-.57c-.159-.157-.403-.273-.733-.35l-1.09-.256c-.6-.142-1.04-.362-1.322-.66-.278-.302-.417-.678-.417-1.13 0-.369.103-.696.31-.98.21-.284.496-.507.857-.669a3.008 3.008 0 011.236-.243c.648 0 1.156.142 1.526.427.372.284.636.659.792 1.125z"
></path>
/>
<defs>
<linearGradient
id="paint0_linear_9380_603642"
Expand All @@ -39,9 +39,9 @@ export const TutorialsSquareIcon = (props) => {
y2="72.849"
gradientUnits="userSpaceOnUse"
>
<stop stopColor="#583DFF"></stop>
<stop offset="0.79" stopColor="#F849C7"></stop>
<stop offset="1" stopColor="#FFC03D"></stop>
<stop stopColor="#583DFF" />
<stop offset="0.79" stopColor="#F849C7" />
<stop offset="1" stopColor="#FFC03D" />
</linearGradient>
</defs>
</svg>
Expand Down
1 change: 0 additions & 1 deletion src/stories/Forms/SubmitButton.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ export const Default = ({ isLoading, ...rest }) => {
color="danger"
isLoading={showLoading}
onClick={handleClick}

>
Button with really long text
</SubmitButton>
Expand Down

0 comments on commit 14fa503

Please sign in to comment.