From e4891158a44f383a05ca4682d97b95f26c202c0e Mon Sep 17 00:00:00 2001
From: Pradip Caulagi
Date: Thu, 7 Sep 2023 22:00:30 +0200
Subject: [PATCH] Add a component for contact-me and use on all pages (#537)
---
_posts/complementing-python-with-rust.mdx | 2 --
_posts/look-ma-kubernetes-objects.mdx | 2 +-
_posts/secret-sauce.mdx | 2 --
_posts/standups-are-not-cool.mdx | 2 +-
components/contact-me.tsx | 39 +++++++++++++++++++++++
pages/about.tsx | 15 ++-------
pages/posts/[slug].tsx | 2 ++
7 files changed, 45 insertions(+), 19 deletions(-)
create mode 100644 components/contact-me.tsx
diff --git a/_posts/complementing-python-with-rust.mdx b/_posts/complementing-python-with-rust.mdx
index cded5c0..dd64d78 100644
--- a/_posts/complementing-python-with-rust.mdx
+++ b/_posts/complementing-python-with-rust.mdx
@@ -259,5 +259,3 @@ Something I didn’t explore was to check if the benefits will be much higher fo
There are a few talks that I borrowed ideas from — [here](https://www.youtube.com/watch?v=-ylbuEzkG4M), [here](https://blog.sentry.io/2016/10/19/fixing-python-performance-with-rust.html) and [here](https://www.youtube.com/watch?v=3CwJ0MH-4MA). The first talk takes a different approach and uses [rust-cpython](https://github.com/dgrunwald/rust-cpython) for binding Python and Rust.
You can also watch a recording of the video, but if you have already read so far, there is nothing new in the video. I start at 3 mins.
-
-Happy to hear comments/suggestions on [twitter](https://twitter.com/caulagi).
diff --git a/_posts/look-ma-kubernetes-objects.mdx b/_posts/look-ma-kubernetes-objects.mdx
index 6a19c50..7eb458c 100644
--- a/_posts/look-ma-kubernetes-objects.mdx
+++ b/_posts/look-ma-kubernetes-objects.mdx
@@ -32,4 +32,4 @@ There are already projects like [config-connector](https://cloud.google.com/conf
What I want to achieve is a platform that will fix itself when there are problems so I can have beers on an island. Occasionally the system can’t fix itself and I will write some more yaml’s.
-What do you think? Happy to hear thoughts/comments/critique [on twitter](https://twitter.com/caulagi)
+What do you think?
diff --git a/_posts/secret-sauce.mdx b/_posts/secret-sauce.mdx
index 31aec8b..84044aa 100644
--- a/_posts/secret-sauce.mdx
+++ b/_posts/secret-sauce.mdx
@@ -74,5 +74,3 @@ Given these arguments, my preferred observability story would look something lik
about one request/transaction/user/payment etc, in my book.
In other words, for a primitive observability story, I only need error-reporting to support a distributed sytem!
-
-Happy to hear thoughts/comments/criticism on [twitter](https://twitter.com/caulagi).
diff --git a/_posts/standups-are-not-cool.mdx b/_posts/standups-are-not-cool.mdx
index 66332d9..910532d 100644
--- a/_posts/standups-are-not-cool.mdx
+++ b/_posts/standups-are-not-cool.mdx
@@ -30,4 +30,4 @@ My last crib about standup’s is that it is disruptive to my schedule. Paul Gra
So I find it strange that we start with the principle of self-organizing teams and then conclude — standup’s at 9! How does open-source work if standup’s are how development should be done?
-These are my thoughts as an individual, of course. I am happy to hear disagreements/criticism on [twitter](https://twitter.com/caulagi).
+These are my thoughts as an individual, of course.
diff --git a/components/contact-me.tsx b/components/contact-me.tsx
new file mode 100644
index 0000000..6f0931d
--- /dev/null
+++ b/components/contact-me.tsx
@@ -0,0 +1,39 @@
+import { Link } from '@nextui-org/react'
+
+const ContactMe: React.FC = () => {
+ return (
+
+ Happy to hear your thoughts:{' '}
+ {' '}
+ caulagi AT gmail DOT com or
+
+
+ mastodon
+
+ .
+
+ )
+}
+
+export default ContactMe
diff --git a/pages/about.tsx b/pages/about.tsx
index 9c5b01f..40b2de8 100644
--- a/pages/about.tsx
+++ b/pages/about.tsx
@@ -3,8 +3,8 @@ import Header from '../components/header'
import Avatar from '../components/avatar'
import Layout from '../components/layout'
import Head from 'next/head'
-import Link from 'next/link'
import { AUTHOR_NAME, HOME_OG_IMAGE_URL } from '../lib/constants'
+import ContactMe from '../components/contact-me'
const intro = `
I am Pradip Caulagi. I am an experienced developer and platform engineer.
@@ -29,18 +29,7 @@ const aboutMe = () => {
listening to music (ask me about Indian classical) and recently, taking
long walks.
-
- Feel free to contact me via caulagi AT gmail DOT com or on{' '}
-
- mastodon
-
- .
-
+
)
}
diff --git a/pages/posts/[slug].tsx b/pages/posts/[slug].tsx
index 869459e..e94b56c 100644
--- a/pages/posts/[slug].tsx
+++ b/pages/posts/[slug].tsx
@@ -19,6 +19,7 @@ import PostHeader from '../../components/post-header'
import PostTitle from '../../components/post-title'
import PostType from '../../types/post'
import { MDXRemoteSerializeResult } from 'next-mdx-remote'
+import ContactMe from '../../components/contact-me'
interface PostProps {
post: PostType
@@ -86,6 +87,7 @@ const Post: React.FC = ({ post, source }) => {
date={post.date}
/>
+
>
)}