Skip to content

Commit

Permalink
ni_misc: SEO data updates and some language improvements. (#548)
Browse files Browse the repository at this point in the history
  • Loading branch information
staghouse authored May 2, 2022
1 parent 560eeb1 commit f7ad4de
Show file tree
Hide file tree
Showing 32 changed files with 138 additions and 87 deletions.
63 changes: 55 additions & 8 deletions docs/.vuepress/theme/global-components/Supporters.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<template lang="pug">
.supporters
.supporters-wrap(v-if="contributors")
h3 Our Contributors
h2 Contributors
p MTGJSON is a labor of love and we would not have come as far as we have without our code contributors.
ul.contributors-list
li(v-for="(contributor, key) in contributors", :key="key")
a(:href="contributor.url", rel="noopener noreferrer", target="_blank") {{ `${contributor.username}'s GitHub profile` }}
Expand Down Expand Up @@ -49,7 +50,7 @@

//- Not Patrons but services that use MTGJSON
.supporters-wrap(v-if="services")
h3 Others Powered by MTGJSON
h3 Applications Powered by MTGJSON
p MTGJSON has allowed many different projects to serve data to their audiences and we're very proud of what our friends have accomplished. We'd like to highlight them here. MTGJSON does not endorse these supporters and their projects.
small(v-html="projectMsg")
.supporters-grid.services(:data-tier="0")
Expand Down Expand Up @@ -123,6 +124,11 @@ export default {
.supporters {
&-wrap {
justify-content: center;
padding-bottom: 1rem;
h3 {
padding-top: 0;
}
& > small {
display: block;
Expand All @@ -132,10 +138,11 @@ export default {
}
.contributors-list {
display: flex;
flex-wrap: wrap;
display: grid;
grid-template-columns: repeat(10, 1fr);
grid-gap: 20px;
margin-left: 0;
margin-bottom: 0;
li {
flex: 0;
Expand All @@ -150,7 +157,9 @@ export default {
img {
float: left;
max-width: 48px;
width: 100%;
height: auto;
// max-width: 48px;
}
&::before,
Expand Down Expand Up @@ -291,11 +300,49 @@ export default {
}
@media (max-width: 960px) {
.supporters-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
.supporters {
.contributors-list {
grid-template-columns: repeat(7, 1fr);
}
&.services {
&-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
&.services {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
}
}
@media (max-width: 800px) {
.supporters {
.contributors-list {
grid-template-columns: repeat(5, 1fr);
}
}
}
@media (max-width: 719px) {
.supporters {
.contributors-list {
grid-template-columns: repeat(8, 1fr);
}
}
}
@media (max-width: 600px) {
.supporters {
.contributors-list {
grid-template-columns: repeat(6, 1fr);
}
}
}
@media (max-width: 400px) {
.supporters {
.contributors-list {
grid-template-columns: repeat(4, 1fr);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ This is living documentation, at any point this site may be updated for clarity.
</p>
:::

::: tip Eric - Documentation Developer
::: tip Eric - Documentation Maintainer
<p>
<img class="avatar" src="/images/avatars/avatar-eric.jpg" title="Eric's avatar" alt="Eric's avatar" width="100px" height="100px">
Eric is a conceptualizer that loves deer, cheesy sci-fi movies and delving in to any code he can find. He is an avid supporter of open-source software and the Magic: The Gathering developer community.
Expand Down
6 changes: 3 additions & 3 deletions docs/abstract-models/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"meta": [
{
"name": "description",
"content": "Abstract Models documentation.",
"content": "Abstract Models in MTGJSON describe any JSON object or nested JSON object that provides a non-flat response. As such, they will only have two or more levels of nested keys. It is worth noting that most, but not all, Abstract Models are related directly to the models of specific files, like AllPrices or EnumValues.",
},
{
"property": "og:description",
"content": "Abstract Models documentation."
"content": "Abstract Models in MTGJSON describe any JSON object or nested JSON object that provides a non-flat response. As such, they will only have two or more levels of nested keys. It is worth noting that most, but not all, Abstract Models are related directly to the models of specific files, like AllPrices or EnumValues."
},
{
"name": "keywords",
"content": "mtg, magic: the gathering, mtgjson, json, Abstract Models",
"content": "mtg, magic: the gathering, mtgjson, json, abstract models",
}
],
"feed": {
Expand Down
6 changes: 3 additions & 3 deletions docs/abstract-models/all-prices/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
[
{
"name": "description",
"content": "All Prices abstract model documentation."
"content": "The All Prices abstract Data Model describes a list of card prices based on a MTGJSON Card UUID."
},
{
"property": "og:description",
"content": "All Prices abstract model documentation."
"content": "The All Prices abstract Data Model describes a list of card prices based on a MTGJSON Card UUID."
},
{
"name": "keywords",
Expand All @@ -22,7 +22,7 @@

# All Prices

The All Prices abstract Data Model describes a list of card prices based on MTGJSON Card UUID.
The All Prices abstract Data Model describes a list of card prices based on MTGJSON a Card UUID.

**Parent file:** [AllPrices](/downloads/all-files/#allprices)
**Parent property:** `data`
Expand Down
6 changes: 3 additions & 3 deletions docs/abstract-models/booster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
[
{
"name": "description",
"content": "Booster abstract model documentation."
"content": "The Booster abstract Data Model describes how a Set's booster pack may be constructed."
},
{
"property": "og:description",
"content": "Booster abstract model documentation."
"content": "The Booster abstract Data Model describes how a Set's booster pack may be constructed."
},
{
"name": "keywords",
Expand All @@ -22,7 +22,7 @@

# Booster

The Booster abstract Data Model describes how a [Set](/data-models/set/) booster pack may be constructed.
The Booster abstract Data Model describes how a [Set](/data-models/set/)'s booster pack may be constructed.

**Parent model:** [Set](/data-models/set/)
**Parent property:** `booster`
Expand Down
4 changes: 2 additions & 2 deletions docs/abstract-models/enum-values/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
[
{
"name": "description",
"content": "Enum Values abstract model documentation."
"content": "The Enum Values abstract Data Model describes a list of key value pairs that are direct possible values of key properties in specific Data Models."
},
{
"property": "og:description",
"content": "Enum Values abstract model documentation."
"content": "The Enum Values abstract Data Model describes a list of key value pairs that are direct possible values of key properties in specific Data Models."
},
{
"name": "keywords",
Expand Down
4 changes: 2 additions & 2 deletions docs/data-models/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"meta": [
{
"name": "description",
"content": "Data Models documentation.",
"content": "Data Models in MTGJSON describe any JSON object or nested JSON object that provides a flat response. As such, they will only have one level of nested keys. Any additional nested keys that return another object that is also a flat response are they themselves, a Data Model, and will have its own documentation.",
},
{
"property": "og:description",
"content": "Data Models documentation."
"content": "Data Models in MTGJSON describe any JSON object or nested JSON object that provides a flat response. As such, they will only have one level of nested keys. Any additional nested keys that return another object that is also a flat response are they themselves, a Data Model, and will have its own documentation."
},
{
"name": "keywords",
Expand Down
8 changes: 5 additions & 3 deletions docs/data-models/card-atomic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"meta": [
{
"name": "description",
"content": "Card (Atomic) Data Model documentation.",
"content": "The Card (Atomic) Data Model describes a single atomic card, an oracle-like entity of a Magic: The Gathering card that only stores evergreen data about a card that would never change from printing to printing.",
},
{
"name": "og:description",
"content": "Card (Atomic) Data Model documentation.",
"content": "The Card (Atomic) Data Model describes a single atomic card, an oracle-like entity of a Magic: The Gathering card that only stores evergreen data about a card that would never change from printing to printing.",
},
{
"name": "keywords",
Expand All @@ -24,13 +24,14 @@

# Card (Atomic)

The Card (Atomic) Data Model describes the a single atomic card, an oracle-like entity of a Magic: The Gathering card that only stores evergreen data about a card that would never change from printing to printing.
The Card (Atomic) Data Model describes a single atomic card, an oracle-like entity of a Magic: The Gathering card that only stores evergreen data about a card that would never change from printing to printing.

**Parent file:** [AtomicCards](/downloads/all-files/#atomiccards), [LegacyAtomic](/downloads/all-files/#legacyatomic), [ModernAtomic](/downloads/all-files/#modernatomic), [PauperAtomic](/downloads/all-files/#pauperatomic), [PioneerAtomic](/downloads/all-files/#pioneeratomic), [StandardAtomic](/downloads/all-files/#standardatomic), [VintageAtomic](/downloads/all-files/#vintageatomic)
**Parent property:** `data`

::: tip
The Card (Atomic) Data Model is accessed through an array of card variations where its parent property is the name of the card, like such:

```
"data": {
"Oblivion Ring": [
Expand All @@ -40,6 +41,7 @@ The Card (Atomic) Data Model is accessed through an array of card variations whe
...
}
```

:::

## Model Index
Expand Down
4 changes: 2 additions & 2 deletions docs/data-models/card-deck/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"meta": [
{
"name": "description",
"content": "Card (Deck) Data Model documentation.",
"content": "The Card (Deck) Data Model describes the properties and values of a single card in a deck.",
},
{
"property": "og:description",
"content": "Card (Deck) Data Model documentation."
"content": "The Card (Deck) Data Model describes the properties and values of a single card in a deck."
},
{
"name": "keywords",
Expand Down
4 changes: 2 additions & 2 deletions docs/data-models/card-set/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"meta": [
{
"name": "description",
"content": "Card (Set) Data Model documentation.",
"content": "The Card (Set) Data Model describes the properties of a single card in a set.",
},
{
"property": "og:description",
"content": "Card (Set) Data Model documentation."
"content": "The Card (Set) Data Model describes the properties of a single card in a set."
},
{
"name": "keywords",
Expand Down
4 changes: 2 additions & 2 deletions docs/data-models/card-token/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"meta": [
{
"name": "description",
"content": "Card (Token) Data Model documentation.",
"content": "The Card (Token) Data Model describes the properties and values of a single token card.",
},
{
"property": "og:description",
"content": "Card (Token) Data Model documentation."
"content": "The Card (Token) Data Model describes the properties and values of a single token card."
},
{
"name": "keywords",
Expand Down
6 changes: 3 additions & 3 deletions docs/data-models/card-types/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"meta": [
{
"name": "description",
"content": "Card Types Data Model documentation.",
"content": "The Card Types Data Model describes card types that a card may have.",
},
{
"name": "og:description",
"content": "Card Types Data Model documentation.",
"content": "The Card Types Data Model describes card types that a card may have.",
},
{
"name": "keywords",
Expand All @@ -24,7 +24,7 @@

# Card Types

The Card Types Data Model describes card types and the other associated card types they may have.
The Card Types Data Model describes card types that a card may have.

**Parent file:** [CardTypes](/downloads/all-files/#cardtypes)
**Parent property:** `data`
Expand Down
4 changes: 2 additions & 2 deletions docs/data-models/deck/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"meta": [
{
"name": "description",
"content": "Deck Data Model documentation.",
"content": "The Deck Data Model describes a complete deck reference.",
},
{
"name": "og:description",
"content": "Deck Data Model documentation.",
"content": "The Deck Data Model describes a complete deck reference.",
},
{
"name": "keywords",
Expand Down
6 changes: 3 additions & 3 deletions docs/data-models/decklist/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"meta": [
{
"name": "description",
"content": "Deck List Data Model documentation.",
"content": "The Deck List Data Model describes a metadata-like model for a Deck.",
},
{
"name": "og:description",
"content": "Deck List Data Model documentation.",
"content": "The Deck List Data Model describes a metadata-like model for a Deck.",
},
{
"name": "keywords",
Expand All @@ -24,7 +24,7 @@

# Deck List

The Deck List Data Model describes a metadata-like model that holds information about a [Deck](/data-models/deck/).
The Deck List Data Model describes a metadata-like model for a [Deck](/data-models/deck/).

**Parent file:** [DeckList](/downloads/all-files/#decklist)
**Parent property:** `data`
Expand Down
6 changes: 3 additions & 3 deletions docs/data-models/foreign-data/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"meta": [
{
"name": "description",
"content": "Foreign Data Data Model documentation.",
"content": "The Foreign Data Data Model describes a list of properties for various Card Data Models in alternate languages.",
},
{
"property": "og:description",
"content": "Foreign Data Data Model documentation."
"content": "The Foreign Data Data Model describes a list of properties for various Card Data Models in alternate languages."
},
{
"name": "keywords",
Expand All @@ -24,7 +24,7 @@

# Foreign Data

The Foreign Data Data Model describes a list of properties for various card Data Models in alternate languages.
The Foreign Data Data Model describes a list of properties for various Card Data Models in alternate languages.

**Parent model:** [Card (Atomic)](/data-models/card-atomic/), [Card (Deck)](/data-models/card-deck/), [Card (Set)](/data-models/card-set/)
**Parent property:** `foreignData`
Expand Down
6 changes: 3 additions & 3 deletions docs/data-models/identifiers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"meta": [
{
"name": "description",
"content": "Identifiers Data Model documentation.",
"content": "The Identifiers Data Model describes a list of identifiers associated to a Card.",
},
{
"property": "og:description",
"content": "Identifiers Data Model documentation."
"content": "The Identifiers Data Model describes a list of identifiers associated to a Card."
},
{
"name": "keywords",
Expand All @@ -24,7 +24,7 @@

# Identifiers

The Identifiers Data Model describes a list of identifiers associated to a card.
The Identifiers Data Model describes a list of identifiers associated to a Card.

**Parent model:** [Card (Deck)](/data-models/card-deck/), [Card (Set)](/data-models/card-set/), [Card (Token)](/data-models/card-token/)
**Parent property:** `identifiers`
Expand Down
Loading

0 comments on commit f7ad4de

Please sign in to comment.