Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
Merge pull request #306 from illacloud/main
Browse files Browse the repository at this point in the history
Merge/develop
  • Loading branch information
Wangtaofeng authored Dec 13, 2023
2 parents afe695c + 2a8205a commit 582d0b8
Show file tree
Hide file tree
Showing 197 changed files with 1,576 additions and 1,559 deletions.
58 changes: 32 additions & 26 deletions next-sitemap.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ const { locales } = require('./src/constants/language')
const site = process.env.SITE_URL || 'https://www.illacloud.com'
const getHrefLan = (href) => {
for (let i = 0; i < locales.length; i++) {
if (href.includes(locales[i])) return locales[i].slice(0, 2).toLocaleLowerCase()
if (href.includes(locales[i]))
return locales[i].slice(0, 2).toLocaleLowerCase()
}

return "en";
return 'en'
}

const transformUrl = async (list, config) => {
Expand Down Expand Up @@ -40,29 +41,29 @@ module.exports = {
additionalPaths: async (config) => {
const result = []
const list = [
"/integrations",
"/components",
"/integrations/MySQL",
"/integrations/PostgreSQL",
"/integrations/MariaDB",
"/integrations/TiDB",
"/integrations/Redis",
"/integrations/MongoDB",
"/integrations/Elastic%20Search",
"/integrations/Firebase",
"/integrations/Supabase%20DB",
"/integrations/Clickhouse",
"/integrations/Amazon%20DynamoDB",
"/integrations/Snowflake",
"/components/Upload",
"/components/Switch",
"/components/Select",
"/components/Radio%20group",
"/components/Checkbox%20Group",
"/components/Chart",
"/components/Tables",
"/components/PDF",
"/components/Video",
'/integrations',
'/components',
'/integrations/MySQL',
'/integrations/PostgreSQL',
'/integrations/MariaDB',
'/integrations/TiDB',
'/integrations/Redis',
'/integrations/MongoDB',
'/integrations/Elastic%20Search',
'/integrations/Firebase',
'/integrations/Supabase%20DB',
'/integrations/Clickhouse',
'/integrations/Amazon%20DynamoDB',
'/integrations/Snowflake',
'/components/Upload',
'/components/Switch',
'/components/Select',
'/components/Radio%20group',
'/components/Checkbox%20Group',
'/components/Chart',
'/components/Tables',
'/components/PDF',
'/components/Video',
]
result.push(...(await transformUrl(list, config)))
return result
Expand All @@ -72,7 +73,12 @@ module.exports = {
{
userAgent: '*',
allow: '/',
disallow: ["https://cloud.illacloud.com/*", "https://builder.illacloud.com/*", "https://status.illacloud.com/", ]
disallow: [
'https://cloud.illacloud.com/*',
'https://builder.illacloud.com/*',
'https://status.illacloud.com/',
"'https://github.com/",
],
},
],
},
Expand Down
2 changes: 1 addition & 1 deletion public/locales/cs-CZ/cloud.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,6 @@
]
},
"customer": {
"title": "Trusted by thousands of teams"
"title": "Důvěryhodné tisíci týmů"
}
}
2 changes: 1 addition & 1 deletion public/locales/cs-CZ/design-component.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,6 @@
"cancelText": "Zrušit"
},
"customer": {
"title": "Trusted by thousands of teams"
"title": "Důvěryhodné tisíci týmů"
}
}
2 changes: 1 addition & 1 deletion public/locales/cs-CZ/drive.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@
]
},
"customer": {
"title": "Trusted by thousands of teams"
"title": "Důvěryhodné tisíci týmů"
}
}
6 changes: 3 additions & 3 deletions public/locales/cs-CZ/hacktober.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,10 +273,10 @@
"link": "https://www.youtube.com/live/8vkBTbxctmM?si=mYJg6NeAzB-iwbIM",
"sort": 0,
"available": 1,
"google-calendar": "https://calendar.google.com/calendar/render?action=TEMPLATE&dates=20231006T170000Z%2F20231006T190000Z&details=Learn%20how%20to%20create%20dashboard%20with%20ILLA%20Cloud%20and%20Appwrite.%20https%3A%2F%2Fwww.youtube.com%2Flive%2F8vkBTbxctmM%3Fsi%3DmYJg6NeAzB-iwbIM&text=ILLA%20Cloud%20%26%20Appwrite%20workshop",
"google-calendar": "https://calendar.google.com/calendar/render?action=TEMPLATE&dates=20231006T170000Z%2F20231006T190000Z&detaily=Nauč se%20how%20to%20cReate%20dNástěnka%20s%20ILLA%20Chlasitá%20a.%20Appwrite.%20https%3A%2F%2Fwww.youtube. om%2Fživý%2F8vkBTbxctmM%3Fsi%3DmYJg6NeAzB-iwbIM&text=ILLA%20Chlasové%20%26%20Appwrite%20",
"outlook": "https://outlook.live.com/calendar/0/action/compose?allday=false&body=Learn%20how%20to%20create%20dashboard%20with%20ILLA%20Cloud%20and%20Appwrite.%20https%3A%2F%2Fwww.youtube.com%2Flive%2F8vkBTbxctmM%3Fsi%3DmYJg6NeAzB-iwbIM&enddt=2023-10-06T19%3A00%3A00%2B00%3A00&path=%2Fcalendar%2Faction%2Fcompose&rru=addevent&startdt=2023-10-06T17%3A00%3A00%2B00%3A00&subject=ILLA%20Cloud%20%26%20Appwrite%20workshop",
"office": "https://outlook.office.com/calendar/action/compose?allday=false&body=Learn%20how%20to%20create%20dashboard%20with%20ILLA%20Cloud%20and%20Appwrite.%20https%3A%2F%2Fwww.youtube.com%2Flive%2F8vkBTbxctmM%3Fsi%3DmYJg6NeAzB-iwbIM&enddt=2023-10-06T19%3A00%3A00%2B00%3A00&path=%2Fcalendar%2Faction%2Fcompose&rru=addevent&startdt=2023-10-06T17%3A00%3A00%2B00%3A00&subject=ILLA%20Cloud%20%26%20Appwrite%20workshop",
"yahoo": "https://calendar.yahoo.com/?desc=Learn%20how%20to%20create%20dashboard%20with%20ILLA%20Cloud%20and%20Appwrite.%20https%3A%2F%2Fwww.youtube.com%2Flive%2F8vkBTbxctmM%3Fsi%3DmYJg6NeAzB-iwbIM&dur=&et=20231006T190000Z&st=20231006T170000Z&title=ILLA%20Cloud%20%26%20Appwrite%20workshop&v=60"
"yahoo": "https://calendar.yahoo.com/?desc=Naučte se%20how%20to%20create%20dashboard%20s%20ILLA%20Chlasitý%20a%20Appwrite.%20https%3A%2F%2Fwww. outube.com%2Fživá%2F8vkBTbxctmM%3Fsi%3DmYJg6NeAzB-iwbIM&dur=&et=20231006T190000Z&st=20231006T170000Z&title=ILLA%20Chlasitá%20%26%20Appwrite%20workshop&v=60"
},
{
"title": "TBD",
Expand Down Expand Up @@ -451,6 +451,6 @@
"discord": "Připojte se k našemu Discordu",
"coming-soon": "Již brzy...",
"customer": {
"title": "Trusted by thousands of teams"
"title": "Důvěryhodné tisíci týmů"
}
}
Loading

0 comments on commit 582d0b8

Please sign in to comment.