-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from Skywt2003/dev
Dev
- Loading branch information
Showing
18 changed files
with
371 additions
and
156 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,43 @@ | ||
--- | ||
import CCBadge from "./CCBadge.astro"; | ||
import ThemeToggle from "./ThemeToggle.astro"; | ||
import CC from "./badges/CC.astro"; | ||
import NotByAI from "./badges/NotByAI.astro"; | ||
import Menu from "./menu/Menu.astro"; | ||
--- | ||
|
||
<footer class="container text-center mb-8 secondary-color"> | ||
<hr class="my-8" /> | ||
<p class="m-4"> | ||
© 2017-2024 <a href="https://skywt.cn/" class="link">SkyWT</a>. Powered | ||
by | ||
<a href="http://astro.build" target="_blank" class="link">Astro</a>. | ||
<!-- <ThemeToggle /> --> | ||
</p> | ||
<p class="m-4"> | ||
<a | ||
href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=33080202000472" | ||
target="_blank" | ||
class="link before:content-[url('/mps.png')] before:align-middle" | ||
> | ||
浙公网安备33080202000472号</a | ||
> / | ||
<a href="https://beian.miit.gov.cn/" target="_blank" class="link"> | ||
浙ICP备2021019606号-1 | ||
</a> | ||
</p> | ||
<div class="m-4"> | ||
<CCBadge /> | ||
<a href="https://notbyai.fyi" target="_blank" class="inline-block mx-1"> | ||
<img | ||
src="/not-by-ai.svg" | ||
alt="Not By AI Badge" | ||
class="inline-block h-8" | ||
/> | ||
</a> | ||
<a | ||
href="https://www.foreverblog.cn/" | ||
target="_blank" | ||
class="inline-block mx-1" | ||
> | ||
<img | ||
src="https://img.foreverblog.cn/logo_en_default.png" | ||
alt="Forever Blog Badage" | ||
class="inline-block h-6 grayscale" | ||
/> | ||
</a> | ||
<footer class="py-8 bg-gray-100 dark:bg-neutral-800"> | ||
<div class="wide-container secondary-color text-sm"> | ||
<div class="m-4"> | ||
<Menu showIcon={false} /> | ||
</div> | ||
<hr /> | ||
<div></div> | ||
<p class="m-4"> | ||
© 2017-2024 <a href="https://skywt.cn/" class="link">SkyWT</a> / | ||
<a | ||
href="https://www.beian.gov.cn/portal/registerSystemInfo?recordcode=33080202000472" | ||
target="_blank" | ||
class="link before:content-[url('/mps.png')] before:align-middle" | ||
> | ||
浙公网安备33080202000472号</a | ||
> / | ||
<a href="https://beian.miit.gov.cn/" target="_blank" class="link"> | ||
浙ICP备2021019606号-1 | ||
</a> | ||
</p> | ||
<div class="m-4"> | ||
<CC by={true} nc={true} /> | ||
<NotByAI /> | ||
<a | ||
href="https://www.foreverblog.cn/" | ||
target="_blank" | ||
class="inline-block mx-1" | ||
> | ||
<img | ||
src="https://img.foreverblog.cn/logo_en_default.png" | ||
alt="Forever Blog Badage" | ||
class="inline-block h-4 grayscale" | ||
/> | ||
</a> | ||
</div> | ||
</div> | ||
</footer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
interface Props { | ||
by?: boolean; | ||
nc?: boolean; | ||
sa?: boolean; | ||
nd?: boolean; | ||
} | ||
const { by = true, nc = true, sa = false, nd = false } = Astro.props; | ||
let license = ""; | ||
if (by) license += "-by"; | ||
if (nc) license += "-nc"; | ||
if (sa) license += "-sa"; | ||
if (nd) license += "-nd"; | ||
license = license.slice(1); | ||
--- | ||
|
||
<a | ||
href={"https://creativecommons.org/licenses/" + license + "/4.0/"} | ||
target="_blank" | ||
class="inline-block mx-1" | ||
> | ||
<img class="icon" src="/cc/cc.svg" /> | ||
{by && <img class="icon" src="/cc/by.svg" />} | ||
{nc && <img class="icon" src="/cc/nc.svg" />} | ||
{sa && <img class="icon" src="/cc/sa.svg" />} | ||
{nd && <img class="icon" src="/cc/nd.svg" />} | ||
</a> | ||
|
||
<style lang="scss"> | ||
.icon { | ||
@apply inline-block w-4 h-4; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
--- | ||
|
||
<a href="https://notbyai.fyi" target="_blank" class="inline-block mx-1"> | ||
<img | ||
src="/not-by-ai-light.svg" | ||
alt="Not By AI Badge" | ||
class="badge inline-block dark:hidden" | ||
/> | ||
<img | ||
src="/not-by-ai-dark.svg" | ||
alt="Not By AI Badge" | ||
class="badge hidden dark:inline-block" | ||
/> | ||
</a> | ||
|
||
<style lang="scss"> | ||
.badge { | ||
@apply h-6; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.