131 lines
5.8 KiB
XML
131 lines
5.8 KiB
XML
import { Container } from "./components/Container";
|
|
|
|
export function TypographyDemo() {
|
|
return (
|
|
<Container className="mx-auto mt-8 prose prose-slate lg:prose-lg">
|
|
<h1>The Joke Tax Chronicles</h1>
|
|
<p className="leading-7">
|
|
Once upon a time, in a far-off land, there was a very lazy king who
|
|
spent all day lounging on his throne. One day, his advisors came to him
|
|
with a problem: the kingdom was running out of money.
|
|
</p>
|
|
<pre>
|
|
<code className="language-html">
|
|
<article class="prose"> <h1>Garlic bread with cheese: What
|
|
the science tells us</h1> <p> For years parents have
|
|
espoused the health benefits of eating garlic bread with cheese to
|
|
their children, with the food earning such an iconic status in our
|
|
culture that kids will often dress up as warm, cheesy loaf for
|
|
Halloween. </p> <p> But a recent study shows that the
|
|
celebrated appetizer may be linked to a series of rabies cases
|
|
springing up around the country. </p> <!-- ... -->
|
|
</article>
|
|
</code>
|
|
</pre>
|
|
<h2>The King's Plan</h2>
|
|
<p>
|
|
The king thought long and hard, and finally came up with{" "}
|
|
<a
|
|
href="#"
|
|
className="font-medium underline text-primary underline-offset-4"
|
|
>
|
|
a brilliant plan
|
|
</a>
|
|
: he would tax the jokes in the kingdom.
|
|
</p>
|
|
<blockquote className="pl-6 mt-6 italic border-l-2">
|
|
"After all," he said, "everyone enjoys a good joke, so it's only fair
|
|
that they should pay for the privilege."
|
|
</blockquote>
|
|
<h3 className="mt-8 text-2xl font-semibold tracking-tight scroll-m-20">
|
|
The Joke Tax
|
|
</h3>
|
|
<p className="leading-7 [&:not(:first-child)]:mt-6">
|
|
The king's subjects were not amused. They grumbled and complained, but
|
|
the king was firm:
|
|
</p>
|
|
<ul className="my-6 ml-6 list-disc [&>li]:mt-2">
|
|
<li>1st level of puns: 5 gold coins</li>
|
|
<li>2nd level of jokes: 10 gold coins</li>
|
|
<li>3rd level of one-liners : 20 gold coins</li>
|
|
</ul>
|
|
<p className="leading-7 [&:not(:first-child)]:mt-6">
|
|
As a result, people stopped telling jokes, and the kingdom fell into a
|
|
gloom. But there was one person who refused to let the king's
|
|
foolishness get him down: a court jester named Jokester.
|
|
</p>
|
|
<h3 className="mt-8 text-2xl font-semibold tracking-tight scroll-m-20">
|
|
Jokester's Revolt
|
|
</h3>
|
|
<p className="leading-7 [&:not(:first-child)]:mt-6">
|
|
Jokester began sneaking into the castle in the middle of the night and
|
|
leaving jokes all over the place: under the king's pillow, in his soup,
|
|
even in the royal toilet. The king was furious, but he couldn't seem to
|
|
stop Jokester.
|
|
</p>
|
|
<p className="leading-7 [&:not(:first-child)]:mt-6">
|
|
And then, one day, the people of the kingdom discovered that the jokes
|
|
left by Jokester were so funny that they couldn't help but laugh. And
|
|
once they started laughing, they couldn't stop.
|
|
</p>
|
|
<h3 className="mt-8 text-2xl font-semibold tracking-tight scroll-m-20">
|
|
The People's Rebellion
|
|
</h3>
|
|
<p className="leading-7 [&:not(:first-child)]:mt-6">
|
|
The people of the kingdom, feeling uplifted by the laughter, started to
|
|
tell jokes and puns again, and soon the entire kingdom was in on the
|
|
joke.
|
|
</p>
|
|
<div className="w-full my-6 overflow-y-auto">
|
|
<table className="w-full">
|
|
<thead>
|
|
<tr className="p-0 m-0 border-t even:bg-muted">
|
|
<th className="border px-4 py-2 text-left font-bold [&[align=center]]:text-center [&[align=right]]:text-right">
|
|
King's Treasury
|
|
</th>
|
|
<th className="border px-4 py-2 text-left font-bold [&[align=center]]:text-center [&[align=right]]:text-right">
|
|
People's happiness
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr className="p-0 m-0 border-t even:bg-muted">
|
|
<td className="border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right">
|
|
Empty
|
|
</td>
|
|
<td className="border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right">
|
|
Overflowing
|
|
</td>
|
|
</tr>
|
|
<tr className="p-0 m-0 border-t even:bg-muted">
|
|
<td className="border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right">
|
|
Modest
|
|
</td>
|
|
<td className="border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right">
|
|
Satisfied
|
|
</td>
|
|
</tr>
|
|
<tr className="p-0 m-0 border-t even:bg-muted">
|
|
<td className="border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right">
|
|
Full
|
|
</td>
|
|
<td className="border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right">
|
|
Ecstatic
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p className="leading-7 [&:not(:first-child)]:mt-6">
|
|
The king, seeing how much happier his subjects were, realized the error
|
|
of his ways and repealed the joke tax. Jokester was declared a hero, and
|
|
the kingdom lived happily ever after.
|
|
</p>
|
|
<p className="leading-7 [&:not(:first-child)]:mt-6">
|
|
The moral of the story is: never underestimate the power of a good laugh
|
|
and always be careful of bad ideas.
|
|
</p>
|
|
</Container>
|
|
);
|
|
}
|