feat: enhance accessibility with skip to main content button and improve navigation handling

🔧 fix: update navigation href resolution to include localized paths

🆕 feat: add new FeatureIcon component for feature boxes

🎨 style: improve styling for prose elements in richtext blocks

🛠️ refactor: streamline medialib image loading and caching logic

📦 chore: update mock data handling to support new medialib entries

🔄 chore: synchronize i18n initialization and locale management

📝 docs: update video tour descriptions to reflect recent changes
This commit is contained in:
2026-05-12 13:55:32 +00:00
parent 8fb26fdeba
commit e84b87ed16
41 changed files with 1523 additions and 338 deletions
+11
View File
@@ -16,10 +16,20 @@ function log(str, clear) {
let buildResults
let ctx
function cleanChunks() {
const outdir = config.options.outdir
if (!outdir) return
const chunksDir = path.join(outdir, "chunks")
if (fs.existsSync(chunksDir)) {
fs.rmSync(chunksDir, { recursive: true })
}
}
async function build(catchError) {
if (config.writeBuildInfo) {
config.writeBuildInfo()
}
cleanChunks()
if (!ctx) ctx = await esbuild.context(config.options)
log((buildResults ? "re" : "") + "building...")
const timerStart = Date.now()
@@ -76,6 +86,7 @@ switch (process.argv?.length > 2 ? process.argv[2] : "build") {
if (config.writeBuildInfo) {
config.writeBuildInfo()
}
cleanChunks()
esbuild.build(config.options).then(function (buildResults) {
if (config.options.metafile) {
fs.writeFileSync(