Skip to content

Commit

Permalink
docs: fix typography import in code examples (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcjulian authored Nov 10, 2023
1 parent 7aba1f3 commit cef38d4
Showing 1 changed file with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,48 +61,48 @@ import { hlmBlockquote, hlmH1, hlmH2, hlmH3, hlmLead, hlmP, hlmUl } from '@spart
selector: 'spartan-typography-preview',
standalone: true,
template: \`
<h1 class="${hlmH1}">The Joke Tax Chronicles</h1>
<p class="${hlmLead} mt-4">
<h1 class="\${hlmH1}">The Joke Tax Chronicles</h1>
<p class="\${hlmLead} mt-4">
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>
<h2 class="${hlmH2} mt-10">The King's Plan</h2>
<p class="${hlmP}">
<h2 class="\${hlmH2} mt-10">The King's Plan</h2>
<p class="\${hlmP}">
The king thought long and hard, and finally came up with a brilliant plan : he would tax the jokes in the kingdom.
</p>
<blockquote class="${hlmBlockquote}">
<blockquote class="\${hlmBlockquote}">
"After all," he said, "everyone enjoys a good joke, so it's only fair that they should pay for the privilege."
</blockquote>
<h3 class="${hlmH3} mt-8">The Joke Tax</h3>
<p class="${hlmP}">The king's subjects were not amused. They grumbled and complained, but the king was firm:</p>
<ul class="${hlmUl}">
<h3 class="\${hlmH3} mt-8">The Joke Tax</h3>
<p class="\${hlmP}">The king's subjects were not amused. They grumbled and complained, but the king was firm:</p>
<ul class="\${hlmUl}">
<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 class="${hlmP}">
<p class="\${hlmP}">
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 class="${hlmH3} mt-8">Jokester's Revolt</h3>
<p class="${hlmP}">
<h3 class="\${hlmH3} mt-8">Jokester's Revolt</h3>
<p class="\${hlmP}">
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 class="${hlmP}">
<p class="\${hlmP}">
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 class="${hlmH3} mt-8">The People's Rebellion</h3>
<p class="${hlmP}">
<h3 class="\${hlmH3} mt-8">The People's Rebellion</h3>
<p class="\${hlmP}">
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>
<p class="${hlmP}">
<p class="\${hlmP}">
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 class="${hlmP}">
<p class="\${hlmP}">
The moral of the story is: never underestimate the power of a good laugh and always be careful of bad ideas.
</p>
\`,
Expand Down Expand Up @@ -208,7 +208,7 @@ import { hlmUl } from '@spartan-ng/typography-helm';
selector: 'spartan-list',
standalone: true,
template: \`
<ul class="${hlmUl}">
<ul class="\${hlmUl}">
<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>
Expand Down

1 comment on commit cef38d4

@vercel
Copy link

@vercel vercel bot commented on cef38d4 Nov 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

spartan – ./

spartan-git-main-goetzrobin.vercel.app
spartan-goetzrobin.vercel.app
www.spartan.ng
spartan.ng

Please sign in to comment.