MCPcopy Create free account
hub / github.com/codecombat/codecombat / getMeta

Method getMeta

app/views/HomeView.js:100–111  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98 }
99
100 getMeta () {
101 return {
102 title: $.i18n.t('new_home.title_' + PRODUCT_SUFFIX),
103 meta: [
104 { vmid: 'meta-description', name: 'description', content: $.i18n.t('new_home.meta_description_' + PRODUCT_SUFFIX) },
105 { vmid: 'viewport', name: 'viewport', content: 'width=device-width, initial-scale=1, viewport-fit=cover' }
106 ],
107 link: [
108 { vmid: 'rel-canonical', rel: 'canonical', href: '/' }
109 ]
110 }
111 }
112
113 getBanner () {
114 return fetchJson('/db/banner', { data: { cacheEdge: true } }).then(data => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected