diff --git a/docs/gridsome.config.js b/docs/gridsome.config.js index b4c0ae5d..8a44a952 100644 --- a/docs/gridsome.config.js +++ b/docs/gridsome.config.js @@ -36,6 +36,7 @@ function tableWrapper() { module.exports = { siteName: 'tiptap', titleTemplate: '%s | tiptap', + icon: './src/favicon.svg', port: 3000, plugins: [ { diff --git a/docs/src/components/PageFooter/index.vue b/docs/src/components/PageFooter/index.vue new file mode 100644 index 00000000..3eaa22ff --- /dev/null +++ b/docs/src/components/PageFooter/index.vue @@ -0,0 +1,133 @@ + + + + + diff --git a/docs/src/components/PageFooter/style.scss b/docs/src/components/PageFooter/style.scss new file mode 100644 index 00000000..3993596b --- /dev/null +++ b/docs/src/components/PageFooter/style.scss @@ -0,0 +1,37 @@ +.page-footer { + display: flex; + flex-wrap: wrap; + background: $colorBlack; + color: $colorWhite; + flex-direction: column; + padding: 3rem 1rem; + font-size: 0.85rem; + overflow: hidden; + + @media (min-width: 600px) { + padding: 3rem 2rem; + flex-direction: row; + } + + &__section { + display: flex; + flex-wrap: wrap; + padding-bottom: 2rem; + margin-bottom: -1.5rem; + } + + &__column { + flex: 0 0 auto; + padding-bottom: 1.5rem; + padding-right: 1.5rem; + width: 14rem; + + ul { + list-style: none; + } + } + + &__small-text { + opacity: 0.5; + } +} diff --git a/docs/src/components/PageNavigation/index.vue b/docs/src/components/PageNavigation/index.vue index 080d3cc8..57f161d8 100644 --- a/docs/src/components/PageNavigation/index.vue +++ b/docs/src/components/PageNavigation/index.vue @@ -1,6 +1,7 @@ @@ -119,6 +113,7 @@ query {