fix: home images

This commit is contained in:
DIYgod 2023-04-06 00:52:09 +01:00
parent e00be336bd
commit 3d4cb2d264
No known key found for this signature in database
5 changed files with 19 additions and 7 deletions

View File

@ -24,6 +24,6 @@
"Safe text": "All blog data, including configs, posts, subscriptions, comments, etc., are signed and securely stored on the <strong>blockchain</strong> with your own hands, with control only accessible through the <strong>private key</strong> held by yourself. No one else, including xLog, can make any changes.",
"Customizable text": "You're free to use your <strong>own domain</strong>, customize your website, and <strong>design it</strong> in any way you like. This is your website, with no restrictions. xLog encourage and will provide a rich system of <strong>themes and plugins</strong> to help you customize it.",
"Open text": "xLog offers import and export tools, as well as rich <strong>APIs</strong> and third-party <strong>integrations</strong>. All code is <strong>open source</strong> on GitHub, and all data is <strong>transparent</strong> on the blockchain. xLog has nothing to hide.",
"Creator Incentives text": "In the early stages, xLog will provide incentives in <strong>USDC</strong>. We are actively constructing the tokenomics to ensure xLog remain the best place to publish high-quality content.",
"Creator Incentives text": "In the early stages, xLog provides <aincentive>incentives</aincentive> in <strong>USDC</strong>. We are actively constructing the tokenomics to ensure xLog remain the best place to publish high-quality content.",
"DAO text": "An xLog DAO will be in place, where creators vote with <strong>tokens</strong>."
}

View File

@ -46,7 +46,7 @@
"Open": "開放,運用自如",
"Open text": "xLog 提供導入和導出工具,豐富的 <strong>API</strong> 和 <strong>第三方</strong> 整合,讓您更加自由地管理和使用網站。所有代碼都在 GitHub 上 <strong>開源</strong> ,所有資料都在區塊鏈上 <strong>透明存儲</strong> ,沒有任何隱瞞。",
"Creator Incentives": "創作者激勵",
"Creator Incentives text": "在早期階段xLog 以 <strong>USDC</strong> 提供激勵。我們正積極構建代幣經濟模型,力求讓 xLog 成為發布高質量內容的最佳平台。我們希望為您提供最好的體驗和最大的價值回報,讓您在創作、分享和社交中感到更加自由和快樂。",
"Creator Incentives text": "在早期階段xLog 以 <strong>USDC</strong> 提供<aincentive>激勵</aincentive>。我們正積極構建代幣經濟模型,力求讓 xLog 成為發布高質量內容的最佳平台。我們希望為您提供最好的體驗和最大的價值回報,讓您在創作、分享和社交中感到更加自由和快樂。",
"DAO": "去中心化自治組織",
"DAO text": "我們將建立一個 xLog DAO讓創作者可以使用 <strong>虛擬貨幣</strong> 進行投票。我們相信,這將使我們的社區更加開放、公平和民主化,讓每個人都能發揮自己的影響力和貢獻價值。我們期待與您攜手打造一個更加繁榮和有活力的社區!",
"Discover these awesome teams and creators on xLog (sorted by update time)": "在 xLog 上發現這些超棒的團隊和創作者們(按更新時間排序)",

View File

@ -46,7 +46,7 @@
"Elegant experience": "优雅的体验",
"Elegant experience text": "xLog 提供双栏编辑器,具有<strong>实时预览</strong>功能,提供优秀的写作体验,使用标准的 <strong>Markdown 语法</strong>,支持 <strong>HTML</strong>、<strong>音视频</strong>和数学表达式。页面设计优雅,为读者提供舒适的阅读体验。",
"Creator Incentives": "创作者激励",
"Creator Incentives text": "在早期阶段xLog以<strong>USDC</strong>提供激励。我们正在积极构建代币经济模型以确保xLog成为发布高质量内容的最佳平台。",
"Creator Incentives text": "在早期阶段xLog以<strong>USDC</strong>提供<aincentive>激励</aincentive>。我们正在积极构建代币经济模型以确保xLog成为发布高质量内容的最佳平台。",
"DAO": "去中心化自治组织",
"DAO text": "将建立一个xLog DAO在其中创作者使用<strong>代币</strong>进行投票。",
"Discover these awesome teams and creators on xLog (sorted by update time)": "在 xLog 上发现这些超棒的团队和创作者们(按更新时间排序)",

View File

@ -19,10 +19,12 @@ export const Image: React.FC<
const autoSize = !width && !height && !fill
const noOptimization = className?.includes("no-optimization")
try {
new URL(src)
} catch (error) {
return null
if (!src.startsWith("/assets/")) {
try {
new URL(src)
} catch (error) {
return null
}
}
return noOptimization ? (

View File

@ -401,6 +401,16 @@ function Home() {
.
</UniLink>
),
aincentive: (
<UniLink
className="underline"
href={`${getSiteLink({
subdomain: "xlog",
})}/creator-incentive-plan`}
>
.
</UniLink>
),
}}
ns="index"
/>