Skip to content

Commit 9290305

Browse files
committed
fix: removes Caption component in favor of explicit figcaption
1 parent c12fedc commit 9290305

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

content/blog/the-double-burger-connotation-on-software-deliverable/index.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ the peers involved. Any time someone wants to fix or improve the feature, he/she
5959
time and more time to figure out what is going on.
6060

6161
![](./technical-debt.png)
62-
<Caption>
62+
<figcaption class='flex flex-row items-center justify-center text-gray-700 text-sm'>
6363
<a href="https://vincentdnl.com/drawings/technical-debt" target="_blank" rel="noopener noreferrer">
6464
Technical Debit - Image from Vincent Deniel
6565
</a>
66-
</Caption>
66+
</figcaption>
6767

6868
Maybe a full rewrite and talk to the customer is more appropriate than patch up a thing which born
6969
broken and faulty, there are a lot of technical debts that a small change could even causes more

wrap-root-element.js

-5
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,6 @@ const components = {
7979

8080
return <a {...props} />
8181
},
82-
Caption: ({ children }) => (
83-
<Caption>
84-
{children}
85-
</Caption>
86-
),
8782
ul: props => <StyledUl {...props} />,
8883
h1: props => <h1 className="leading-tight mb-8 mt-6" {...props} />
8984
}

0 commit comments

Comments
 (0)