Skip to content

Commit

Permalink
feat: add policy & service
Browse files Browse the repository at this point in the history
* feat: remove career

* fix: 🐛 post �list

* feat: add policy & service
  • Loading branch information
Wangtaofeng authored Apr 11, 2023
1 parent 9d4b931 commit 9cce930
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 24 deletions.
6 changes: 3 additions & 3 deletions assets/css/site/footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,15 @@ footer {
.footer-href {
display: flex;
flex-direction: column;
align-items: flex-start;
align-items: flex-start;
margin: 0;
gap: 8px;
}
.footer-item p, .footer-href a {
font-weight: 400;
font-size: 12px;
line-height: 22px;
color: rgba(11, 12, 15, 1);
}
.footer-href a {
display: block;
Expand Down Expand Up @@ -111,8 +112,7 @@ footer {
color: rgba(169, 174, 184, 1);
}
.footer-href a {
color: rgba(120, 126, 133, 1);

color: rgba(11, 12, 15, 1);
}
.footer-href svg {
transform: scale(1.818);
Expand Down
18 changes: 13 additions & 5 deletions assets/js/lib/constent.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,23 @@ const footerCenterContent = [
{
title: 'Company',
value: [
{
name: 'Careers',
url: 'https://www.illacloud.com/hire'
},
{
name: 'Media Kit',
url: 'https://illa-cloud-storage.illacloud.com/system-assets/media-kit/illa_media_kit.20230228.zip',
downloadName: 'illa_media_kit'
}
},
{
name: 'Status',
url: 'https://status.illacloud.com/'
},
{
name: 'Privacy policy',
url: 'https://cloud.illacloud.com/privacy-policy?lng=en-US'
},
{
name: 'Terms of service',
url: 'https://cloud.illacloud.com/terms-and-conditions?lng=en-US'
},
]
},
]
Expand Down
5 changes: 2 additions & 3 deletions assets/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@
} else {
socialMedia.style.display = 'none'
}

}

share && share.addEventListener('click', (event) => {
shareList.style.display = 'block'
event.stopPropagation()
Expand Down Expand Up @@ -68,7 +66,7 @@
<ul class="footer-href">
{{#value}}
<li>
<a class="no-change-opacity" href="{{url}}" target="__blank">
<a class="no-change-opacity" href="{{url}}" target="__blank">
{{{icon}}}
<span>{{name}}</span>
</a>
Expand All @@ -83,4 +81,5 @@
const context = { footerRightContent, footerCenterContent }
const footerTemplate = template(context);
footerListContainer.innerHTML += footerTemplate;
pagination(true);
})();
14 changes: 1 addition & 13 deletions default.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -51,21 +51,9 @@
{{{body}}}
</div>

<footer>
<footer class="gh-foot gh-outer">
{{> "footer"}}
{{!-- <div class="gh-foot-inner gh-inner">
<div class="gh-copyright">
{{@site.title}} © {{date format="YYYY"}}
</div>
<nav class="gh-foot-menu">
{{navigation type="secondary"}}
</nav>
<div class="gh-powered-by">
<a href="https://ghost.org/" target="_blank" rel="noopener">Powered by Ghost</a>
</div>
</div> --}}
</footer>

</div>

{{#is "post, page"}}
Expand Down

0 comments on commit 9cce930

Please sign in to comment.