MCPcopy Create free account
hub / github.com/TejasQ/tejaskumar.com / BlogAttribution

Function BlogAttribution

components/BlogAttribution.tsx:4–45  ·  view source on GitHub ↗
({
  url,
  ...rest
}: React.DetailedHTMLProps<
  React.HTMLAttributes<HTMLDivElement>,
  HTMLDivElement
> & { url: string })

Source from the content-addressed store, hash-verified

2import styles from "./BlogAttribution.module.css";
3
4const BlogAttribution = ({
5 url,
6 ...rest
7}: React.DetailedHTMLProps<
8 React.HTMLAttributes<HTMLDivElement>,
9 HTMLDivElement
10> & { url: string }) => (
11 <div {...rest} className={styles.container}>
12 <div>
13 <img alt="Tejas' Face" src="https://github.com/tejasq.png" />
14 </div>
15 <div>
16 <p>
17 Tejas has a special love for humans and code that sometimes finds its
18 way onto this blog and other parts of the internet. Say hi on{" "}
19 <a
20 href="https://twitter.com/tejaskumar_"
21 rel="noopener"
22 target="_blank"
23 >
24 twitter
25 </a>
26 !
27 <br />
28 <br />
29 If you particularly enjoyed this post, consider{" "}
30 <a
31 href={`https://twitter.com/share?url=${encodeURIComponent(
32 url
33 )}&text=${encodeURIComponent(
34 "I just read this article by @tejaskumar_ and I would love to share it with you!"
35 )}`}
36 rel="noopener"
37 target="_blank"
38 >
39 sharing it
40 </a>
41 .
42 </p>
43 </div>
44 </div>
45);
46
47export default BlogAttribution;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected