feat: add google ads
This commit is contained in:
parent
75a0107dda
commit
1956217fe7
@ -17,6 +17,14 @@ export default defineConfig({
|
|||||||
{},
|
{},
|
||||||
"window.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}\ngtag('js', new Date());\ngtag('config', 'G-FDME8GJGTW');"
|
"window.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}\ngtag('js', new Date());\ngtag('config', 'G-FDME8GJGTW');"
|
||||||
],
|
],
|
||||||
|
[
|
||||||
|
'script',
|
||||||
|
{
|
||||||
|
async: '',
|
||||||
|
crossorigin: 'anonymous',
|
||||||
|
src: 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3632738952115558'
|
||||||
|
},
|
||||||
|
],
|
||||||
['link', { rel: 'icon', type: 'image/png', sizes: '193x193', href: '/logo.png' }],
|
['link', { rel: 'icon', type: 'image/png', sizes: '193x193', href: '/logo.png' }],
|
||||||
],
|
],
|
||||||
locales: {
|
locales: {
|
||||||
@ -91,50 +99,53 @@ export default defineConfig({
|
|||||||
search: {
|
search: {
|
||||||
provider: 'algolia',
|
provider: 'algolia',
|
||||||
options:
|
options:
|
||||||
{
|
{
|
||||||
appId: 'HP6QF6KMZD',
|
appId: 'HP6QF6KMZD',
|
||||||
apiKey: 'fb8bae9ed373d1057e0c07fcf32b3f1a',
|
apiKey: 'fb8bae9ed373d1057e0c07fcf32b3f1a',
|
||||||
indexName: 'nezhahq',
|
indexName: 'nezhahq',
|
||||||
locales: {
|
locales: {
|
||||||
root: {
|
root: {
|
||||||
placeholder: '搜索文档',
|
placeholder: '搜索文档',
|
||||||
translations: {
|
translations: {
|
||||||
button: {
|
button: {
|
||||||
buttonText: '搜索文档',
|
buttonText: '搜索文档',
|
||||||
buttonAriaLabel: '搜索文档'
|
buttonAriaLabel: '搜索文档'
|
||||||
},
|
},
|
||||||
modal: {
|
modal: {
|
||||||
searchBox: {
|
searchBox: {
|
||||||
resetButtonTitle: '清除查询条件',
|
resetButtonTitle: '清除查询条件',
|
||||||
resetButtonAriaLabel: '清除查询条件',
|
resetButtonAriaLabel: '清除查询条件',
|
||||||
cancelButtonText: '取消',
|
cancelButtonText: '取消',
|
||||||
cancelButtonAriaLabel: '取消'
|
cancelButtonAriaLabel: '取消'
|
||||||
},
|
},
|
||||||
startScreen: {
|
startScreen: {
|
||||||
recentSearchesTitle: '搜索历史',
|
recentSearchesTitle: '搜索历史',
|
||||||
noRecentSearchesText: '没有搜索历史',
|
noRecentSearchesText: '没有搜索历史',
|
||||||
saveRecentSearchButtonTitle: '保存至搜索历史',
|
saveRecentSearchButtonTitle: '保存至搜索历史',
|
||||||
removeRecentSearchButtonTitle: '从搜索历史中移除',
|
removeRecentSearchButtonTitle: '从搜索历史中移除',
|
||||||
favoriteSearchesTitle: '收藏',
|
favoriteSearchesTitle: '收藏',
|
||||||
removeFavoriteSearchButtonTitle: '从收藏中移除'
|
removeFavoriteSearchButtonTitle: '从收藏中移除'
|
||||||
},
|
},
|
||||||
errorScreen: {
|
errorScreen: {
|
||||||
titleText: '无法获取结果',
|
titleText: '无法获取结果',
|
||||||
helpText: '你可能需要检查你的网络连接'
|
helpText: '你可能需要检查你的网络连接'
|
||||||
},
|
},
|
||||||
footer: {
|
footer: {
|
||||||
selectText: '选择',
|
selectText: '选择',
|
||||||
navigateText: '切换',
|
navigateText: '切换',
|
||||||
closeText: '关闭',
|
closeText: '关闭',
|
||||||
searchByText: '搜索提供者'
|
searchByText: '搜索提供者'
|
||||||
},
|
},
|
||||||
noResultsScreen: {
|
noResultsScreen: {
|
||||||
noResultsText: '无法找到相关结果',
|
noResultsText: '无法找到相关结果',
|
||||||
suggestedQueryText: '你可以尝试查询',
|
suggestedQueryText: '你可以尝试查询',
|
||||||
reportMissingResultsText: '你认为该查询应该有结果?',
|
reportMissingResultsText: '你认为该查询应该有结果?',
|
||||||
reportMissingResultsLinkText: '点击反馈'
|
reportMissingResultsLinkText: '点击反馈'
|
||||||
}
|
}
|
||||||
}}}}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user