|
| 1 | +import { useState } from "react"; |
| 2 | + |
| 3 | +const Divider = () => { |
| 4 | + return ( |
| 5 | + <div className="border border-gray-200 dark:border-gray-600 w-full my-8" /> |
| 6 | + ); |
| 7 | +}; |
| 8 | + |
| 9 | +const Year = ({ children }) => { |
| 10 | + return ( |
| 11 | + <h3 className="text-lg md:text-xl font-bold mb-4 tracking-tight text-gray-900 dark:text-gray-100"> |
| 12 | + {children} |
| 13 | + </h3> |
| 14 | + ); |
| 15 | +}; |
| 16 | + |
| 17 | +const Step = ({ title, children }) => { |
| 18 | + return ( |
| 19 | + <li className="mb-4 ml-2"> |
| 20 | + <div className="flex items-center mb-2 text-green-700 dark:text-green-300"> |
| 21 | + <span className="sr-only">Check</span> |
| 22 | + <svg className="h-4 w-4 mr-2" viewBox="0 0 24 24"> |
| 23 | + <g |
| 24 | + fill="none" |
| 25 | + stroke="currentColor" |
| 26 | + strokeWidth="2" |
| 27 | + strokeLinecap="round" |
| 28 | + strokeLinejoin="round" |
| 29 | + > |
| 30 | + <path d="M22 11.08V12a10 10 0 11-5.93-9.14" /> |
| 31 | + <path d="M22 4L12 14.01l-3-3" /> |
| 32 | + </g> |
| 33 | + </svg> |
| 34 | + <p className="font-medium text-gray-900 dark:text-gray-100">{title}</p> |
| 35 | + </div> |
| 36 | + <p className="text-gray-700 dark:text-gray-400 ml-6">{children}</p> |
| 37 | + </li> |
| 38 | + ); |
| 39 | +}; |
| 40 | + |
| 41 | +const FullTimeline = () => ( |
| 42 | + <> |
| 43 | + <Divider /> |
| 44 | + <Year>2018</Year> |
| 45 | + <ul> |
| 46 | + <Step title="Internship - Intel 🤘🏻"> |
| 47 | + Got an Internship at Intel as a Machine Learning Intern. Developed a |
| 48 | + Pothole Detection System & Face Averaging system using Machine Learning. |
| 49 | + </Step> |
| 50 | + <Step title="Entrepreneurial Workshops 🔩"> |
| 51 | + Organised workshops (Part of E-Cell) on topics like Entrepreneurship and |
| 52 | + Web Development. |
| 53 | + </Step> |
| 54 | + <Step title="Full-Stack Journey 🔩"> |
| 55 | + Learnt NodeJS, MongoDB, MySQL along with React and the best practices to |
| 56 | + build products and web apps which can scale easily. |
| 57 | + </Step> |
| 58 | + </ul> |
| 59 | + <Divider /> |
| 60 | + <Year>2016</Year> |
| 61 | + <ul> |
| 62 | + <Step title="Startup - Aceternity 💣"> |
| 63 | + Started a web development and digital marketing agency from scratch. |
| 64 | + Generated revenue and designed websites for clients. |
| 65 | + </Step> |
| 66 | + <Step title="React Enthusiast ⚒"> |
| 67 | + Was introducted to React, took up a course on Udemy to get the hang of |
| 68 | + it. I haven't stopped since then. |
| 69 | + </Step> |
| 70 | + <Step title="Open Source Contributions ⚙️"> |
| 71 | + Started contributing to open source on a daily basis. Contributed to |
| 72 | + smaller projects to learn more on the contributing part. |
| 73 | + </Step> |
| 74 | + |
| 75 | + <Step title="Moved to Des Moines 🏙"> |
| 76 | + I moved Downtown DSM into a quaint 1BR apartment. Des Moines has always |
| 77 | + felt like home growing up ~45 minutes away. |
| 78 | + </Step> |
| 79 | + </ul> |
| 80 | + <Divider /> |
| 81 | + <Year>2015</Year> |
| 82 | + <ul> |
| 83 | + <Step title="Started College 🔥"> |
| 84 | + Opted for Computer Science B.Tech Degree from University of Petroleum |
| 85 | + and Energy Studies, Dehradun. |
| 86 | + </Step> |
| 87 | + <Step title="Introduced to Open Source ⚡️"> |
| 88 | + My Domain was Open Source Software and Open Standards. I got to know |
| 89 | + about Free Software Foundation, Git and GitHub and Linux systems. |
| 90 | + </Step> |
| 91 | + <Step title="jQuery fanboy 🙌🏻"> |
| 92 | + Started working with jQuery, I was amazed by the level of simplicity it |
| 93 | + provided back then. |
| 94 | + </Step> |
| 95 | + <Step title="C and C++ 🙌🏻"> |
| 96 | + Started learning logics and basic programming fundamentals with Object |
| 97 | + Oriented Programming. C was intimidating, C++ was fun. |
| 98 | + </Step> |
| 99 | + <Step title="First Back 😂"> |
| 100 | + I consider this as an achievement. If you're a CS Engineer, you must |
| 101 | + have a back in Mathematics. |
| 102 | + </Step> |
| 103 | + </ul> |
| 104 | + <Divider /> |
| 105 | + <Year>2014</Year> |
| 106 | + <ul> |
| 107 | + <Step title="Completed 12th Grade 📜"> |
| 108 | + Completed 12th grade with 93.6% Marks in Science stream. Again, a big |
| 109 | + achievement for me. |
| 110 | + </Step> |
| 111 | + <Step title="Developed interest in Web Development 🚀"> |
| 112 | + One of my friends introduced me to Web Development. I started off by |
| 113 | + making simple HTML, CSS websites with a keen interest in design. |
| 114 | + </Step> |
| 115 | + </ul> |
| 116 | + <Divider /> |
| 117 | + <Year>2012</Year> |
| 118 | + <ul> |
| 119 | + <Step title="Completed 10th Grade 📜"> |
| 120 | + Scored 9/10 CGPA in 10th Grade. For me it was huge. |
| 121 | + </Step> |
| 122 | + <Step title="Wanted to take up Humanities 🌪❤️"> |
| 123 | + I always wanted to become a Civil Servant. Though my parents didn't |
| 124 | + agree and that let me to opt for Science stream. |
| 125 | + </Step> |
| 126 | + <Step title="Theatre and Drama 💂🏼♀️"> |
| 127 | + Acted in my first ever skit in school. |
| 128 | + </Step> |
| 129 | + </ul> |
| 130 | + <Divider /> |
| 131 | + <Year>2008</Year> |
| 132 | + <ul> |
| 133 | + <Step title="First Computer 💻"> |
| 134 | + I played GTA San Andreas all day, everyday. |
| 135 | + </Step> |
| 136 | + </ul> |
| 137 | + <Divider /> |
| 138 | + <Year>2001</Year> |
| 139 | + <ul> |
| 140 | + <Step title="Moved to Jaipur, Rajasthan 🌆"> |
| 141 | + We moved to Jaipur from our Hometown. |
| 142 | + </Step> |
| 143 | + </ul> |
| 144 | + <Divider /> |
| 145 | + <Year>1998</Year> |
| 146 | + <ul> |
| 147 | + <Step title="An Enginner was Born in India 👶🏼 🍼" /> |
| 148 | + </ul> |
| 149 | + </> |
| 150 | +); |
| 151 | + |
| 152 | +export default function Timeline() { |
| 153 | + const [isShowingFullTimeline, showFullTimeline] = useState(false); |
| 154 | + |
| 155 | + return ( |
| 156 | + <> |
| 157 | + <h3 className="font-bold text-2xl md:text-4xl tracking-tight mb-4 mt-8 text-black dark:text-white"> |
| 158 | + Timeline |
| 159 | + </h3> |
| 160 | + <Year>2020</Year> |
| 161 | + <ul> |
| 162 | + <Step title="Joined mroads"> |
| 163 | + {" "} |
| 164 | + Joined{" "} |
| 165 | + <span className="font-bold"> |
| 166 | + <span className="text-blue-500">m</span>roads |
| 167 | + </span>{" "} |
| 168 | + as a Software Development Engineer. Working on their Flagship product |
| 169 | + as a Front-End Developer. |
| 170 | + </Step> |
| 171 | + <Step title="Cleared GATE 2019 💯"> |
| 172 | + Cleared GATE 2019 after 8 months of continuous studies. I still hate |
| 173 | + Computer System Architecture & Organization. |
| 174 | + </Step> |
| 175 | + <Step title="Competitive Programming 🏆"> |
| 176 | + Cleared Hackerrank and Hackerearth contests. Got a strong grip on |
| 177 | + Competitive Programming. |
| 178 | + </Step> |
| 179 | + <Step title="Taught programming to students🥳"> |
| 180 | + Taught fundamental programming to school students. It included Basic C |
| 181 | + programming, Introduction to Web Development and logic building. |
| 182 | + </Step> |
| 183 | + </ul> |
| 184 | + <Divider /> |
| 185 | + <Year>2019</Year> |
| 186 | + <ul> |
| 187 | + <Step title="Placements - Got Placed ✨"> |
| 188 | + Had 3 offers in Hand. 1 On-Campus and 2 Off-Campus in the Software |
| 189 | + Developer (Full-Stack) roles. |
| 190 | + </Step> |
| 191 | + <Step title="Full-Stack Applications 🚀"> |
| 192 | + Started freelancing, developed full-stack applications for clients |
| 193 | + ranging from E-Commerce stores to static landing pages. |
| 194 | + </Step> |
| 195 | + <Step title="GATE Preparation ⚛️"> |
| 196 | + Started preparing for GATE (Graduate Aptitute Test in Engineering). |
| 197 | + Learnt all the Computer Science subjects again from scratch. |
| 198 | + </Step> |
| 199 | + </ul> |
| 200 | + {isShowingFullTimeline ? ( |
| 201 | + <FullTimeline /> |
| 202 | + ) : ( |
| 203 | + <button |
| 204 | + type="button" |
| 205 | + className="flex items-center text-sm my-4 mx-auto px-4 py-2 rounded-md font-medium text-gray-900 dark:text-gray-100" |
| 206 | + onClick={() => showFullTimeline(true)} |
| 207 | + > |
| 208 | + See More |
| 209 | + <svg |
| 210 | + className="h-4 w-4 ml-1" |
| 211 | + xmlns="http://www.w3.org/2000/svg" |
| 212 | + fill="none" |
| 213 | + viewBox="0 0 24 24" |
| 214 | + stroke="currentColor" |
| 215 | + > |
| 216 | + <path |
| 217 | + strokeLinecap="round" |
| 218 | + strokeLinejoin="round" |
| 219 | + strokeWidth={2} |
| 220 | + d="M19 9l-7 7-7-7" |
| 221 | + /> |
| 222 | + </svg> |
| 223 | + </button> |
| 224 | + )} |
| 225 | + </> |
| 226 | + ); |
| 227 | +} |
0 commit comments