site-library/app-config.json
2025-12-27 09:25:38 +01:00

250 lines
6.4 KiB
JSON

{
"site": {
"title": "Polymech Library",
"base_url": "https://library.polymech.info/",
"description": "",
"base_path": "/",
"trailing_slash": false,
"favicon": "/images/favicon.png",
"logo": "/images/logo.png",
"logo_darkmode": "/images/logo-darkmode.png",
"logo_width": "150",
"logo_height": "33",
"logo_text": "Polymech Library",
"image": {
"default": "/images/default-image.png",
"error": "/images/error-image.png",
"alt": "Polymech Library"
}
},
"footer_left": [
{
"href": "/${LANG}/resources/info/contact",
"text": "Contact"
},
{
"href": "https://forum.polymech.info/",
"text": "Forum"
},
{
"href": "https://files.polymech.info/",
"text": "Files"
},
{
"href": "https://git.polymech.info/explore/repos",
"text": "Github"
}
],
"footer_right": [],
"settings": {
"search": true,
"account": true,
"sticky_header": true,
"theme_switcher": true,
"default_theme": "system"
},
"params": {
"contact_form_action": "#",
"copyright": "Designed And Developed by [Themefisher](https://themefisher.com/)"
},
"navigation": {
"top": [
{
"href": "/${LANG}",
"text": "Home"
},
{
"href": "/${LANG}/resources",
"text": "Resources"
},
{
"href": "/${LANG}/library",
"text": "Library"
},
{
"href": "/${LANG}/howtos",
"text": "Tutorials"
},
{
"href": "https://service.polymech.info/",
"text": "Media"
},
{
"href": "https://forum.polymech.info/",
"text": "Forum"
},
{
"href": "/${LANG}/resources/info/contact",
"text": "Contact"
}
]
},
"navigation_button": {
"enable": true,
"label": "Get Started",
"link": "https://github.com/themefisher/astrofront"
},
"ecommerce": {
"brand": "Polymech",
"currencySymbol": "",
"currencyCode": "EU"
},
"metadata": {
"country": "Spain",
"city": "Barcelona",
"author": "Polymech",
"author_bio": "I am in, if its true",
"author_url": "https://polymech.info/",
"image": "/images/og-image.png",
"description": "Polymech is a plastic prototyping company that offers product design services.",
"keywords": "Plastic, Prototyping, Product Design, Opensource"
},
"shopify": {
"currencySymbol": "",
"currencyCode": "EU",
"collections": {
"hero_slider": "hidden-homepage-carousel",
"featured_products": "featured-products"
}
},
"pages": {
"home": {
"hero": "https://assets.osr-plastic.org/machines//assets/newsletter/common/products/extruders/overview-3.jpg",
"_blog": {
"store": "resources"
}
}
},
"core": {
"logging_namespace": "polymech-site",
"translate_content": true,
"languages": [
"en",
"ar",
"de",
"ja",
"es",
"zh",
"fr"
],
"languages_prod": [
"en",
"es",
"fr"
],
"rtl_languages": [
"ar"
],
"osr_root": "${OSR_ROOT}"
},
"dev": {
"file_server": "localhost:5000"
},
"i18n": {
"store": "${OSR_ROOT}/i18n-store/store-${LANG}.json",
"cache": true,
"asset_path": "${SRC_DIR}/${SRC_NAME}-${DST_LANG}${SRC_EXT}"
},
"products": {
"root": "${OSR_ROOT}/products",
"howto_migration": "./data/last.json",
"glob": "**/config.json",
"enabled": "${OSR_ROOT}/products/config/machines.json"
},
"retail": {
"library_branch": "site-prod",
"projects_branch": "projects"
},
"rss": {
"title": "Polymech RSS Feed",
"description": ""
},
"osrl": {
"env": "astro-release",
"env_dev": "astro-debug",
"module_name": "polymech.io",
"lang_flavor": "osr",
"product_profile": "./src/app/profile.json"
},
"features": {
"show_description": false,
"show_license": true,
"show_renderings": true,
"show_tabs": false,
"show_gallery": true,
"show_files": true,
"show_specs": true,
"show_checkout": true,
"show_contact": true,
"show_3d_preview": true,
"show_resources": true,
"show_debug": false,
"show_samples": true,
"show_readme": false,
"show_related": true,
"show_showcase": true,
"show_screenshots": true
},
"defaults": {
"image_url": "https://picsum.photos/640/640",
"license": "CERN Open Source Hardware License",
"contact": "sales@plastic-hub.com"
},
"cad": {
"cache": true,
"export_configurations": true,
"export_sub_components": true,
"renderer": "solidworks",
"renderer_view": "Render",
"renderer_quality": 1,
"extensions": [
".STEP",
".html"
],
"model_ext": ".tree.json",
"default_configuration": "Default",
"main_match": "${product}/cad*/*Global*.+(SLDASM)",
"cam_main_match": "${product}/cad*/*-CNC*.+(SLDASM)"
},
"assets": {
"cad_url": "${OSR_MACHINES_ASSETS_URL}/${file}",
"url": "${OSR_MACHINES_ASSETS_URL}/products/${product_rel_min}/${file}",
"item_url_r": "${OSR_MACHINES_ASSETS_URL}/${ITEM_REL}/${assetPath}/${filePath}",
"item_url": "http://${FILE_SERVER_DEV}/${ITEM_REL}/${assetPath}/${filePath}"
},
"optimization": {
"image_settings": {
"gallery": {
"show_title": true,
"show_description": false,
"sizes_thumb": "(min-width: 120px) 120px, 120vw",
"sizes_large": "(min-width: 1024px) 1024px, 1024vw",
"sizes_regular": "(min-width: 400px) 400px, 400vw"
},
"lightbox": {
"show_title": true,
"show_description": true,
"sizes_thumb": "(min-width: 120px) 120px, 120vw",
"sizes_large": "(min-width: 1024px) 1024px, 1024vw",
"sizes_regular": "(min-width: 400px) 400px, 400vw"
}
},
"presets": {
"slow": {
"sizes_medium": "(min-width: 100px) 100px, 100vw",
"sizes_thumbs": "(min-width: 80px) 80px, 80vw",
"sizes_large": "(min-width: 320px) 320px, 320vw"
},
"medium": {
"sizes_medium": "(min-width: 400px) 400px, 400vw",
"sizes_thumbs": "(min-width: 120px) 120px, 120vw",
"sizes_large": "(min-width: 1024px) 1024px, 1024vw"
},
"fast": {
"sizes_medium": "(min-width: 1024px) 1024px, 1024vw",
"sizes_thumbs": "(min-width: 180px) 180px, 180vw",
"sizes_large": "(min-width: 1200px) 1200px, 1200vw"
}
}
}
}