From fed79dd5ddd47bc9f742cbf2e55ef935cb2592b2 Mon Sep 17 00:00:00 2001 From: Arush Date: Sat, 17 Aug 2024 16:17:40 -0400 Subject: [PATCH] rename Javascript to JavaScript, more changes to about js code --- .../homepage/hero-section/index.jsx | 277 +++++++++--------- app/components/homepage/hero-section/test.js | 17 ++ app/components/homepage/skills/index.jsx | 2 +- utils/data/personal-data.js | 2 +- utils/data/skills.js | 2 +- 5 files changed, 162 insertions(+), 138 deletions(-) create mode 100644 app/components/homepage/hero-section/test.js diff --git a/app/components/homepage/hero-section/index.jsx b/app/components/homepage/hero-section/index.jsx index 6fa7de6..4037ca6 100644 --- a/app/components/homepage/hero-section/index.jsx +++ b/app/components/homepage/hero-section/index.jsx @@ -1,153 +1,160 @@ // @flow strict -import { personalData } from "@/utils/data/personal-data"; +import {personalData} from "@/utils/data/personal-data"; import Image from "next/image"; import Link from "next/link"; import {BsDiscord, BsGithub, BsLinkedin} from "react-icons/bs"; -import { MdDownload } from "react-icons/md"; -import { RiContactsFill } from "react-icons/ri"; +import {MdDownload} from "react-icons/md"; +import {RiContactsFill} from "react-icons/ri"; import TypeAnimation from './TypeAnimation'; function HeroSection() { - return ( -
- Hero + return ( +
+ Hero -
-
-

- Hi,
- {/* eslint-disable-next-line react/no-unescaped-entities */} - I'm {' '} - {personalData.name} - {`, and I am a`} -
- - . -

+
+
+

+ Hi,
+ {/* eslint-disable-next-line react/no-unescaped-entities */} + I'm {' '} + {personalData.name} + {`, and I am a`} +
+ + . +

-
- - - - - - -
+
+ + + + + + +
-
- - - -
+
+ + + +
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
- function - coder() - - {'{'} -
-
- name: - {`'`} - Arush - {`';`} -
-
- programming_languages: - {`['`} - Python - {"', '"} - C++ - {"', '"} - Java - {"', '"} - NextJS - {"', '"} - NodeJS - {"', '"} - ReactJS - {"', '"} - ExpressJS - {"', '"} - HTML - {"', '"} - CSS - {"', '"} - C - {"', '"} - Kotlin - {"', '"} - Gradle - {"'];"} +
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+ const + coder + = + {'{'} +
+
+ name: + {`'`} + Arush + {`',`} +
+
+ skills: + {`['`} + Python + {"', '"} + Java + {"', '"} + C + {"', '"} + C++ + {"', '"} + HTML + {"', '"} + CSS + {"', '"} + JavaScript + {"', '"} + Kotlin + {"', '"} + Gradle + {"'],"} + +
-
+
+
+ characteristics: + function + {`()`} + {'{'} +
-
- return - {`(`} -
-
- this. - programmer - && -
-
- this. - robotics - && -
-
- this. - student - && -
-
- this. - mentor -
-
{`);`}
-
{`};`}
-
{`};`}
-
-
-
-
-
- ); +
+ return + {`(`} +
+
+ this. + programmer + && +
+
+ this. + robotics + && +
+
+ this. + student + && +
+
+ this. + mentor +
+
{`);`}
+
{`};`}
+
{`};`}
+
+ + + +
+ ); }; export default HeroSection; \ No newline at end of file diff --git a/app/components/homepage/hero-section/test.js b/app/components/homepage/hero-section/test.js new file mode 100644 index 0000000..17df260 --- /dev/null +++ b/app/components/homepage/hero-section/test.js @@ -0,0 +1,17 @@ + +const coder = { + name: 'Arush', + programming_languages: ['Python', 'Java', 'C', 'C++', 'HTML', 'CSS', 'JavaScript', 'Kotlin', 'Gradle'], + characteristics: function () { + return ( + this.programmer && + this.robotics && + this.student && + this.mentor + } +) +; +} +; +} +; \ No newline at end of file diff --git a/app/components/homepage/skills/index.jsx b/app/components/homepage/skills/index.jsx index c5f655e..c77c52e 100644 --- a/app/components/homepage/skills/index.jsx +++ b/app/components/homepage/skills/index.jsx @@ -8,7 +8,7 @@ import Marquee from "react-fast-marquee"; function Skills() { const getSkillWebsite = (skill) => { const websiteMap = { - "Javascript": "https://developer.mozilla.org/en-US/docs/Web/JavaScript", + "JavaScript": "https://developer.mozilla.org/en-US/docs/Web/JavaScript", "React": "https://reactjs.org/", "Python": "https://www.python.org/", "HTML": "https://developer.mozilla.org/en-US/docs/Web/HTML", diff --git a/utils/data/personal-data.js b/utils/data/personal-data.js index 15930a2..2924d93 100644 --- a/utils/data/personal-data.js +++ b/utils/data/personal-data.js @@ -3,7 +3,7 @@ export const personalData = { designation: "Software Developer", - description: "I am a freshman at Tesla STEM High School (class of 2027), and I am a passionate web developer, robotics programmer, and STEM enthusiast! Some of my hobbies include reading, playing chess, and coding. I started FIRSTĀ® Robotics in 2021.", + description: "I am a rising sophomore at Tesla STEM High School (class of 2027), and I am a passionate web developer, robotics programmer, and STEM enthusiast! Some of my hobbies include reading, playing chess, and coding. I started FIRSTĀ® Robotics in 2021.", email: 'arush.yadlapati@gmail.com', github: 'https://github.com/ArushYadlapati', discord: "https://discord.com/users/764258716463529986", diff --git a/utils/data/skills.js b/utils/data/skills.js index 4dc3a5e..ce9c400 100644 --- a/utils/data/skills.js +++ b/utils/data/skills.js @@ -3,7 +3,7 @@ export const skillsData = [ 'CSS', 'Python', 'Java', - 'Javascript', + 'JavaScript', 'React', 'Next JS', 'Node JS',