Skip to content

Commit

Permalink
new job! (#76)
Browse files Browse the repository at this point in the history
* new job!

* add engines

* remove gtag

* remove gtag
  • Loading branch information
HiranmayaGundu authored Jul 9, 2023
1 parent 270aacd commit b3f2f08
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 78 deletions.
25 changes: 0 additions & 25 deletions functions/gtag.js

This file was deleted.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@
"styled-reset": "^4.3.4",
"typescript": "4.6.3"
},
"engines": {
"node": ">= 18.0.0"
},
"license": "MIT",
"lint-staged": {
"*.{ts,tsx,js,css,json}": [
Expand Down
26 changes: 1 addition & 25 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ import components from "../components/Markdown";
import GlobalStyle from "../components/GlobalStyle";
import { theme } from "../components/Theme";
import { convertThemeToUseCustomProperties } from "functions/CustomPropertiesUtils";
import * as gtag from "functions/gtag";
import { Router } from "next/router";

import "tippy.js/dist/tippy.css";
import "tippy.js/themes/light.css";

Expand All @@ -28,17 +27,6 @@ export const DEFAULT_TITLE = "Hiranmaya Gundu- Software developer";
const DEFAULT_DESCRIPTION = "Hiranmaya Gundu's personal website";

const App = ({ Component, pageProps }: AppProps): JSX.Element => {
React.useEffect(() => {
const handleRouteChange = (url: string): void => {
if (process.env.NEXT_PUBLIC_MODE === "PROD") {
gtag.pageview(url);
}
};
Router.events.on("routeChangeComplete", handleRouteChange);
return (): void => {
Router.events.off("routeChangeComplete", handleRouteChange);
};
}, []);
return (
<>
<Head title={DEFAULT_TITLE} description={DEFAULT_DESCRIPTION} />
Expand All @@ -58,17 +46,5 @@ const App = ({ Component, pageProps }: AppProps): JSX.Element => {
</>
);
};
interface WebVitals {
id: string;
label: string;
name: string;
startTime: number;
value: number;
}
export function reportWebVitals(metric: WebVitals): void {
if (process.env.NEXT_PUBLIC_MODE === "PROD") {
gtag.sendToGoogleAnalytics(metric);
}
}

export default App;
18 changes: 0 additions & 18 deletions pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { ServerStyleSheet } from "styled-components";
import { minify } from "terser";
import { setColorsByTheme } from "components/SetColorsByTheme";
import { COLORS } from "components/Constants";
import { GA_TRACKING_ID } from "functions/gtag";

const COLOR_MODE_KEY = "color-mode";
const INITIAL_COLOR_MODE_CSS_PROP = "--initial-color-mode";
Expand Down Expand Up @@ -79,23 +78,6 @@ export default class MyDocument extends Document {
<Html lang="en">
<Head>
<meta charSet="UTF-8" />
<script
async
src={`https://www.googletagmanager.com/gtag/js?id=${GA_TRACKING_ID}`}
/>
<link rel="preconnect" href="https://www.google-analytics.com" />
<script
dangerouslySetInnerHTML={{
__html: `
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '${GA_TRACKING_ID}', {
page_path: window.location.pathname,
});
`,
}}
/>
<style>{fallbackColors}</style>
<script
/*
Expand Down
18 changes: 12 additions & 6 deletions pages/about.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,24 @@ export default ({ children }) => (

## <Mark> About Me </Mark>

Hi, I'm Hiranmaya Gundu. I'm a software developer from India, currently based in Bengaluru, Karnataka.
Hi, I'm Hiranmaya Gundu. I'm a software developer from India, currently based in San Francisco.

<br />

I'm an incoming graduate student at University of Southern California, and as of July 2021, have 2.5 years of
professional experience in the industry.

This website was born out of a desire to learn about React's server side rendering capabilities, as well as TypeScript.
I'm a Software Engineer at Sigma Computing, working on making a better Business Intelligence tool.

<br />

## Work Experience

[Sigma Computing](https://sigmacomputing.com) (Jun 2023 - Present)

_Software Engineer_

I worked on Version Tagging, a feature that allows users to create and manage versions of their workbook.

<br />

[MiQ Digital India](https://wearemiq.com) (Jun 2019 - Aug 2021)

_Software Engineer - II_
Expand All @@ -40,10 +45,11 @@ pipelines for it.
### Languages

- HTML
- JavaScript
- JavaScript / TypeScript
- CSS
- Java
- C
- Rust
- Python
- PHP

Expand Down
13 changes: 9 additions & 4 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,15 @@ const Index: React.FC<IndexProps> = ({ posts }) => {
fontSize={[2, 3]}
lineHeight={1.6}
>
I&apos;m a student at the University of Southern California.
I&apos;m currently pursuing my Master&apos;s degree in Computer
Science. This website is my personal blog, where I write about
software development, testing, Kubernetes and anything else I find
I&apos;m a Software Engineer at{" "}
<LinkTooltip href="https://www.sigmacomputing.com/">
<Link href="https://www.sigmacomputing.com/">
Sigma Computing
</Link>
</LinkTooltip>
, working on building a better business intelligence tool. This
website is my personal blog, where I write about software
development, testing, Kubernetes and anything else I find
interesting in the field of software!
</Text>
<Text as="p" pb={[2, 4]} fontSize={[2, 3]} lineHeight={1.6}>
Expand Down

1 comment on commit b3f2f08

@vercel
Copy link

@vercel vercel bot commented on b3f2f08 Jul 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.