🔒 This page is not indexed and is for internal reference only.
Component Showcase
All available components for use in articles and reviews. Copy the code snippets to use them in your MDX files.
Callouts
Highlighted information boxes for tips, warnings, and notes.
Information
Pro Tip
Warning
Note
View Code
import Callout from '../../components/content/Callout.astro';
<Callout type="info" title="Custom Title">
Your content here
</Callout>
// Types: info | tip | warning | note Pros & Cons
Display product advantages and disadvantages side by side.
Pros
- Excellent value for money
- High quality tungsten barrel
- Multiple weight options available
- Complete set included
Cons
- Basic flights and stems
- May need upgrading accessories
- Limited colour options
View Code
import ProsCons from '../../components/content/ProsCons.astro';
<ProsCons
pros={[
'First advantage',
'Second advantage',
]}
cons={[
'First disadvantage',
'Second disadvantage',
]}
/> Product Highlight
Showcase a product with rating, features, and affiliate link.
Winmau Blade 6 Triple Core
- Official PDC tournament dartboard
- Triple Core technology
- East African sisal
- Rota-Lock mounting system
Budget Dartboard
- Staple-free construction
- Basic sisal quality
View Code
import ProductHighlight from '../../components/content/ProductHighlight.astro';
<ProductHighlight
name="Product Name"
price="£89.99"
rating={5}
recommended={true}
features={[
'Feature one',
'Feature two',
]}
affiliateLink="https://amzn.to/xxx"
/> Ratings
Simple star rating display.
View Code
import Rating from '../../components/content/Rating.astro';
<Rating score={4} label="Great" />
<Rating score={3} max={5} /> Verdict Box
Summary verdict for product reviews with rating.
Our Verdict
View Code
import Verdict from '../../components/content/Verdict.astro';
<Verdict rating={4} title="Our Verdict">
Your verdict summary text here.
</Verdict> Darts Rating (Reviews)
Detailed breakdown for darts reviews with grip, value, durability, and appearance.
Our Rating
Darts are personal. What works for me might not work for you.
Medium knurl pattern - good balance between grip and release.
Outstanding value for 80% tungsten darts at this price.
Paint shows wear after a few months of regular use.
Clean, professional look with subtle styling.
View Code
import DartsRating from '../../components/DartsRating.astro';
<DartsRating
ratings={{
grip: 3,
value: 5,
durability: 3,
appearance: 4
}}
comments={{
grip: 'Comment about grip',
value: 'Comment about value',
durability: 'Comment about durability',
appearance: 'Comment about appearance'
}}
/> Match Scoreboard
Display match results with player stats.
View Code
import MatchScoreboard from '../../components/MatchScoreboard.astro';
<MatchScoreboard
player1="Player One"
player2="Player Two"
score1={7}
score2={4}
player1Avg={103.45}
player2Avg={99.87}
player1Seed={1}
player2Seed={2}
round="Final"
/> Satire Disclaimer
Automatically shown on satire articles. Can also be used manually.
View Code
import SatireDisclaimer from '../../components/SatireDisclaimer.astro';
<SatireDisclaimer />
// Note: Automatically shown on articles with category: 'Satire' Table of Contents
Auto-generated from article headings. Used automatically in article layouts.
View Code
import TableOfContents from '../../components/TableOfContents.astro';
// Automatically receives headings from article render
const { headings } = await article.render();
<TableOfContents headings={headings} /> FAQ Section
Accordion-style FAQ using HTML details/summary. Styled via CSS class.
What dartboard do they use in the PDC?
The PDC uses the Winmau Blade 6 Triple Core for all televised tournaments including the World Championship at Alexandra Palace.
How often should I rotate my dartboard?
For casual play, rotate every 4-6 weeks. If you practice daily, rotate every 1-2 weeks to spread wear evenly across all segments.
What is the highest checkout in darts?
The highest checkout is 170 (T20, T20, Bull). This is known as the "Big Fish" and is relatively rare even among professionals.
View Code
<!-- In MDX content -->
<div class="faq-section">
<details>
<summary>Question one?</summary>
<div class="faq-answer">
<p>Answer to question one.</p>
</div>
</details>
<details>
<summary>Question two?</summary>
<div class="faq-answer">
<p>Answer to question two.</p>
</div>
</details>
</div> Comparison Table
Styled table for product comparisons. Uses CSS class wrapper.
| Dartboard | Best For | Price Range |
|---|---|---|
| Winmau Blade 6 | PDC tournaments | £80-100 |
| Target TOR | Modern features | £70-90 |
| Unicorn Eclipse Pro 2 | WDF tournaments | £45-60 |
| Mission Samurai 2 | UKDA/SDA leagues | £35-50 |
View Code
<!-- In MDX content -->
<div class="comparison-table">
| Product | Feature | Price |
|---------|---------|-------|
| **Item 1** | Description | £XX |
| **Item 2** | Description | £XX |
</div> Interactive Games (React)
The following React components are used for interactive games. They're included in dedicated pages under /practice/:
- Game501.tsx - Full 501 darts game
- CheckoutGame.tsx - Checkout practice
- CheckoutCalculator.tsx - Checkout route finder
- Bobs27Game.tsx - Bob's 27 practice
- Treble20Game.tsx - Treble 20 challenge
- AroundTheBoardGame.tsx - Around the clock
- ScoringGame.tsx - Score counting practice
- RandomTargetGame.tsx - Random target practice
- Quiz.tsx - Quiz component for quizzes
Social Share
Share buttons for articles. Used automatically in article layouts.
View Code