Skip to content

Commit

Permalink
Fix: multiple console errors
Browse files Browse the repository at this point in the history
  • Loading branch information
varundhand committed Oct 24, 2023
1 parent 584ee08 commit 34df827
Show file tree
Hide file tree
Showing 16 changed files with 35 additions and 33 deletions.
2 changes: 1 addition & 1 deletion src/assests/images/cloud_infrastructure.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/assests/images/education.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/assests/images/jsFramework.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/assests/images/manOnTable.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/assests/images/programmer.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/assests/images/projects_image.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/assests/images/ui_ux_design.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/button/Button.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default function Button({ text, className, href, newTab, theme }) {
return (
<div className={className}>
<a
class="main-button"
className="main-button"
href={href}
target={newTab && "_blank"}
style={{
Expand Down
3 changes: 2 additions & 1 deletion src/components/socialMedia/SocialMedia.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ const IconWrapper = styled.span`
export default function socialMedia(props) {
return (
<div className="social-media-div">
{socialMediaLinks.map((media) => {
{socialMediaLinks.map((media, i) => {
return (
<a
key={i}
href={media.link}
className={`icon-button`}
target="_blank"
Expand Down
2 changes: 1 addition & 1 deletion src/components/topButton/TopButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default function TopButton({ theme }) {
onMouseEnter={() => onMouseEnter(theme.text, theme.body)}
onMouseLeave={() => onMouseLeave(theme.body, theme.text)}
>
<i class="fas fa-arrow-up" id="arrow" aria-hidden="true" />
<i className="fas fa-arrow-up" id="arrow" aria-hidden="true" />
</div>
);
}
6 changes: 3 additions & 3 deletions src/containers/skills/CloudInfraImg.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ export default class CloudInfraImg extends Component {
y2="120.78"
gradientUnits="userSpaceOnUse"
>
<stop offset="0" stop-color="gray" stop-opacity="0.25" />
<stop offset="0.54" stop-color="gray" stop-opacity="0.12" />
<stop offset="1" stop-color="gray" stop-opacity="0.1" />
<stop offset="0" stopColor="gray" stopOpacity="0.25" />
<stop offset="0.54" stopColor="gray" stopOpacity="0.12" />
<stop offset="1" stopColor="gray" stopOpacity="0.1" />
</linearGradient>
<linearGradient
id="2394db48-9094-48a1-80b4-38413320a0c3"
Expand Down
16 changes: 8 additions & 8 deletions src/containers/skills/DataScienceImg.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ export default class DataScienceImg extends Component {
height="272"
fill="none"
stroke={theme.text}
stroke-miterlimit="10"
stroke-width="2"
strokeMiterlimit="10"
strokeWidth="2"
/>
<path
d="M352.468,237.56768A94,94,0,0,0,286,77.09967v94Z"
Expand Down Expand Up @@ -78,8 +78,8 @@ export default class DataScienceImg extends Component {
height="272"
fill="none"
stroke={theme.text}
stroke-miterlimit="10"
stroke-width="2"
strokeMiterlimit="10"
strokeWidth="2"
/>
<rect
x="175"
Expand Down Expand Up @@ -231,15 +231,15 @@ export default class DataScienceImg extends Component {
height="272"
fill="none"
stroke={theme.text}
stroke-miterlimit="10"
stroke-width="2"
strokeMiterlimit="10"
strokeWidth="2"
/>
<polyline
points="556 227.5 556 435.5 757 435.5"
fill="none"
stroke={theme.text}
stroke-miterlimit="10"
stroke-width="2"
strokeMiterlimit="10"
strokeWidth="2"
/>
<rect
x="567"
Expand Down
6 changes: 3 additions & 3 deletions src/containers/skills/DesignImg.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ export default class DesignImg extends Component {
y2="679.56"
gradientUnits="userSpaceOnUse"
>
<stop offset="0" stop-color="gray" stop-opacity="0.25" />
<stop offset="0.54" stop-color="gray" stop-opacity="0.12" />
<stop offset="1" stop-color="gray" stop-opacity="0.1" />
<stop offset="0" stopColor="gray" stopOpacity="0.25" />
<stop offset="0.54" stopColor="gray" stopOpacity="0.12" />
<stop offset="1" stopColor="gray" stopOpacity="0.1" />
</linearGradient>
<linearGradient
id="72a3db62-0825-44ad-a640-19754e14ba99"
Expand Down
7 changes: 4 additions & 3 deletions src/containers/skills/SkillSection.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ class SkillSection extends Component {
const theme = this.props.theme;
return (
<div>
{skills.data.map((skill) => {
{skills.data.map((skill, i) => {
return (
<div className="skills-main-div">
<div key={i} className="skills-main-div">
<Fade left duration={2000}>
<div className="skills-image-div">
{/* <img
Expand All @@ -47,9 +47,10 @@ class SkillSection extends Component {
</Fade>
<Fade right duration={2000}>
<div>
{skill.skills.map((skillSentence) => {
{skill.skills.map((skillSentence, i) => {
return (
<p
key={i}
className="subTitle skills-text"
style={{ color: theme.secondaryText }}
>
Expand Down
6 changes: 3 additions & 3 deletions src/pages/education/EducationImg.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ export default class EducationImg extends Component {
gradientTransform="translate(3217.53309 1009.65784) rotate(90)"
gradientUnits="userSpaceOnUse"
>
<stop offset="0" stop-color="gray" stop-opacity="0.25" />
<stop offset="0.53514" stop-color="gray" stop-opacity="0.12" />
<stop offset="1" stop-color="gray" stop-opacity="0.1" />
<stop offset="0" stopColor="gray" stopOpacity="0.25" />
<stop offset="0.53514" stopColor="gray" stopOpacity="0.12" />
<stop offset="1" stopColor="gray" stopOpacity="0.1" />
</linearGradient>
</defs>
<title>Graduation</title>
Expand Down
6 changes: 3 additions & 3 deletions src/pages/projects/ProjectsImg.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ export default class ProjectsImg extends Component {
y2="522.9"
gradientUnits="userSpaceOnUse"
>
<stop offset="0" stop-color="gray" stop-opacity="0.25" />
<stop offset="0.54" stop-color="gray" stop-opacity="0.12" />
<stop offset="1" stop-color="gray" stop-opacity="0.1" />
<stop offset="0" stopColor="gray" stopOpacity="0.25" />
<stop offset="0.54" stopColor="gray" stopOpacity="0.12" />
<stop offset="1" stopColor="gray" stopOpacity="0.1" />
</linearGradient>
</defs>
<title>mind map</title>
Expand Down

0 comments on commit 34df827

Please sign in to comment.