Skip to content

Commit b2523ba

Browse files
authored
feat(tools): collapse SEO intros behind <details> disclosure (#25)
The multi-paragraph prose on all seven tool pages is preserved in the DOM for search indexing but wrapped in a closed <details> element so users land directly on the tool widget. The <h1> and single lead sentence remain always visible. JSON-LD SoftwareApplication blocks and word counts are unchanged.
1 parent 194eb7d commit b2523ba

7 files changed

Lines changed: 336 additions & 301 deletions

File tree

src/pages/tools/advanced.astro

Lines changed: 47 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -36,48 +36,53 @@ const tools = [
3636
</p>
3737
</header>
3838

39-
<section class="prose prose-slate max-w-none mb-8">
40-
<p>
41-
Treatment detection requires correlating multiple lines of evidence. Heat treatment
42-
in corundum leaves characteristic stress fractures around rutile inclusions and
43-
healed fingerprints, but not all heated stones show these features — a clean,
44-
well-heated stone may show no internal evidence at all. Fracture filling in emerald
45-
suppresses the fingerprint inclusions that would otherwise be visible under
46-
magnification, but the filling material itself can be identified by its flash effect
47-
and RI mismatch with the host. Diffusion treatment in sapphire concentrates
48-
colour at the surface, visible as concentrated colour at facet edges when the stone
49-
is immersed. Each treatment leaves a different combination of positive and negative
50-
evidence, and confident treatment assessment depends on accumulating independent
51-
observations rather than relying on any single clue.
52-
</p>
53-
<p>
54-
The treatment wizard on this page formalises this evidence-accumulation approach.
55-
It covers 18 observable clues — including inclusion type, surface texture, colour
56-
distribution, spectral absorption anomalies, fluorescence pattern, and magnification
57-
features — mapped against 11 treatment categories: heat, fracture filling, surface
58-
coating, diffusion, irradiation, oiling, waxing, bleaching, impregnation, laser
59-
drilling, and flux healing. Each clue carries positive or negative evidence weights
60-
for each treatment type. Submit the clues you have observed and the wizard sums the
61-
weights per treatment, producing a confidence-banded conclusion — high confidence
62-
when three or more independent indicators align, low confidence when evidence is
63-
mixed or a single clue stands alone. This mirrors the reasoning process used in
64-
major gemmological laboratories and makes the logic explicit rather than implicit.
65-
</p>
66-
<p>
67-
The proportion analyzer applies a different kind of multi-parameter assessment to
68-
cut quality in round brilliant diamonds. The GIA cut-grade system evaluates seven
69-
proportions independently: table percentage, total depth percentage, crown angle,
70-
pavilion angle, girdle thickness, culet size, and star length. Each parameter falls
71-
into one of five grade bands (Excellent, Very Good, Good, Fair, Poor) according to
72-
published GIA thresholds, and the overall cut grade is determined by the
73-
lowest-grading individual parameter. Enter the measured proportions from a
74-
proportion scope or grading report and the tool displays the per-parameter band for
75-
each value, highlights the limiting parameter, and returns the resulting cut grade.
76-
Understanding which proportion is pulling the grade down — crown angle too shallow,
77-
table too wide, or girdle too thick — gives a precise basis for cut-quality
78-
assessment and client communication.
79-
</p>
80-
</section>
39+
<details class="group mb-6 rounded-lg border border-slate-200 bg-slate-50 px-4 py-3 open:bg-white">
40+
<summary class="cursor-pointer select-none text-sm font-medium text-crystal-700 hover:text-crystal-900 marker:text-slate-400">
41+
About these advanced tools &amp; methodology
42+
</summary>
43+
<div class="prose prose-slate prose-sm mt-3 max-w-none">
44+
<p>
45+
Treatment detection requires correlating multiple lines of evidence. Heat treatment
46+
in corundum leaves characteristic stress fractures around rutile inclusions and
47+
healed fingerprints, but not all heated stones show these features — a clean,
48+
well-heated stone may show no internal evidence at all. Fracture filling in emerald
49+
suppresses the fingerprint inclusions that would otherwise be visible under
50+
magnification, but the filling material itself can be identified by its flash effect
51+
and RI mismatch with the host. Diffusion treatment in sapphire concentrates
52+
colour at the surface, visible as concentrated colour at facet edges when the stone
53+
is immersed. Each treatment leaves a different combination of positive and negative
54+
evidence, and confident treatment assessment depends on accumulating independent
55+
observations rather than relying on any single clue.
56+
</p>
57+
<p>
58+
The treatment wizard on this page formalises this evidence-accumulation approach.
59+
It covers 18 observable clues — including inclusion type, surface texture, colour
60+
distribution, spectral absorption anomalies, fluorescence pattern, and magnification
61+
features — mapped against 11 treatment categories: heat, fracture filling, surface
62+
coating, diffusion, irradiation, oiling, waxing, bleaching, impregnation, laser
63+
drilling, and flux healing. Each clue carries positive or negative evidence weights
64+
for each treatment type. Submit the clues you have observed and the wizard sums the
65+
weights per treatment, producing a confidence-banded conclusion — high confidence
66+
when three or more independent indicators align, low confidence when evidence is
67+
mixed or a single clue stands alone. This mirrors the reasoning process used in
68+
major gemmological laboratories and makes the logic explicit rather than implicit.
69+
</p>
70+
<p>
71+
The proportion analyzer applies a different kind of multi-parameter assessment to
72+
cut quality in round brilliant diamonds. The GIA cut-grade system evaluates seven
73+
proportions independently: table percentage, total depth percentage, crown angle,
74+
pavilion angle, girdle thickness, culet size, and star length. Each parameter falls
75+
into one of five grade bands (Excellent, Very Good, Good, Fair, Poor) according to
76+
published GIA thresholds, and the overall cut grade is determined by the
77+
lowest-grading individual parameter. Enter the measured proportions from a
78+
proportion scope or grading report and the tool displays the per-parameter band for
79+
each value, highlights the limiting parameter, and returns the resulting cut grade.
80+
Understanding which proportion is pulling the grade down — crown angle too shallow,
81+
table too wide, or girdle too thick — gives a precise basis for cut-quality
82+
assessment and client communication.
83+
</p>
84+
</div>
85+
</details>
8186

8287
<AdvancedTools client:load />
8388
</div>

src/pages/tools/conversions.astro

Lines changed: 41 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -36,42 +36,47 @@ const tools = [
3636
</p>
3737
</header>
3838

39-
<section class="prose prose-slate max-w-none mb-8">
40-
<p>
41-
The metric carat was standardised internationally in 1907 at exactly 200&nbsp;mg
42-
(0.2&nbsp;g). Before that date, the carat varied by country — the old English carat
43-
differed from the French, which differed from the Turkish — making gem weights in
44-
historical records difficult to compare. The 1907 standard fixed the unit absolutely,
45-
and today a 1.00&nbsp;ct stone means the same weight in every country. In trade, the
46-
carat is subdivided into 100 points: a 0.50&nbsp;ct stone is described as
47-
fifty points, a 0.35&nbsp;ct stone as thirty-five points. The weight converter on
48-
this page handles carats, grams, milligrams, grains, and troy ounces — the full
49-
range of units encountered when reading historic inventory records, laboratory
50-
reports, and customs documentation.
51-
</p>
52-
<p>
53-
Length conversion between millimetres and inches is a routine need when gem
54-
dimensions measured with a metric caliper must be communicated in markets that use
55-
imperial measurements, or when a published cutting diagram gives proportions in
56-
inches that must be scaled to millimetres before use in the carat estimator. The
57-
conversion is straightforward (1&nbsp;inch = 25.4&nbsp;mm exactly), but having a
58-
dedicated converter eliminates the mental arithmetic error that can occur when
59-
managing multiple measurements at once.
60-
</p>
61-
<p>
62-
Temperature conversion matters in two specific gemmological contexts. First, the
63-
specific gravity calculation depends on the density of water at the temperature of
64-
the liquid used during hydrostatic weighing: water is densest at 4&nbsp;&deg;C
65-
(1.0000&nbsp;g/cm&sup3;) and becomes measurably less dense as temperature rises,
66-
reaching 0.9957&nbsp;g/cm&sup3; at 30&nbsp;&deg;C. The SG calculator on the
67-
Measurement page applies this water-density correction automatically, and the
68-
temperature converter here lets you enter a Fahrenheit reading from a lab thermometer
69-
and obtain the Celsius value needed for that correction. Second, some refractometer
70-
reference tables and refractive index databases list temperature coefficients in
71-
Fahrenheit; converting to Celsius before applying a temperature correction to an RI
72-
reading ensures the adjustment is applied in the right direction and magnitude.
73-
</p>
74-
</section>
39+
<details class="group mb-6 rounded-lg border border-slate-200 bg-slate-50 px-4 py-3 open:bg-white">
40+
<summary class="cursor-pointer select-none text-sm font-medium text-crystal-700 hover:text-crystal-900 marker:text-slate-400">
41+
About these converters
42+
</summary>
43+
<div class="prose prose-slate prose-sm mt-3 max-w-none">
44+
<p>
45+
The metric carat was standardised internationally in 1907 at exactly 200&nbsp;mg
46+
(0.2&nbsp;g). Before that date, the carat varied by country — the old English carat
47+
differed from the French, which differed from the Turkish — making gem weights in
48+
historical records difficult to compare. The 1907 standard fixed the unit absolutely,
49+
and today a 1.00&nbsp;ct stone means the same weight in every country. In trade, the
50+
carat is subdivided into 100 points: a 0.50&nbsp;ct stone is described as
51+
fifty points, a 0.35&nbsp;ct stone as thirty-five points. The weight converter on
52+
this page handles carats, grams, milligrams, grains, and troy ounces — the full
53+
range of units encountered when reading historic inventory records, laboratory
54+
reports, and customs documentation.
55+
</p>
56+
<p>
57+
Length conversion between millimetres and inches is a routine need when gem
58+
dimensions measured with a metric caliper must be communicated in markets that use
59+
imperial measurements, or when a published cutting diagram gives proportions in
60+
inches that must be scaled to millimetres before use in the carat estimator. The
61+
conversion is straightforward (1&nbsp;inch = 25.4&nbsp;mm exactly), but having a
62+
dedicated converter eliminates the mental arithmetic error that can occur when
63+
managing multiple measurements at once.
64+
</p>
65+
<p>
66+
Temperature conversion matters in two specific gemmological contexts. First, the
67+
specific gravity calculation depends on the density of water at the temperature of
68+
the liquid used during hydrostatic weighing: water is densest at 4&nbsp;&deg;C
69+
(1.0000&nbsp;g/cm&sup3;) and becomes measurably less dense as temperature rises,
70+
reaching 0.9957&nbsp;g/cm&sup3; at 30&nbsp;&deg;C. The SG calculator on the
71+
Measurement page applies this water-density correction automatically, and the
72+
temperature converter here lets you enter a Fahrenheit reading from a lab thermometer
73+
and obtain the Celsius value needed for that correction. Second, some refractometer
74+
reference tables and refractive index databases list temperature coefficients in
75+
Fahrenheit; converting to Celsius before applying a temperature correction to an RI
76+
reading ensures the adjustment is applied in the right direction and magnitude.
77+
</p>
78+
</div>
79+
</details>
7580

7681
<ConversionTools client:load />
7782
</div>

src/pages/tools/identification.astro

Lines changed: 48 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -34,49 +34,54 @@ const tools = [
3434
</p>
3535
</header>
3636

37-
<section class="prose prose-slate max-w-none mb-8">
38-
<p>
39-
Systematic gem identification follows a fixed sequence to avoid confirmation bias.
40-
Start with non-destructive observations — colour, transparency, lustre — then move
41-
to refractive index, then specific gravity, then the spectroscope if the RI falls in
42-
an ambiguous range. Only after these quantitative steps should qualitative tests
43-
(Chelsea filter, fluorescence) be applied to confirm or refute a working hypothesis.
44-
This sequence matches the FGA Diploma practical examination protocol, and it matters
45-
because qualitative tests are sensitive to treatment, coating, and imitation —
46-
whereas RI and SG are intrinsic physical constants of the material itself.
47-
</p>
48-
<p>
49-
The gem identifier on this page applies this logic directly. Enter the RI reading
50-
from your refractometer, the SG value from hydrostatic weighing, the crystal system
51-
if known from polariscope behaviour, and the optic character (singly refractive,
52-
uniaxial, or biaxial). Each parameter constrains the search independently, and the
53-
tool returns every family in the 96-entry mineral database that satisfies all the
54-
criteria you supply simultaneously. You do not need to fill in every field — a single
55-
RI reading already eliminates the majority of species, and adding SG typically
56-
reduces the candidate list to three or fewer families. The underlying database
57-
includes all 93 natural mineral families as well as 13 synthetic, 11 simulant, and
58-
4 composite entries, so lookalike materials appear in the same results set as genuine
59-
natural species.
60-
</p>
61-
<p>
62-
Results are displayed with origin badges that immediately flag whether a matching
63-
entry is a natural mineral, a lab-grown synthetic with the same chemical composition,
64-
a simulant made from a different material, or a composite assembled stone. This
65-
distinction is critical at the identification stage: a stone with an RI of 1.762 and
66-
SG of 3.99 could be natural ruby, flux-grown synthetic ruby, or a garnet-topped
67-
doublet — three very different commercial situations that require different follow-up
68-
tests. Seeing all three in a single ranked results table prevents the common error
69-
of stopping investigation once a plausible natural species is found.
70-
</p>
71-
<p>
72-
After the identifier narrows the field, the results table provides direct links to
73-
the relevant entries in the spectroscope band-matcher and UV fluorescence lookup, so
74-
the next logical test is always one click away. This end-to-end workflow — from
75-
first observation to a confirmed identification supported by multiple independent
76-
properties — is the foundation of professional gemmological practice and the
77-
standard taught at the Gemmological Association of Great Britain.
78-
</p>
79-
</section>
37+
<details class="group mb-6 rounded-lg border border-slate-200 bg-slate-50 px-4 py-3 open:bg-white">
38+
<summary class="cursor-pointer select-none text-sm font-medium text-crystal-700 hover:text-crystal-900 marker:text-slate-400">
39+
About the identifier &amp; methodology
40+
</summary>
41+
<div class="prose prose-slate prose-sm mt-3 max-w-none">
42+
<p>
43+
Systematic gem identification follows a fixed sequence to avoid confirmation bias.
44+
Start with non-destructive observations — colour, transparency, lustre — then move
45+
to refractive index, then specific gravity, then the spectroscope if the RI falls in
46+
an ambiguous range. Only after these quantitative steps should qualitative tests
47+
(Chelsea filter, fluorescence) be applied to confirm or refute a working hypothesis.
48+
This sequence matches the FGA Diploma practical examination protocol, and it matters
49+
because qualitative tests are sensitive to treatment, coating, and imitation —
50+
whereas RI and SG are intrinsic physical constants of the material itself.
51+
</p>
52+
<p>
53+
The gem identifier on this page applies this logic directly. Enter the RI reading
54+
from your refractometer, the SG value from hydrostatic weighing, the crystal system
55+
if known from polariscope behaviour, and the optic character (singly refractive,
56+
uniaxial, or biaxial). Each parameter constrains the search independently, and the
57+
tool returns every family in the 96-entry mineral database that satisfies all the
58+
criteria you supply simultaneously. You do not need to fill in every field — a single
59+
RI reading already eliminates the majority of species, and adding SG typically
60+
reduces the candidate list to three or fewer families. The underlying database
61+
includes all 93 natural mineral families as well as 13 synthetic, 11 simulant, and
62+
4 composite entries, so lookalike materials appear in the same results set as genuine
63+
natural species.
64+
</p>
65+
<p>
66+
Results are displayed with origin badges that immediately flag whether a matching
67+
entry is a natural mineral, a lab-grown synthetic with the same chemical composition,
68+
a simulant made from a different material, or a composite assembled stone. This
69+
distinction is critical at the identification stage: a stone with an RI of 1.762 and
70+
SG of 3.99 could be natural ruby, flux-grown synthetic ruby, or a garnet-topped
71+
doublet — three very different commercial situations that require different follow-up
72+
tests. Seeing all three in a single ranked results table prevents the common error
73+
of stopping investigation once a plausible natural species is found.
74+
</p>
75+
<p>
76+
After the identifier narrows the field, the results table provides direct links to
77+
the relevant entries in the spectroscope band-matcher and UV fluorescence lookup, so
78+
the next logical test is always one click away. This end-to-end workflow — from
79+
first observation to a confirmed identification supported by multiple independent
80+
properties — is the foundation of professional gemmological practice and the
81+
standard taught at the Gemmological Association of Great Britain.
82+
</p>
83+
</div>
84+
</details>
8085

8186
<IdentificationTools client:load />
8287
</div>

0 commit comments

Comments
 (0)