/
DefaultSuggestedSites.swift
78 lines (76 loc) · 3.02 KB
/
DefaultSuggestedSites.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
import Foundation
public class DefaultSuggestedSites {
public static let sites = [
"default": [
SuggestedSiteData(
url: "https://www.mozilla.org/about",
bgColor: "0xce4e41",
imageUrl: "asset://suggestedsites_mozilla",
faviconUrl: "asset://fxLogo",
trackingId: 632,
title: NSLocalizedString("The Mozilla Project", comment: "Tile title for Mozilla")
),
SuggestedSiteData(
url: "https://support.mozilla.org/products/ios",
bgColor: "0xf37c00",
imageUrl: "asset://suggestedsites_fxsupport",
faviconUrl: "asset://mozLogo",
trackingId: 631,
title: NSLocalizedString("Firefox Help and Support", comment: "Tile title for App Help")
)
],
"zh_CN": [
SuggestedSiteData(
url: "http://mozilla.com.cn",
bgColor: "0xbc3326",
imageUrl: "asset://suggestedsites_mozchina",
faviconUrl: "asset://mozChinaLogo",
trackingId: 700,
title: "火狐社区"
),
SuggestedSiteData(
url: "https://m.baidu.com/?from=1000969b",
bgColor: "0x00479d",
imageUrl: "asset://suggestedsites_baidu",
faviconUrl: "asset://baiduLogo",
trackingId: 701,
title: "百度"
),
SuggestedSiteData(
url: "http://sina.cn",
bgColor: "0xe60012",
imageUrl: "asset://suggestedsites_sina",
faviconUrl: "asset://sinaLogo",
trackingId: 702,
title: "新浪"
),
SuggestedSiteData(
url: "http://info.3g.qq.com/g/s?aid=index&g_f=23946&g_ut=3",
bgColor: "0x028cca",
imageUrl: "asset://suggestedsites_qq",
faviconUrl: "asset://qqLogo",
trackingId: 703,
title: "腾讯"
),
SuggestedSiteData(
url: "http://m.taobao.com",
bgColor: "0xee5900",
imageUrl: "asset://suggestedsites_taobao",
faviconUrl: "asset://taobaoLogo",
trackingId: 704,
title: "淘宝"
),
SuggestedSiteData(
url: "http://m.jd.com/?cu=true&utm_source=c.duomai.com&utm_medium=tuiguang&utm_campaign=t_16282_51222087&utm_term=163a0d0b6b124b7b84e6e936be97a1ad",
bgColor: "0xc71622",
imageUrl: "asset://suggestedsites_jd",
faviconUrl: "asset://jdLogo",
trackingId: 705,
title: "京东"
)
]
]
}