Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/components/crystal/HeroCrystal3D.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ export function HeroCrystal3D({
return (
<div
className={`flex items-center justify-center bg-gradient-to-br from-crystal-50 to-slate-50 ${className}`}
style={{ aspectRatio: '1 / 1' }}
aria-hidden="true"
/>
);
Expand Down
2 changes: 2 additions & 0 deletions src/components/gallery/FamilyCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ export function FamilyCard({
<img
src={`/crystals/${family.id}.svg`}
alt={family.name}
width="568"
height="568"
className="w-full h-full object-contain"
onError={() => setImageError(true)}
/>
Expand Down
4 changes: 1 addition & 3 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Card } from '../components/ui/Card';
import { Button } from '../components/ui/Button';
import { Badge } from '../components/ui/Badge';
import { IconBox } from '../components/ui/IconBox';
import { SectionHeader } from '../components/ui/SectionHeader';
import SectionHeader from '../components/ui-astro/SectionHeader.astro';
import Container from '../components/ui-astro/Container.astro';
import { Link } from '../components/ui/Link';
import { HeroCrystal3D } from '../components/crystal/HeroCrystal3D';
Expand Down Expand Up @@ -154,7 +154,6 @@ const iconPaths: Record<string, string> = {
<SectionHeader
title="Built for the full FGA curriculum, and the developers who work with it."
description="A complete toolkit for FGA students, gemmologists, and crystal enthusiasts."
client:load
/>

<div class="grid md:grid-cols-2 lg:grid-cols-4 gap-6">
Expand Down Expand Up @@ -239,7 +238,6 @@ const iconPaths: Record<string, string> = {
<SectionHeader
title="Seven Crystal Systems"
description="Comprehensive coverage of all crystal systems with accurate symmetry operations."
client:load
/>

<div class="grid sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4">
Expand Down
Loading