generated from polymech/site-template
langs | deploy - creava.org :)
This commit is contained in:
parent
8e2ded809f
commit
aecdd97168
@ -23,7 +23,7 @@
|
||||
"format": "unix-time"
|
||||
}
|
||||
],
|
||||
"default": "2025-03-30T00:02:21.954Z"
|
||||
"default": "2025-03-30T09:16:02.253Z"
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -670,7 +670,7 @@
|
||||
},
|
||||
"https://scholarworks.uni.edu/cgi/viewcontent.cgi?article=3680%5C&context=grp": {
|
||||
"isValid": false,
|
||||
"timestamp": 1743292943669
|
||||
"timestamp": 1743326163638
|
||||
},
|
||||
"https://pmc.ncbi.nlm.nih.gov/articles/PMC10489002/": {
|
||||
"isValid": true,
|
||||
@ -754,7 +754,7 @@
|
||||
},
|
||||
"https://journals.plos.org/plosone/article?id=10.1371%252Fjournal.pone.0288696": {
|
||||
"isValid": false,
|
||||
"timestamp": 1743292944213
|
||||
"timestamp": 1743326174570
|
||||
},
|
||||
"https://www.youtube.com/watch?v=_a7usMe_K38": {
|
||||
"isValid": true,
|
||||
@ -841,7 +841,7 @@
|
||||
},
|
||||
"https://www.toraytac.com/media/c3feb206-1398-4e0e-bca6-df7780f11745/tcCurg/TenCate%2520Advanced%2520Composites/Documents/Technical%2520papers/TenCate_chopped_fiber_thermoplastics_compression_molding_technical_paper.pdf": {
|
||||
"isValid": false,
|
||||
"timestamp": 1743292944696
|
||||
"timestamp": 1743326164423
|
||||
},
|
||||
"https://youtu.be/qtZv96cifIU": {
|
||||
"isValid": true,
|
||||
@ -1397,7 +1397,7 @@
|
||||
},
|
||||
"https://www.amazon.it/s?k=cnc+CNC%20Router": {
|
||||
"isValid": true,
|
||||
"timestamp": 1743260541154,
|
||||
"timestamp": 1743326165482,
|
||||
"meta": {
|
||||
"title": "Ci dispiace",
|
||||
"image": "https://images-eu.ssl-images-amazon.com/images/G/29/x-locale/communities/people/logo.gif",
|
||||
@ -1897,7 +1897,7 @@
|
||||
},
|
||||
"https://digitalcommons.calpoly.edu/cgi/viewcontent.cgi?article=1288%5C&context=eesp": {
|
||||
"isValid": false,
|
||||
"timestamp": 1743260542529
|
||||
"timestamp": 1743326166662
|
||||
},
|
||||
"*": {
|
||||
"isValid": false,
|
||||
@ -1905,7 +1905,7 @@
|
||||
},
|
||||
"https://partners.noplasticsunday.com/NPSblog/?bmode=view%5C&idx=11164797": {
|
||||
"isValid": true,
|
||||
"timestamp": 1743260545524,
|
||||
"timestamp": 1743326170800,
|
||||
"meta": {
|
||||
"title": "노플라스틱선데이",
|
||||
"description": "지속가능한 제조 서비스 NPS Partners",
|
||||
@ -2062,7 +2062,7 @@
|
||||
},
|
||||
"https://www.youtube.com/watch?v=Eq9IbetsLB4%5C&t=2s": {
|
||||
"isValid": true,
|
||||
"timestamp": 1743260547267,
|
||||
"timestamp": 1743326172117,
|
||||
"meta": {
|
||||
"title": "Injection molding machine for recycling plastic",
|
||||
"description": "Injection molding machine for recycling plastic (called \"Smart Injector\"). The design is low-cost and uses easy componentsIMPORTANT! The machine is still wor...",
|
||||
@ -2647,7 +2647,7 @@
|
||||
},
|
||||
"https://www.youtube.com/watch?time_continue=163%5C&v=95aPYlXShTY%5C&feature=emb_logo": {
|
||||
"isValid": true,
|
||||
"timestamp": 1743260548955,
|
||||
"timestamp": 1743326173390,
|
||||
"meta": {
|
||||
"title": "Hands-Free Door Opener: Technical Information",
|
||||
"description": "Discover our available models, printing and mounting instructions, and informational sticker for our 3D-printed hands-free door opener to avoid passing on CO...",
|
||||
@ -2895,7 +2895,7 @@
|
||||
},
|
||||
"https://crescent.education/wp-content/uploads/2019/02/MODULE-II-%25E2%2580%2593-FUNDAMENTALS-OF-EXTRUSION-MOULDING.pdf": {
|
||||
"isValid": false,
|
||||
"timestamp": 1743260550264
|
||||
"timestamp": 1743326174434
|
||||
},
|
||||
"https://rjginc.com/essential-injection-molding-safety-standards-and-practices/": {
|
||||
"isValid": true,
|
||||
@ -2920,7 +2920,7 @@
|
||||
},
|
||||
"https://www.oldergeeks.com/downloads/search.php?limit=100%5C&string=Power+Software+Ltd.%5C&sort=file_name%5C&order=asc%5C&id=0%5C&page=9": {
|
||||
"isValid": true,
|
||||
"timestamp": 1743260551685,
|
||||
"timestamp": 1743326175666,
|
||||
"meta": {
|
||||
"favicon": "https://www.oldergeeks.com/favicon.ico"
|
||||
}
|
||||
@ -3131,7 +3131,7 @@
|
||||
},
|
||||
"https://papers.ssrn.com/sol3/Delivery.cfm/733008ad-9620-43bf-896c-aa4a2e9931e5-MECA.pdf?abstractid=4611811%5C&mirid=1": {
|
||||
"isValid": true,
|
||||
"timestamp": 1743260555380,
|
||||
"timestamp": 1743326179370,
|
||||
"meta": {
|
||||
"title": "Page Cannot be Found",
|
||||
"favicon": "https://papers.ssrn.com/favicon.ico"
|
||||
@ -3231,7 +3231,7 @@
|
||||
},
|
||||
"https://en.wikipedia.org/wiki/Jigsaw_%5C(power_tool%5C": {
|
||||
"isValid": false,
|
||||
"timestamp": 1743260555753
|
||||
"timestamp": 1743326179557
|
||||
},
|
||||
"https://www.amazon.de/-/en/Stanley-10-099-Classic/dp/B001FWP58U": {
|
||||
"isValid": false,
|
||||
@ -3819,7 +3819,7 @@
|
||||
},
|
||||
"https://scibizsw.com/20_THE%2520OFFICIAL%2520RASPBERRY%2520PI%2520PROJECTS%2520BOOK%2520v3.pdf": {
|
||||
"isValid": false,
|
||||
"timestamp": 1743260579454
|
||||
"timestamp": 1743326180529
|
||||
},
|
||||
"https://archive.org/stream/MagPi/Projects_Book_v3_djvu.txt": {
|
||||
"isValid": true,
|
||||
|
||||
@ -31,7 +31,7 @@ export default defineConfig({
|
||||
enabled: false,
|
||||
},
|
||||
i18n: {
|
||||
locales: ["en","es"],
|
||||
locales: ['en','es','fr','it','de'],
|
||||
defaultLocale: "en",
|
||||
},
|
||||
alias: {
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
#npm run build
|
||||
npm run build
|
||||
sh scripts/deploy.sh
|
||||
Shutdown.exe -s -t 00
|
||||
#sh scripts/sync.sh
|
||||
#sh scripts/zip.sh
|
||||
|
||||
|
||||
@ -6,8 +6,9 @@ import Wrapper from "@/components/containers/Wrapper.astro";
|
||||
|
||||
const all = await getCollection("howtos");
|
||||
const locale = Astro.currentLocale || "en";
|
||||
const { category } = Astro.props;
|
||||
const filtered = all.filter( (item) => item.data.item.category?.label.toLowerCase() === category,
|
||||
const { category } = Astro.props;
|
||||
const filtered = all.filter(
|
||||
(item) => item.data.item.category?.label.toLowerCase() === category,
|
||||
);
|
||||
---
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ export const LOGGING_NAMESPACE = 'polymech-site'
|
||||
export const TRANSLATE_CONTENT = true
|
||||
export const LANGUAGES = ['en', 'es']
|
||||
export const LANGUAGES_SITE = ['en', 'ar', 'de', 'ja', 'es', 'zh', 'fr']
|
||||
export const LANGUAGES_PROD = ['en','es']
|
||||
export const LANGUAGES_PROD = ['en','es','fr','it','de']
|
||||
export const isRTL = (lang) => lang === 'ar'
|
||||
|
||||
// i18n constants
|
||||
@ -34,7 +34,7 @@ export const HOWTO_ADD_REFERENCES = true
|
||||
export const HOWTO_COMPLETE_SKILLS = false
|
||||
export const HOWTO_LOCAL_RESOURCES = false
|
||||
export const HOWTO_SEO_LLM = true
|
||||
export const HOWTO_MAX_ITEMS = 10
|
||||
export const HOWTO_MAX_ITEMS = 50
|
||||
|
||||
export const HOWTO_MIGRATION = () => path.resolve(resolve("./data/last.json"))
|
||||
export const HOWTO_ROOT_INTERN = () => path.resolve(resolve("./public/resources/howtos"))
|
||||
|
||||
@ -12,7 +12,7 @@ const locale = Astro.currentLocale || "en"
|
||||
{
|
||||
all.map((item) => (
|
||||
<List
|
||||
url={ locale + "/howtos/" + item.id}
|
||||
url={ `/${locale}/howtos/${item.id}`}
|
||||
title={item.data.title}
|
||||
price={item.data.price}
|
||||
type={item.data.type}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user