Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 19e3a8a

Browse files
committed
chore: don't open new tabs with blog card
1 parent ca45876 commit 19e3a8a

File tree

4 files changed

+16
-7
lines changed

4 files changed

+16
-7
lines changed

public/blogs/fundamentals.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The question is, how do I learn or where do I even look ? The answer is simple:
3535
</C>
3636

3737

38-
<H2>Stop Getting Duped</H2>
38+
<H2>Getting Duped</H2>
3939
<C>
4040
You know what's the best way to make money in a gold rush? Sell shovels. In the 21st century, you sell people dreams.
4141
</C>

src/app/components/post/post-card.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,7 @@ export default function PostCard({ postData }: { postData: PostData }) {
1717
<li className="list-disc ml-5 dimmed-0">
1818
{formatDate(postData.parsedContent.attributes.firstModDate)}
1919
</li>
20-
<Link
21-
target="_blank"
22-
href={`${SITE_URL + BLOG_URI}/${postData.filename}`}
23-
>
20+
<Link href={`${SITE_URL + BLOG_URI}/${postData.filename}`}>
2421
<h2 className="text-2xl font-bold dimmed-4 lg:text-[2.5rem]">
2522
{postData.parsedContent.attributes.title}
2623
</h2>
@@ -31,7 +28,6 @@ export default function PostCard({ postData }: { postData: PostData }) {
3128
<div className="flex flex-wrap items-center gap-[0.625rem] text-sm dimmed-4">
3229
{postData.parsedContent.attributes.tags.map((tag) => (
3330
<Link
34-
target="_blank"
3531
href={`${SITE_URL + BLOG_TAG_URI}/${tag}`}
3632
key={tag}
3733
className="relative rounded-full px-2 py-1"
@@ -47,7 +43,6 @@ export default function PostCard({ postData }: { postData: PostData }) {
4743
</div>
4844
</div>
4945
<Link
50-
target="_blank"
5146
href={`${SITE_URL + BLOG_URI}/${postData.filename}`}
5247
className="relative h-full overflow-hidden rounded-[2rem]"
5348
></Link>

src/app/components/protos/hero-section.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ import { Button } from '../ui/button';
4141

4242
/* eslint-disable */
4343

44+
/* eslint-disable */
45+
46+
/* eslint-disable */
47+
4448
function TypingAnimation() {
4549
const el = useRef(null);
4650

src/app/components/reusables/code/code-block.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,16 @@ import CopyButton from './copy-code';
9696
/* eslint-disable */
9797
// @ts-nocheck
9898

99+
// react-syntax-highlighter has no types
100+
101+
/* eslint-disable */
102+
// @ts-nocheck
103+
104+
// react-syntax-highlighter has no types
105+
106+
/* eslint-disable */
107+
// @ts-nocheck
108+
99109
// react-syntax-highlighter has no types
100110
/* eslint-disable */
101111
// @ts-nocheck

0 commit comments

Comments
 (0)