You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@teaclave.apache.org by ms...@apache.org on 2020/10/16 03:08:16 UTC
[incubator-teaclave-website] 05/07: Add disclaimer to all pages
This is an automated email from the ASF dual-hosted git repository.
mssun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave-website.git
commit 080019fd90039c139b1f0ba1d295ef122f523a03
Author: Mingshen Sun <bo...@mssun.me>
AuthorDate: Mon Oct 12 16:48:02 2020 -0700
Add disclaimer to all pages
---
site/.vuepress/theme/components/Home.vue | 5 +++--
site/.vuepress/theme/components/Page.vue | 23 ++++++++++++++++++++++-
site/.vuepress/theme/layouts/IndexPost.vue | 20 +++++++++++++++++++-
site/.vuepress/theme/layouts/Post.vue | 15 +++++++++++++++
site/.vuepress/theme/styles/footer.styl | 8 ++++++++
site/.vuepress/theme/styles/palette.styl | 1 +
6 files changed, 68 insertions(+), 4 deletions(-)
diff --git a/site/.vuepress/theme/components/Home.vue b/site/.vuepress/theme/components/Home.vue
index 2b3ca22..7e3418f 100644
--- a/site/.vuepress/theme/components/Home.vue
+++ b/site/.vuepress/theme/components/Home.vue
@@ -148,9 +148,10 @@ export default {
color lighten($textColor, 25%)
.footer
font-size 0.7rem
- padding 2.5rem
+ padding 2.5rem 0 2.5rem 0
+ margin-top 2.5rem
border-top 1px solid $borderColor
- text-align center
+ text-align left
color lighten($textColor, 25%)
@media (max-width: $MQMobile)
diff --git a/site/.vuepress/theme/components/Page.vue b/site/.vuepress/theme/components/Page.vue
index 04ec7cb..39a1e14 100644
--- a/site/.vuepress/theme/components/Page.vue
+++ b/site/.vuepress/theme/components/Page.vue
@@ -8,6 +8,20 @@
<PageNav v-bind="{ sidebarItems }" />
<slot name="bottom" />
+ <div class="footer">
+ Apache Teaclave (incubating) is an effort undergoing incubation at The Apache
+ Software Foundation (ASF), sponsored by the Apache Incubator.
+ Incubation is required of all newly accepted projects until a further review
+ indicates that the infrastructure, communications, and decision making process
+ have stabilized in a manner consistent with other successful ASF projects. While
+ incubation status is not necessarily a reflection of the completeness or
+ stability of the code, it does indicate that the project has yet to be fully
+ endorsed by the ASF.
+ Copyright © 2020 The Apache Software Foundation.
+ Licensed under the Apache License, Version 2.0.
+ Apache Teaclave, Apache, the Apache feather, and the Apache Teaclave project logo are either
+ trademarks or registered trademarks of the Apache Software Foundation.
+ </div>
</main>
</template>
@@ -27,5 +41,12 @@ export default {
.page
padding-bottom 2rem
display block
-
+ .footer
+ max-width $contentWidth
+ margin: 2.5rem auto 0 auto
+ font-size 0.7rem
+ padding 2.5rem 0 2.5rem 0
+ border-top 1px solid $borderColor
+ text-align left
+ color lighten($textColor, 25%)
</style>
diff --git a/site/.vuepress/theme/layouts/IndexPost.vue b/site/.vuepress/theme/layouts/IndexPost.vue
index f841aad..beeeea7 100644
--- a/site/.vuepress/theme/layouts/IndexPost.vue
+++ b/site/.vuepress/theme/layouts/IndexPost.vue
@@ -42,6 +42,20 @@
</article>
</div>
<slot name="bottom" />
+ <div class="footer">
+ Apache Teaclave (incubating) is an effort undergoing incubation at The Apache
+ Software Foundation (ASF), sponsored by the Apache Incubator.
+ Incubation is required of all newly accepted projects until a further review
+ indicates that the infrastructure, communications, and decision making process
+ have stabilized in a manner consistent with other successful ASF projects. While
+ incubation status is not necessarily a reflection of the completeness or
+ stability of the code, it does indicate that the project has yet to be fully
+ endorsed by the ASF.
+ Copyright © 2020 The Apache Software Foundation.
+ Licensed under the Apache License, Version 2.0.
+ Apache Teaclave, Apache, the Apache feather, and the Apache Teaclave project logo are either
+ trademarks or registered trademarks of the Apache Software Foundation.
+ </div>
</main>
</div>
@@ -164,4 +178,8 @@ export default {
},
}
}
-</script>
\ No newline at end of file
+</script>
+
+<style lang="stylus">
+@require '../styles/footer.styl'
+</style>
\ No newline at end of file
diff --git a/site/.vuepress/theme/layouts/Post.vue b/site/.vuepress/theme/layouts/Post.vue
index 0d4a4a9..59bdb50 100644
--- a/site/.vuepress/theme/layouts/Post.vue
+++ b/site/.vuepress/theme/layouts/Post.vue
@@ -44,6 +44,20 @@
</article>
</div>
<slot name="bottom" />
+ <div class="footer">
+ Apache Teaclave (incubating) is an effort undergoing incubation at The Apache
+ Software Foundation (ASF), sponsored by the Apache Incubator.
+ Incubation is required of all newly accepted projects until a further review
+ indicates that the infrastructure, communications, and decision making process
+ have stabilized in a manner consistent with other successful ASF projects. While
+ incubation status is not necessarily a reflection of the completeness or
+ stability of the code, it does indicate that the project has yet to be fully
+ endorsed by the ASF.
+ Copyright © 2020 The Apache Software Foundation.
+ Licensed under the Apache License, Version 2.0.
+ Apache Teaclave, Apache, the Apache feather, and the Apache Teaclave project logo are either
+ trademarks or registered trademarks of the Apache Software Foundation.
+ </div>
</main>
</div>
@@ -169,6 +183,7 @@ export default {
</script>
<style lang="stylus">
+@require '../styles/footer.styl'
.publish-date-author {
margin: -10px 0 40px 0
}
diff --git a/site/.vuepress/theme/styles/footer.styl b/site/.vuepress/theme/styles/footer.styl
new file mode 100644
index 0000000..87073dc
--- /dev/null
+++ b/site/.vuepress/theme/styles/footer.styl
@@ -0,0 +1,8 @@
+.footer
+ max-width $contentWidth
+ margin: 2.5rem auto 0 auto
+ font-size 0.7rem
+ padding 2.5rem 0 2.5rem 0
+ border-top 1px solid $borderColor
+ text-align left
+ color lighten($textColor, 25%)
diff --git a/site/.vuepress/theme/styles/palette.styl b/site/.vuepress/theme/styles/palette.styl
index ebad763..5a686d2 100644
--- a/site/.vuepress/theme/styles/palette.styl
+++ b/site/.vuepress/theme/styles/palette.styl
@@ -1 +1,2 @@
$contentWidth = 800px
+$homePageWidth = 960px
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@teaclave.apache.org
For additional commands, e-mail: commits-help@teaclave.apache.org