Create varaible for updates M2 verbiage

This commit is contained in:
Sam Carlton 2022-06-06 14:24:45 -05:00
parent 374368ede5
commit 4b8c6a7eea
11 changed files with 28 additions and 18 deletions

View file

@ -116,7 +116,7 @@ export default {
{
'hid': 'description',
'name': 'description',
'content': `Check the the latest reported support status of ${this.app.name} on Apple Silicon and Apple M2 and M1 Ultra Processors`
'content': `Check the the latest reported support status of ${this.app.name} on Apple Silicon and ${ process.env.npm_package_config_verbiage_processors } Processors`
},
// Twitter Card
@ -128,7 +128,7 @@ export default {
{
'hid': 'twitter:description',
'property': 'twitter:description',
'content': `Check the the latest reported support status of ${this.app.name} on Apple Silicon and Apple M2 and M1 Ultra Processors`
'content': `Check the the latest reported support status of ${this.app.name} on Apple Silicon and ${ process.env.npm_package_config_verbiage_processors } Processors`
},
{
'property': 'twitter:url',

View file

@ -16,7 +16,7 @@
</div>
<h2 class="subtitle md:text-xl text-center">
Check for Apple Silicon compatibility for your apps before you buy an M1 Pro or M1 Max Mac.
Check for Apple Silicon compatibility for your apps before you buy an {{ npm_package_config_verbiage_macs }}.
</h2>
</header>
@ -199,6 +199,9 @@ export default {
}
},
computed: {
npm_package_config_verbiage_macs () {
return process.env.npm_package_config_verbiage_macs
},
foundFiles () {
return this.appsBeingScanned.filter( appScan => {
return !appScan.statusMessage.includes('⏭')
@ -261,7 +264,7 @@ export default {
return `Apple Silicon Compatibility Test Online`
},
description () {
return `Check for Apple Silicon compatibility for any of your apps instantly before you buy an M1 Pro or M1 Max Mac. `
return `Check for Apple Silicon compatibility for any of your apps instantly before you buy an ${ process.env.npm_package_config_verbiage_macs }. `
}
},
mounted () {

View file

@ -186,12 +186,12 @@ export default {
},
computed: {
title () {
return `Benchmarks for Apple M1 Pro and M1 Max Processors and Apple Silicon - Does It ARM`
return `Benchmarks for ${ process.env.npm_package_config_verbiage_processors } Processors and Apple Silicon - Does It ARM`
},
description () {
// const featuredAppsString = this.featuredApps.slice(0, 5).map(app => app.name).join(', ')
return `Apple Silicon benchmark, performance, and compatibility videos`
return `Apple Silicon benchmark, performance, and compatibility videos for Macs using the ${ process.env.npm_package_config_verbiage_processors } processors.`
},
activeVideoId () {
return this.video.id

View file

@ -59,7 +59,7 @@ export default {
{
'hid': 'description',
'name': 'description',
'content': `Check the the latest reported support status of ${this.app.name} on Apple Silicon and Apple M1 Pro and M1 Max Processors when installed via Homebrew. `
'content': `Check the the latest reported support status of ${this.app.name} on Apple Silicon and ${ process.env.npm_package_config_verbiage_processors } Processors when installed via Homebrew. `
},
// Twitter Card
@ -71,7 +71,7 @@ export default {
{
'hid': 'twitter:description',
'property': 'twitter:description',
'content': `Check the the latest reported support status of ${this.app.name} on Apple Silicon and Apple M1 Pro and M1 Max Processors when installed via Homebrew. `
'content': `Check the the latest reported support status of ${this.app.name} on Apple Silicon and ${ process.env.npm_package_config_verbiage_processors } Processors when installed via Homebrew. `
},
{
'property': 'twitter:url',

View file

@ -153,7 +153,7 @@ export default {
{
'hid': 'description',
'name': 'description',
'content': `Check the the latest reported support status of ${this.app.name} on Apple Silicon and Apple M1 Pro and M1 Max Processors for gaming. `
'content': `Check the the latest reported support status of ${this.app.name} on Apple Silicon and ${ process.env.npm_package_config_verbiage_processors } Processors for gaming. `
},
// Twitter Card
@ -165,7 +165,7 @@ export default {
{
'hid': 'twitter:description',
'property': 'twitter:description',
'content': `Check the the latest reported support status of ${this.app.name} on Apple Silicon and Apple M1 Pro and M1 Max Processors for gaming. `
'content': `Check the the latest reported support status of ${this.app.name} on Apple Silicon and ${ process.env.npm_package_config_verbiage_processors } Processors for gaming. `
},
{
'property': 'twitter:url',

View file

@ -160,10 +160,10 @@ export default {
},
computed: {
title () {
return `Apple Silicon and Apple M2 and M1 Ultra app and game compatibility list`
return `Apple Silicon and ${ process.env.npm_package_config_verbiage_processors } app and game compatibility list`
},
description () {
return `List of compatibility apps and games for Apple Silicon and the Apple M2 and M1 Ultra Processors including performance reports and benchmarks`
return `List of compatibility apps and games for Apple Silicon and the ${ process.env.npm_package_config_verbiage_processors } Processors including performance reports and benchmarks`
},
allList () {
return [

View file

@ -127,7 +127,7 @@ export default {
return `List of ${this.pluralLabel || this.category.label} that work on Apple Silicon?`
},
description () {
return `Check the the latest reported support status of ${this.pluralLabel || this.category.label} on Apple Silicon and Apple M1 Pro and M1 Max Processors. `
return `Check the the latest reported support status of ${this.pluralLabel || this.category.label} on Apple Silicon and ${ process.env.npm_package_config_verbiage_processors } Processors. `
},
structuredData () {
return {
@ -139,7 +139,7 @@ export default {
return {
// https://schema.org/Question
"@type": "Question",
"name": `Does ${app.name} work on Apple Silicon and Apple M1 Pro and M1 Max Macs?`,
"name": `Does ${app.name} work on Apple Silicon and ${ process.env.npm_package_config_verbiage_processors } Macs?`,
"acceptedAnswer": {
// https://schema.org/Answer
"@type": "Answer",