Skip to content

Commit

Permalink
Merge branch 'stage'
Browse files Browse the repository at this point in the history
* stage:
  updates readme roadmap release dates
  creates card toggles
  • Loading branch information
morsecodemedia committed Jul 22, 2021
2 parents 4054e04 + 6d95c74 commit c234eca
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ A page to check character count and preview meta tags in various scenarios.
## Road Map
### Release 1.0.0 (2021-07-13)
Google Search Results Preview
### Release 2.0.0
### Release 2.0.0 (2021-07-22)
Facebook Card Preview
### Release 2.5.0
### Release 2.5.0 (2021-07-22)
Preview Options Toggles
### Release 3.0.0
Twitter Card Preview
Expand Down
40 changes: 37 additions & 3 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,34 @@
@input="updateMetaURL"
/>
</v-card>
<v-card class="card">
Google
<div class="inline">
OFF
<v-switch
v-model="googleSwitch"
inset
/>
ON
</div>

<v-divider />

Facebook
<div class="inline">
OFF
<v-switch
v-model="facebookSwitch"
inset
/>
ON
</div>
</v-card>
</v-col>

<v-col md="6">
<GoogleCard />
<FacebookCard />
<GoogleCard v-if="googleSwitch" />
<FacebookCard v-if="facebookSwitch" />
</v-col>
</v-row>
</v-container>
Expand All @@ -61,7 +84,9 @@ export default {
url: 'https://meta-tags.morsecodemedia.com'
},
metaTitleRules: [v => v.length <= 60 || 'Ideal meta titles are less than 60 characters'],
metaDescriptionRules: [v => v.length <= 160 || 'Ideal meta descriptions are less than 160 characters']
metaDescriptionRules: [v => v.length <= 160 || 'Ideal meta descriptions are less than 160 characters'],
googleSwitch: true,
facebookSwitch: true
}
},
created () {
Expand Down Expand Up @@ -114,4 +139,13 @@ export default {
padding: 0 16px 16px 0;
}
}
.inline {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 150px;
}
.v-divider {
margin-bottom: 20px;
}
</style>

0 comments on commit c234eca

Please sign in to comment.