Skip to content

Commit caa78a5

Browse files
Refactor: Create reusable blue-link CSS class and fix white link styling
- Created .blue-link CSS class to replace repeated className attributes - Replaced all instances of long blue link className with blue-link class - Fixed white link in presto.mdx description with inline styles - Addresses PR review comments for code maintainability
1 parent ac79d49 commit caa78a5

File tree

10 files changed

+34
-16
lines changed

10 files changed

+34
-16
lines changed

docs-iceberg-query-engine/athena.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const athenaFeatures = [
2626
chip: "AWS-Native Only",
2727
description: (
2828
<>
29-
Only <Link to="/docs/writers/iceberg/catalog/glue/" className="text-blue-600 dark:text-blue-400 underline hover:text-blue-700 dark:hover:text-blue-300">AWS Glue Data Catalog</Link> supported for Iceberg. Hive, REST, Nessie, or JDBC catalogs not recognized - tight AWS ecosystem integration
29+
Only <Link to="/docs/writers/iceberg/catalog/glue/" className="blue-link">AWS Glue Data Catalog</Link> supported for Iceberg. Hive, REST, Nessie, or JDBC catalogs not recognized - tight AWS ecosystem integration
3030
</>
3131
),
3232
icon: <BuildingOfficeIcon className="w-6 h-6" />,

docs-iceberg-query-engine/clickhouse.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ export const clickhouseFeatures = [
367367
chip: "Since 25.4",
368368
description: (
369369
<>
370-
<Link to="/blog/2025/10/03/iceberg-metadata/#63-time-travel-rollback-and-branching" className="text-blue-600 dark:text-blue-400 underline hover:text-blue-700 dark:hover:text-blue-300">Time-travel</Link> since 25.4 with SET iceberg_timestamp_ms=&lt;epoch&gt; or iceberg_snapshot_id; partition pruning via use_iceberg_partition_pruning=1
370+
<Link to="/blog/2025/10/03/iceberg-metadata/#63-time-travel-rollback-and-branching" className="blue-link">Time-travel</Link> since 25.4 with SET iceberg_timestamp_ms=&lt;epoch&gt; or iceberg_snapshot_id; partition pruning via use_iceberg_partition_pruning=1
371371
</>
372372
),
373373
icon: <ClockIcon className="w-6 h-6" />,

docs-iceberg-query-engine/databricks.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export const databricksFeatures = [
8181
chip: "Innovative",
8282
description: (
8383
<>
84-
<Link to="/iceberg/query-engine/snowflake" className="text-blue-600 dark:text-blue-400 underline hover:text-blue-700 dark:hover:text-blue-300">UniForm</Link> enables the same table to be accessible as both Delta and Iceberg simultaneously, generating Iceberg metadata on every Delta commit
84+
<Link to="/iceberg/query-engine/snowflake" className="blue-link">UniForm</Link> enables the same table to be accessible as both Delta and Iceberg simultaneously, generating Iceberg metadata on every Delta commit
8585
</>
8686
),
8787
icon: <ArrowPathIcon className="w-6 h-6" />,
@@ -310,7 +310,7 @@ export const databricksFeatures = [
310310
chip: "Full Support",
311311
description: (
312312
<>
313-
External engines can <Link to="/blog/2025/10/03/iceberg-metadata/#63-time-travel-rollback-and-branching" className="text-blue-600 dark:text-blue-400 underline hover:text-blue-700 dark:hover:text-blue-300">time-travel</Link> using standard Iceberg syntax with snapshot-ID or timestamp, enhanced with Delta version mapping properties
313+
External engines can <Link to="/blog/2025/10/03/iceberg-metadata/#63-time-travel-rollback-and-branching" className="blue-link">time-travel</Link> using standard Iceberg syntax with snapshot-ID or timestamp, enhanced with Delta version mapping properties
314314
</>
315315
),
316316
icon: <ClockIcon className="w-6 h-6" />,

docs-iceberg-query-engine/duckdb.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const duckdbFeatures = [
2424
chip: "Partial Support",
2525
description: (
2626
<>
27-
Hadoop (file-system) and Iceberg <Link to="/iceberg/query-engine" className="text-blue-600 dark:text-blue-400 underline hover:text-blue-700 dark:hover:text-blue-300">REST catalog</Link> supported via rest option with bearer/OAuth tokens; no native Hive/Glue catalog yet
27+
Hadoop (file-system) and Iceberg <Link to="/iceberg/query-engine" className="blue-link">REST catalog</Link> supported via rest option with bearer/OAuth tokens; no native Hive/Glue catalog yet
2828
</>
2929
),
3030
icon: <BoltIcon className="w-6 h-6" />,
@@ -524,7 +524,7 @@ export const duckdbTableData = {
524524
details: {
525525
value: (
526526
<>
527-
Hadoop (file-system), <Link to="/docs/writers/iceberg/catalog/rest/?rest-catalog=generic" className="text-blue-600 dark:text-blue-400 underline hover:text-blue-700 dark:hover:text-blue-300">REST catalog</Link> with OAuth tokens; no native Hive/Glue support
527+
Hadoop (file-system), <Link to="/docs/writers/iceberg/catalog/rest/?rest-catalog=generic" className="blue-link">REST catalog</Link> with OAuth tokens; no native Hive/Glue support
528528
</>
529529
),
530530
tooltip: "Can proxy Hive/Glue through REST but no direct catalog integration"

docs-iceberg-query-engine/flink.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const flinkFeatures = [
2424
chip: "Full Support",
2525
description: (
2626
<>
27-
<Link to="/docs/writers/iceberg/catalog/hive/" className="text-blue-600 dark:text-blue-400 underline hover:text-blue-700 dark:hover:text-blue-300">Hive Metastore</Link>, Hadoop catalog, REST catalog (incl. Nessie), <Link to="/docs/writers/iceberg/catalog/glue/" className="text-blue-600 dark:text-blue-400 underline hover:text-blue-700 dark:hover:text-blue-300">AWS Glue</Link>, JDBC, plus any custom implementation via catalog-impl
27+
<Link to="/docs/writers/iceberg/catalog/hive/" className="blue-link">Hive Metastore</Link>, Hadoop catalog, REST catalog (incl. Nessie), <Link to="/docs/writers/iceberg/catalog/glue/" className="blue-link">AWS Glue</Link>, JDBC, plus any custom implementation via catalog-impl
2828
</>
2929
),
3030
icon: <BoltIcon className="w-6 h-6" />,
@@ -85,7 +85,7 @@ export const flinkFeatures = [
8585
chip: "Reference Engine",
8686
description: (
8787
<>
88-
Reference engine for <Link to="/blog/building-modern-data-lakehouse-with-olake-iceberg-lakekeeper-trino" className="text-blue-600 dark:text-blue-400 underline hover:text-blue-700 dark:hover:text-blue-300">CDC → Iceberg</Link>: consume Debezium/Kafka changelogs, upsert with exactly-once semantics, FLIP-27 incremental reads
88+
Reference engine for <Link to="/blog/building-modern-data-lakehouse-with-olake-iceberg-lakekeeper-trino" className="blue-link">CDC → Iceberg</Link>: consume Debezium/Kafka changelogs, upsert with exactly-once semantics, FLIP-27 incremental reads
8989
</>
9090
),
9191
icon: <BoltIcon className="w-6 h-6" />,

docs-iceberg-query-engine/impala.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const impalaFeatures = [
2424
chip: "Enterprise Ready",
2525
description: (
2626
<>
27-
Deep integration with <Link to="/iceberg/query-engine/hive" className="text-blue-600 dark:text-blue-400 underline hover:text-blue-700 dark:hover:text-blue-300">Hive Metastore</Link>, HadoopCatalog, and HadoopTables; other catalog implementations configurable via Hive site-config
27+
Deep integration with <Link to="/iceberg/query-engine/hive" className="blue-link">Hive Metastore</Link>, HadoopCatalog, and HadoopTables; other catalog implementations configurable via Hive site-config
2828
</>
2929
),
3030
icon: <BoltIcon className="w-6 h-6" />,
@@ -526,7 +526,7 @@ export const impalaTableData = {
526526
details: {
527527
value: (
528528
<>
529-
<Link to="/iceberg/query-engine/hive" className="text-blue-600 dark:text-blue-400 underline hover:text-blue-700 dark:hover:text-blue-300">Hive Catalog (HMS)</Link>, HadoopCatalog, HadoopTables; other catalog-impl via Hive site-config
529+
<Link to="/iceberg/query-engine/hive" className="blue-link">Hive Catalog (HMS)</Link>, HadoopCatalog, HadoopTables; other catalog-impl via Hive site-config
530530
</>
531531
),
532532
tooltip: "No direct Glue/REST/Nessie support; requires HMS infrastructure"

docs-iceberg-query-engine/presto.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const prestoFeatures = [
2626
chip: "REST/Nessie + OAuth2",
2727
description: (
2828
<>
29-
<Link to="/iceberg/query-engine/hive" className="text-blue-600 dark:text-blue-400 underline hover:text-blue-700 dark:hover:text-blue-300">Hive Metastore</Link>, <Link to="/docs/writers/iceberg/catalog/glue/" className="text-blue-600 dark:text-blue-400 underline hover:text-blue-700 dark:hover:text-blue-300">AWS Glue</Link>, REST/Nessie (0.277+ with OAuth2), Hadoop (file-based); JDBC possible via same properties
29+
<Link to="/iceberg/query-engine/hive" className="blue-link">Hive Metastore</Link>, <Link to="/docs/writers/iceberg/catalog/glue/" className="blue-link">AWS Glue</Link>, REST/Nessie (0.277+ with OAuth2), Hadoop (file-based); JDBC possible via same properties
3030
</>
3131
),
3232
icon: <BoltIcon className="w-6 h-6" />,
@@ -635,7 +635,7 @@ export const prestoTableData = {
635635
details: {
636636
value: (
637637
<>
638-
<Link to="/docs/writers/iceberg/catalog/hive/" className="text-blue-600 dark:text-blue-400 underline hover:text-blue-700 dark:hover:text-blue-300">Hive Metastore</Link>, <Link to="/docs/writers/iceberg/catalog/glue/" className="text-blue-600 dark:text-blue-400 underline hover:text-blue-700 dark:hover:text-blue-300">AWS Glue</Link>, REST/Nessie (OAuth2), Hadoop file-based, JDBC via properties
638+
<Link to="/docs/writers/iceberg/catalog/hive/" className="blue-link">Hive Metastore</Link>, <Link to="/docs/writers/iceberg/catalog/glue/" className="blue-link">AWS Glue</Link>, REST/Nessie (OAuth2), Hadoop file-based, JDBC via properties
639639
</>
640640
),
641641
tooltip: "Universal catalog integration with advanced authentication"
@@ -846,7 +846,7 @@ export const prestoUseCases = [
846846
title="Presto 0.288+"
847847
description={
848848
<>
849-
<Link to="/iceberg/query-engine/trino" className="white-link">Distributed SQL</Link> query engine with REST/Nessie catalogs, row-level DELETE, time travel, and configurable MoR/CoW modes for interactive analytics
849+
<Link to="/iceberg/query-engine/trino" className="white-link" style={{color: 'white', textDecoration: 'underline'}}>Distributed SQL</Link> query engine with REST/Nessie catalogs, row-level DELETE, time travel, and configurable MoR/CoW modes for interactive analytics
850850
</>
851851
}
852852
features={prestoFeatures}

docs-iceberg-query-engine/snowflake.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ export const snowflakeFeatures = [
480480
chip: "External Engine Access",
481481
description: (
482482
<>
483-
UniForm exposes Snowflake tables through Iceberg-compatible REST catalog so external engines (Spark, <Link to="/iceberg/query-engine/trino" className="text-blue-600 dark:text-blue-400 underline hover:text-blue-700 dark:hover:text-blue-300">Trino</Link>) can read them. Cross-cloud support via External Volumes
483+
UniForm exposes Snowflake tables through Iceberg-compatible REST catalog so external engines (Spark, <Link to="/iceberg/query-engine/trino" className="blue-link">Trino</Link>) can read them. Cross-cloud support via External Volumes
484484
</>
485485
),
486486
icon: <ArrowPathIcon className="w-6 h-6" />,

docs-iceberg-query-engine/trino.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const trinoFeatures = [
2525
chip: "Universal Access",
2626
description: (
2727
<>
28-
<Link to="/docs/writers/iceberg/catalog/hive/" className="text-blue-600 dark:text-blue-400 underline hover:text-blue-700 dark:hover:text-blue-300">hive_metastore</Link>, <Link to="/docs/writers/iceberg/catalog/glue/" className="text-blue-600 dark:text-blue-400 underline hover:text-blue-700 dark:hover:text-blue-300">glue</Link>, jdbc, rest, nessie, or <Link to="/iceberg/query-engine/snowflake" className="text-blue-600 dark:text-blue-400 underline hover:text-blue-700 dark:hover:text-blue-300">snowflake</Link> catalogs; each exposes same tables once configured in catalog properties
28+
<Link to="/docs/writers/iceberg/catalog/hive/" className="blue-link">hive_metastore</Link>, <Link to="/docs/writers/iceberg/catalog/glue/" className="blue-link">glue</Link>, jdbc, rest, nessie, or <Link to="/iceberg/query-engine/snowflake" className="blue-link">snowflake</Link> catalogs; each exposes same tables once configured in catalog properties
2929
</>
3030
),
3131
icon: <BoltIcon className="w-6 h-6" />,
@@ -633,7 +633,7 @@ export const trinoTableData = {
633633
details: {
634634
value: (
635635
<>
636-
<Link to="/docs/writers/iceberg/catalog/hive/" className="text-blue-600 dark:text-blue-400 underline hover:text-blue-700 dark:hover:text-blue-300">hive_metastore</Link>, <Link to="/docs/writers/iceberg/catalog/glue/" className="text-blue-600 dark:text-blue-400 underline hover:text-blue-700 dark:hover:text-blue-300">glue</Link>, jdbc, rest, nessie, <Link to="/iceberg/query-engine/snowflake" className="text-blue-600 dark:text-blue-400 underline hover:text-blue-700 dark:hover:text-blue-300">snowflake</Link> - unified access via catalog properties
636+
<Link to="/docs/writers/iceberg/catalog/hive/" className="blue-link">hive_metastore</Link>, <Link to="/docs/writers/iceberg/catalog/glue/" className="blue-link">glue</Link>, jdbc, rest, nessie, <Link to="/iceberg/query-engine/snowflake" className="blue-link">snowflake</Link> - unified access via catalog properties
637637
</>
638638
),
639639
tooltip: "Each catalog configured in etc/catalog/*.properties with static configuration"

styles/index.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,24 @@ pre code {
362362
animation: pulse-dot 2s infinite;
363363
}
364364

365+
/* Blue links for feature cards and table data */
366+
.blue-link {
367+
color: rgb(37, 99, 235) !important; /* text-blue-600 */
368+
text-decoration: underline;
369+
}
370+
371+
.dark .blue-link {
372+
color: rgb(96, 165, 250) !important; /* dark:text-blue-400 */
373+
}
374+
375+
.blue-link:hover {
376+
color: rgb(29, 78, 216) !important; /* hover:text-blue-700 */
377+
}
378+
379+
.dark .blue-link:hover {
380+
color: rgb(147, 197, 253) !important; /* dark:hover:text-blue-300 */
381+
}
382+
365383
/* White links for QueryEngineLayout descriptions */
366384
.white-link {
367385
color: white !important;

0 commit comments

Comments
 (0)