From e9ccfa005cee9249020598946a33740c68a8149a Mon Sep 17 00:00:00 2001 From: guofei Date: Wed, 23 Oct 2024 15:51:46 +0800 Subject: [PATCH] fix: change img oss --- example.json | 16 ++++++++-------- src/app/[[...lang]]/components/form.tsx | 2 +- src/app/[[...lang]]/page.tsx | 12 ++++++------ src/app/components/footer.tsx | 2 +- src/app/components/header.tsx | 8 ++++---- 5 files changed, 20 insertions(+), 20 deletions(-) diff --git a/example.json b/example.json index 8b0aa07..cb183f5 100644 --- a/example.json +++ b/example.json @@ -2,41 +2,41 @@ { "exampleName": "测试", "icon": "https://www-soyootech.oss-cn-hangzhou.aliyuncs.com/exampleIcon/20241023-13_02_05.jpg", - "url": "http://preview.soyootech.com/temp/A.html" + "url": "https://preview.soyootech.com/temp/A.html" }, { "exampleName": "测试", "icon": "https://www-soyootech.oss-cn-hangzhou.aliyuncs.com/exampleIcon/20241023-13_02_05.jpg", - "url": "http://preview.soyootech.com/temp/B.html" + "url": "https://preview.soyootech.com/temp/B.html" }, { "exampleName": "测试", "icon": "https://www-soyootech.oss-cn-hangzhou.aliyuncs.com/exampleIcon/20241023-13_02_05.jpg", - "url": "http://preview.soyootech.com/temp/A.html" + "url": "https://preview.soyootech.com/temp/A.html" }, { "exampleName": "测试", "icon": "https://www-soyootech.oss-cn-hangzhou.aliyuncs.com/exampleIcon/20241023-13_02_05.jpg", - "url": "http://preview.soyootech.com/temp/A.html" + "url": "https://preview.soyootech.com/temp/A.html" }, { "exampleName": "测试", "icon": "https://www-soyootech.oss-cn-hangzhou.aliyuncs.com/exampleIcon/20241023-13_02_05.jpg", - "url": "http://preview.soyootech.com/temp/A.html" + "url": "https://preview.soyootech.com/temp/A.html" }, { "exampleName": "测试", "icon": "https://www-soyootech.oss-cn-hangzhou.aliyuncs.com/exampleIcon/20241023-13_02_05.jpg", - "url": "http://preview.soyootech.com/temp/A.html" + "url": "https://preview.soyootech.com/temp/A.html" }, { "exampleName": "测试", "icon": "https://www-soyootech.oss-cn-hangzhou.aliyuncs.com/exampleIcon/20241023-13_02_05.jpg", - "url": "http://preview.soyootech.com/temp/A.html" + "url": "https://preview.soyootech.com/temp/A.html" }, { "exampleName": "测试", "icon": "https://www-soyootech.oss-cn-hangzhou.aliyuncs.com/exampleIcon/20241023-13_02_05.jpg", - "url": "http://preview.soyootech.com/temp/A.html" + "url": "https://preview.soyootech.com/temp/A.html" } ] \ No newline at end of file diff --git a/src/app/[[...lang]]/components/form.tsx b/src/app/[[...lang]]/components/form.tsx index bdaa395..5334703 100644 --- a/src/app/[[...lang]]/components/form.tsx +++ b/src/app/[[...lang]]/components/form.tsx @@ -27,7 +27,7 @@ export default function Form() {
提交
diff --git a/src/app/[[...lang]]/page.tsx b/src/app/[[...lang]]/page.tsx index 3eb7e5a..8ead0dc 100644 --- a/src/app/[[...lang]]/page.tsx +++ b/src/app/[[...lang]]/page.tsx @@ -17,7 +17,7 @@ export default async function Home(props: { params: { lang: string[] } }) {
- +
- +
{dict.customized}
- +
{dict.ABTesting}
{dict.iterateGameplay}
- +
{dict.multiLanguage}
{dict.breakingGeographical}
- +
{dict.allChannel}
{dict.expandInfluence}
- +
{dict.lightweightDeployment}
{dict.simplifyProcess}
diff --git a/src/app/components/footer.tsx b/src/app/components/footer.tsx index b15d7b9..ed69a62 100644 --- a/src/app/components/footer.tsx +++ b/src/app/components/footer.tsx @@ -7,7 +7,7 @@ export default function Footer(props: {dict: Record}) {
; lang: stri style={{ borderBottom: "1px solid #D8D8D8" }} >
- logo setHash("#home")} /> + logo setHash("#home")} />
{navList.map((item: NavType) => (
setHash(item.href)} key={item.name}>
setActiveTab(item.name)}>
{item.name}
- {activeTab === item.name ? :
} + {activeTab === item.name ? :
}
))} @@ -98,9 +98,9 @@ export default function Header(props: { dict: Record; lang: stri border-[1px] border-[#eeeeee] rounded-[3px] px-[10px] mt-[18px] cursor-pointer" onClick={() => setShow(!show)} > - logo + logo
{dict?.lang}
- logo + logo
{
setShow(false)}>