release: bump version to 0.51.1

This commit is contained in:
rayd1o
2026-05-11 10:59:41 +08:00
parent 1cb51b1172
commit 8955c58d19
12 changed files with 49 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "planet-frontend",
"version": "0.51.0",
"version": "0.51.1",
"private": true,
"packageManager": "bun@1",
"dependencies": {

View File

@@ -0,0 +1,24 @@
@font-face {
font-family: "Material Symbols Rounded";
font-style: normal;
font-weight: 500;
font-display: block;
src: url("../assets/fonts/material-symbols-rounded-500.ttf") format("truetype");
}
.material-symbols-rounded {
direction: ltr;
display: inline-block;
font-family: "Material Symbols Rounded";
font-feature-settings: "liga";
font-size: 24px;
font-style: normal;
font-weight: 500;
letter-spacing: normal;
line-height: 1;
text-transform: none;
white-space: nowrap;
word-wrap: normal;
-webkit-font-feature-settings: "liga";
-webkit-font-smoothing: antialiased;
}

View File

@@ -136,7 +136,7 @@
<link rel="stylesheet" href="css/news-panel.css">
<link rel="stylesheet" href="css/layer-panel.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;500;600&display=swap">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,500,0,0">
<link rel="stylesheet" href="css/fonts.css">
</head>
<body class="earth-page">
<svg class="earth-filters" aria-hidden="true" width="0" height="0">

View File

@@ -38,7 +38,7 @@ const BGP_COLLECTOR_RENDER_ORDER = 4.4;
const BGP_COLLECTOR_ALTITUDE_OFFSET = BGP_CONFIG.collectorAltitudeOffset;
const BGP_COLLECTOR_POINT_SIZE = 36;
const BGP_COLLECTOR_ICON_FIT_SIZE = 60;
const BGP_COLLECTOR_ICON_SOURCE = "/earth/assets/icons/bgp-broadcast-pin.svg";
const BGP_COLLECTOR_ICON_SOURCE = new URL("../assets/icons/bgp-broadcast-pin.svg", import.meta.url).href;
const BGP_COLLECTOR_HOVER_SCALE = 1.08;
const BGP_COLLECTOR_LOCKED_SCALE = 1.12;
const BGP_COLLECTOR_PULSE_AMPLITUDE = 0.14;

View File

@@ -12,9 +12,9 @@ const COMPUTE_CENTER_POINT_SIZE = 36;
const COMPUTE_CENTER_ICON_FIT_SIZE = 60;
const COMPUTE_CENTER_ATLAS_CELL_SIZE = 128;
const COMPUTE_CENTER_ICON_SOURCES = {
supercomputer: "/earth/assets/icons/compute-supercomputer.svg",
gpu_cluster: "/earth/assets/icons/compute-gpu-cluster.svg",
infrastructure: "/earth/assets/icons/compute-hdd-network.svg",
supercomputer: new URL("../assets/icons/compute-supercomputer.svg", import.meta.url).href,
gpu_cluster: new URL("../assets/icons/compute-gpu-cluster.svg", import.meta.url).href,
infrastructure: new URL("../assets/icons/compute-hdd-network.svg", import.meta.url).href,
};
let showComputeCenters = true;
let supercomputerCount = 0;

View File

@@ -177,7 +177,7 @@ export const TERRAIN_CONFIG = {
};
export const COUNTRY_BOUNDARY_CONFIG = {
dataPath: "/earth/data/countries-admin0.min.geojson",
dataPath: new URL("../data/countries-admin0.min.geojson", import.meta.url).href,
lineAltitudeOffset: 0.115,
hoverAltitudeOffset: 0.14,
lineColor: 0x7fc7ff,