generated from vrchat-community/template-package
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1d71f8d
commit ba5417c
Showing
5 changed files
with
121 additions
and
14 deletions.
There are no files selected for viewing
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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 |
---|---|---|
@@ -0,0 +1,61 @@ | ||
--- | ||
import type { Props } from '@astrojs/starlight/props'; | ||
import EditLink from 'virtual:starlight/components/EditLink'; | ||
import LastUpdated from 'virtual:starlight/components/LastUpdated'; | ||
import Pagination from 'virtual:starlight/components/Pagination'; | ||
import config from 'virtual:starlight/user-config'; | ||
import { Icon } from '@astrojs/starlight/components'; | ||
--- | ||
|
||
<footer class="sl-flex"> | ||
<div class="meta sl-flex"> | ||
<EditLink {...Astro.props} /> | ||
<LastUpdated {...Astro.props} /> | ||
</div> | ||
<Pagination {...Astro.props} /> | ||
<div class="copyright"> | ||
<p>Make It MMD is released under the MIT License.</p> | ||
<p>Copyright © 2024 enitimeago.</p> | ||
{ | ||
config.credits && ( | ||
<a class="kudos sl-flex" href="https://starlight.astro.build" target="_blank"> | ||
<Icon name={'starlight'} /> {Astro.props.labels['builtWithStarlight.label']} | ||
</a> | ||
) | ||
} | ||
</div> | ||
</footer> | ||
|
||
<style> | ||
footer { | ||
flex-direction: column; | ||
gap: 1.5rem; | ||
} | ||
.meta { | ||
gap: 0.75rem 3rem; | ||
justify-content: space-between; | ||
flex-wrap: wrap; | ||
margin-top: 3rem; | ||
font-size: var(--sl-text-sm); | ||
color: var(--sl-color-gray-3); | ||
} | ||
.meta > :global(p:only-child) { | ||
margin-inline-start: auto; | ||
} | ||
|
||
.kudos { | ||
align-items: center; | ||
gap: 0.5em; | ||
margin: 1.5rem auto; | ||
font-size: var(--sl-text-xs); | ||
text-decoration: none; | ||
color: var(--sl-color-gray-3); | ||
} | ||
.kudos :global(svg) { | ||
color: var(--sl-color-orange); | ||
} | ||
.kudos:hover { | ||
color: var(--sl-color-white); | ||
} | ||
</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