diff --git a/src/frontend/assets/icons/clpfinance_logo.png b/src/frontend/assets/icons/clpfinance_logo.png new file mode 100644 index 0000000000..352ba6ecfc Binary files /dev/null and b/src/frontend/assets/icons/clpfinance_logo.png differ diff --git a/src/frontend/assets/icons/dotmeet_logo.webp b/src/frontend/assets/icons/dotmeet_logo.webp new file mode 100644 index 0000000000..df261ef578 Binary files /dev/null and b/src/frontend/assets/icons/dotmeet_logo.webp differ diff --git a/src/frontend/assets/icons/doxa_logo.webp b/src/frontend/assets/icons/doxa_logo.webp new file mode 100644 index 0000000000..d780ad0789 Binary files /dev/null and b/src/frontend/assets/icons/doxa_logo.webp differ diff --git a/src/frontend/assets/icons/staex_logo.png b/src/frontend/assets/icons/staex_logo.png new file mode 100644 index 0000000000..3af73574af Binary files /dev/null and b/src/frontend/assets/icons/staex_logo.png differ diff --git a/src/frontend/assets/icons/zon_logo.webp b/src/frontend/assets/icons/zon_logo.webp new file mode 100644 index 0000000000..8e0fd74d93 Binary files /dev/null and b/src/frontend/assets/icons/zon_logo.webp differ diff --git a/src/frontend/src/flows/dappsExplorer/dapps.json b/src/frontend/src/flows/dappsExplorer/dapps.json index e8be4d7bf7..72692b8b00 100644 --- a/src/frontend/src/flows/dappsExplorer/dapps.json +++ b/src/frontend/src/flows/dappsExplorer/dapps.json @@ -400,10 +400,10 @@ "logo": "kinic_logo.webp" }, { - "name": "The Asset App", + "name": "ubin", "website": "https://h3cjw-syaaa-aaaam-qbbia-cai.ic0.app/", "logo": "asset-app_logo.png", - "oneLiner": "Allows any user to generate their own file canister smart contract and visually manage their files on the Internet Computer without requiring any code" + "oneLiner": "Allows you to seamlessly launch your file storage smart contracts on ICP and interact with them via a file explorer in the browser." }, { "name": "icgpt", @@ -552,5 +552,36 @@ "https://az5sd-cqaaa-aaaae-aaarq-cai.ic0.app/" ], "logo": "distrikt_logo.webp" + }, + { + "name": "CLP Finance", + "oneLiner": "A decentralized financial protocol with low-cost, efficient, and secure digital asset lending services to borrow CUSD using ICP, ckETH, or ckBTC.", + "website": "https://www.clp.finance/", + "logo": "clpfinance_logo.png" + }, + { + "name": "Dotmeet", + "oneLiner": "A city-based events calendar app helping web3 communities and companies in effectively reaching their target audience within cities.", + "website": "https://dotmeet.app/", + "logo": "dotmeet_logo.webp" + }, + { + "name": "Doxa", + "oneLiner": "A multi-stablecoin plartform with the doxa dollar.", + "website": "https://i7m4z-gqaaa-aaaak-qddtq-cai.icp0.io/", + "logo": "doxa_logo.webp" + }, + { + "name": "Staex VTS", + "oneLiner": "A vehicle tracking system that serves as an infrastructure to track and invoice vehicles.", + "website": "https://staex.io", + "logo": "staex_logo.png" + }, + { + "name": "Zon Social Media", + "oneLiner": "A fusion of social network, marketplace, and Web directory.", + "website": "https://zoncircle.com", + "logo": "zon_logo.webp", + "authOrigins": "https://zoncircle.com" } ] diff --git a/src/frontend/src/flows/dappsExplorer/dapps.ts b/src/frontend/src/flows/dappsExplorer/dapps.ts index 21387c488f..6836df6e8e 100644 --- a/src/frontend/src/flows/dappsExplorer/dapps.ts +++ b/src/frontend/src/flows/dappsExplorer/dapps.ts @@ -22,12 +22,19 @@ export class KnownDapp { // * the website // * any (some) of the authOrigins hasOrigin(orig: string): boolean { - return ( - orig === new URL(this.descr.website).origin || - (this.descr.authOrigins ?? []).some( + if (orig === this.descr.website) { + return true; + } + if (typeof this.descr.authOrigins === "string") { + return ( + // If authOrigins is a string, it's a single origin + orig === new URL(this.descr.authOrigins).origin + ); + } else { + return (this.descr.authOrigins ?? []).some( (authOrigin) => orig === new URL(authOrigin).origin - ) - ); + ); + } } // Path to use for logo files