Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengshanshan committed Oct 24, 2024
1 parent ff2e67a commit 075f45e
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 1 deletion.
1 change: 1 addition & 0 deletions source/_templates/Fleft.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@
<section class="canact-section"><a href="https://developer.canaan-creative.com/resource">资料下载</a></section>
<section class="canact-section"><a href="https://developer.canaan-creative.com/blog">博客</a></section>
<section class="canact-section"><a href="https://developer.canaan-creative.com/document">文档中心</a></section>
<section class="canact-section"><a href="https://developer.canaan-creative.com/answer">问答社区</a></section>
</div>
24 changes: 24 additions & 0 deletions source/_templates/FleftEn.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<style>
.cancat{
font-size: 1rem;
font-weight: 700;
color: #fff;
margin-bottom: 1rem;
}
.canact-section a{
color: #ebedf0;
line-height: 30px;
font-weight: 400;
text-decoration: none;
}
.canact-section a:hover {
color: #4d8eef;
}
</style>
<div class="footer-center">
<div class="cancat">Developer Resources</div>
<section class="canact-section"><a href="https://developer.canaan-creative.com/resource">Downloads</a></section>
<section class="canact-section"><a href="https://developer.canaan-creative.com/blog">Blog</a></section>
<section class="canact-section"><a href="https://developer.canaan-creative.com/document">Document Center</a></section>
<section class="canact-section"><a href="https://developer.canaan-creative.com/answer">Answer</a></section>
</div>
26 changes: 26 additions & 0 deletions source/_templates/FooterEn.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<style>
.cancat{
font-size: 1rem;
font-weight: 700;
color: #fff;
margin-bottom: 1rem;
}
.canact-section a{
color: #ebedf0;
line-height: 30px;
font-weight: 400;
text-decoration: none;
}
.canact-section a:hover {
color: #4d8eef;
}
.copy-right {
margin-top:30px;
color: #ebedf0;
}
</style>
<div class="footer-center">
<div class="cancat">Contact Us</div>
<section class="canact-section"><a href="mailto:salesai@canaan-creative.com">Mail: salesai@canaan-creative.com</a></section>
<!-- <section class="canact-section copy-right">© Copyright 2024 Canaan Inc.</section> -->
</div>
22 changes: 22 additions & 0 deletions source/_templates/FrightEn.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<style>
.cancat{
font-size: 1rem;
font-weight: 700;
color: #fff;
margin-bottom: 1rem;
}
.canact-section a{
color: #ebedf0;
line-height: 30px;
font-weight: 400;
text-decoration: none;
}
.canact-section a:hover {
color: #4d8eef;
}
</style>
<div class="footer-center">
<div class="cancat">Community</div>
<section class="canact-section"><a href="/">QQ Group: 578895334 </a></section>
<section class="canact-section"><a href="/">WeChat public account: 嘉楠科技</a></section>
</div>
6 changes: 5 additions & 1 deletion source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

project = 'K210 CanMV'
copyright = '2024 Canaan Inc'
author = 'Canaan'
# author = 'Canaan'
# release = '0.1'

# -- General configuration ---------------------------------------------------
Expand Down Expand Up @@ -71,3 +71,7 @@
"footer_center": ["Footer.html"],
"footer_end" : ["Fright.html"],
}
if language == 'en':
html_theme_options["footer_start"] = ["FleftEn.html"]
html_theme_options["footer_center"] = ["FooterEn.html"]
html_theme_options["footer_end"] = ["FrightEn.html"]

0 comments on commit 075f45e

Please sign in to comment.