mirror of
https://github.com/Chevron7Locked/kima-hub.git
synced 2026-06-19 07:37:17 +00:00
7f228fb76f
- Use CachedImage (memoized) instead of raw Image in library grids - Add GPU acceleration hints (translateZ) to card containers - Remove expensive shadow-lg from library card image containers - Add hover scale transform to match homepage cards - Fix pagination scroll to use correct scroll container (#main-content) - Scroll after page change, not on click - Remove standalone /artists and /albums pages (use /library tabs) - Add NEXT_PUBLIC_BUILD_TYPE env var for nightly vs release builds - Bump version to 1.3.6 Co-Authored-By: Claude <noreply@anthropic.com>
11 lines
400 B
TypeScript
11 lines
400 B
TypeScript
import packageJson from "../package.json";
|
|
|
|
// Base version from package.json
|
|
const BASE_VERSION = packageJson.version;
|
|
|
|
// Check if this is a nightly build (set via NEXT_PUBLIC_BUILD_TYPE env var)
|
|
const isNightly = process.env.NEXT_PUBLIC_BUILD_TYPE === "nightly";
|
|
|
|
// Export version with nightly suffix if applicable
|
|
export const APP_VERSION = isNightly ? `${BASE_VERSION}-nightly` : BASE_VERSION;
|