diff --git a/src/.vuepress/styles/index.styl b/src/.vuepress/styles/index.styl index 0bd5112..40e563f 100755 --- a/src/.vuepress/styles/index.styl +++ b/src/.vuepress/styles/index.styl @@ -231,3 +231,15 @@ li a[href="/specification/00-Abstract/"] { .ytEmbed iframe[src] { display: block; } + +// mobile styles +@media (max-width: 520px) { + + .supportersTabs > div > div > nav > a.text-sm { + font-size: 0.83rem !important; + } + + .configTabs > div > div > nav > a.text-sm { + padding: 10px 14px; + } +} \ No newline at end of file diff --git a/src/.vuepress/theme/layouts/Home.vue b/src/.vuepress/theme/layouts/Home.vue index 30d5ff7..8d9c13e 100644 --- a/src/.vuepress/theme/layouts/Home.vue +++ b/src/.vuepress/theme/layouts/Home.vue @@ -54,6 +54,7 @@ - - @@ -292,6 +288,7 @@ export default { computed: { data() { + console.log(this.$page.frontmatter) return this.$page.frontmatter; }, displayedSupporters() { @@ -301,6 +298,18 @@ export default { this.selectedSupportersTab.supporters.includes(value) ); }, + combinedSupportersTabs() { + const combinedTabs = [ + ...this.data.supportersTabs, + ...this.data.pastSupportersTabs.map(tab => { + return { + ...tab, + name: tab.name + }; + }) + ]; + return combinedTabs; + }, }, methods: { diff --git a/src/index.md b/src/index.md index 527be51..712d910 100644 --- a/src/index.md +++ b/src/index.md @@ -64,7 +64,7 @@ specificationAuthorsImages: supportersTitle: Support for Stratum V2 supportersText1: Let’s make Stratum V2 the new standard. Show material support or indicate your approval of the protocol direction. supportersTabs: - - name: All contributors + - name: All Contributors value: all-contributors supporters: - braiins