Changes
This commit is contained in:
parent
d2058a9587
commit
808caabb63
1 changed files with 25 additions and 24 deletions
|
|
@ -259,15 +259,6 @@ const LadybugClockPuzzle: React.FC<LadybugClockPuzzleProps> = ({ showSocialShare
|
||||||
<p className="text-muted-foreground max-w-2xl mx-auto">
|
<p className="text-muted-foreground max-w-2xl mx-auto">
|
||||||
A ladybug walks randomly on a clock face. What's the probability each number is painted last?
|
A ladybug walks randomly on a clock face. What's the probability each number is painted last?
|
||||||
</p>
|
</p>
|
||||||
{showSocialShare && (
|
|
||||||
<div className="flex justify-center">
|
|
||||||
<SocialShare
|
|
||||||
title="Ladybug Clock Puzzle"
|
|
||||||
description="Explore random walks on a clock face!"
|
|
||||||
url={shareUrl}
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="grid lg:grid-cols-2 gap-6">
|
<div className="grid lg:grid-cols-2 gap-6">
|
||||||
|
|
@ -665,23 +656,33 @@ const LadybugClockPuzzle: React.FC<LadybugClockPuzzleProps> = ({ showSocialShare
|
||||||
<li><strong>Gambler's Ruin:</strong> Related to the classic probability problem of a gambler with a finite amount</li>
|
<li><strong>Gambler's Ruin:</strong> Related to the classic probability problem of a gambler with a finite amount</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="flex flex-wrap gap-2 pt-2 border-t">
|
|
||||||
<Badge variant="outline" className="text-xs">
|
|
||||||
<ExternalLink className="w-3 h-3 mr-1" />
|
|
||||||
<a href="https://momath.org/mindbenders/" target="_blank" rel="noopener noreferrer" className="hover:underline">
|
|
||||||
Mindbenders (MoMath)
|
|
||||||
</a>
|
|
||||||
</Badge>
|
|
||||||
<Badge variant="outline" className="text-xs">
|
|
||||||
<ExternalLink className="w-3 h-3 mr-1" />
|
|
||||||
<a href="https://www.youtube.com/shorts/t3jZ2xGOvYg" target="_blank" rel="noopener noreferrer" className="hover:underline">
|
|
||||||
YouTube Short
|
|
||||||
</a>
|
|
||||||
</Badge>
|
|
||||||
</div>
|
|
||||||
</CardContent>
|
</CardContent>
|
||||||
</Card>
|
</Card>
|
||||||
|
|
||||||
|
{/* Acknowledgement */}
|
||||||
|
<Card className="bg-amber-50 dark:bg-amber-950/30 border-amber-200 dark:border-amber-800">
|
||||||
|
<CardContent className="pt-6">
|
||||||
|
<p className="text-sm text-muted-foreground">
|
||||||
|
This puzzle is featured by{' '}
|
||||||
|
<a href="https://momath.org/mindbenders/" target="_blank" rel="noopener noreferrer" className="text-primary hover:underline font-medium">
|
||||||
|
MoMath Mindbenders
|
||||||
|
</a>
|
||||||
|
{' '}and demonstrated in{' '}
|
||||||
|
<a href="https://www.youtube.com/shorts/t3jZ2xGOvYg" target="_blank" rel="noopener noreferrer" className="text-primary hover:underline font-medium">
|
||||||
|
this YouTube short
|
||||||
|
</a>
|
||||||
|
. It illustrates a beautiful result about random walks on cycle graphs: every position (except the start) has equal probability of being visited last.
|
||||||
|
</p>
|
||||||
|
</CardContent>
|
||||||
|
</Card>
|
||||||
|
|
||||||
|
{showSocialShare && (
|
||||||
|
<SocialShare
|
||||||
|
title="The Ladybug Clock Puzzle"
|
||||||
|
description="Explore random walks on a clock face and discover why every number has the same probability of being painted last!"
|
||||||
|
url={shareUrl}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue