abount, security and donation links

This commit is contained in:
realaravinth 2021-05-27 19:58:25 +05:30
parent fcdbe66b26
commit 5963df19f2
No known key found for this signature in database
GPG key ID: AD9F0F08E855ED88
2 changed files with 14 additions and 4 deletions

View file

@ -28,6 +28,7 @@ pub struct Routes {
pub about: &'static str,
pub thanks: &'static str,
pub donate: &'static str,
pub security: &'static str,
}
impl Routes {
@ -42,6 +43,7 @@ impl Routes {
about: "/about",
thanks: "/thanks",
donate: "/donate",
security: "/security",
}
}
}

View file

@ -2,16 +2,24 @@
<p class="details__copyright"> &copy; mCaptcha developers </p>
<ul class="details">
<li class="details__item">
<a class="details__link" href="<.= crate::PKG_HOMEPAGE .>">Homepage</a>
<a class="details__link"
href="<.= crate::PKG_HOMEPAGE .>">Homepage</a>
</li>
<li class="details__item">
<a class="details__link" href="<.= crate::PAGES.about .>">About</a>
<a class="details__link"
href="<.= crate::PKG_HOMEPAGE .><.= crate::PAGES.about .>">About</a>
</li>
<li class="details__item">
<a class="details__link" href="<.= crate::PAGES.thanks .>">Thanks</a>
<a class="details__link"
href="<.= crate::PKG_HOMEPAGE .><.= crate::PAGES.donate .>">Donate</a>
</li>
<li class="details__item">
<a class="details__link"
href="<.= crate::PKG_HOMEPAGE .><.= crate::PAGES.security .>">Security</a>
</li>
<li class="details__item">
<a class="details__link" href="<.= crate::PAGES.donate .>">Donate</a>
<a class="details__link"
href="<.= crate::PKG_HOMEPAGE .><.= crate::PAGES.thanks .>">Thanks</a>
</li>
<li class="details__item">
v<.= crate::VERSION .>-<.= crate::GIT_COMMIT_HASH[0..8] .>