Skip to content

Commit

Permalink
style: Auto format astro source files
Browse files Browse the repository at this point in the history
  • Loading branch information
GeckoEidechse committed Feb 9, 2025
1 parent d8b0bb5 commit 02df633
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 10 deletions.
6 changes: 5 additions & 1 deletion src/components/Contributors.astro
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ const { type, small } = Astro.props as {
.filter((c) => c.type == type)
.map((contributor) => (
<div class="contributor">
<a href={contributor.url} target="_blank" aria-label={contributor.name}>
<a
href={contributor.url}
target="_blank"
aria-label={contributor.name}
>
<Image src={contributor.icon} alt="" inferSize />
</a>
<span class="name header">{contributor.name}</span>
Expand Down
9 changes: 7 additions & 2 deletions src/pages/credits.astro
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,19 @@ import Layout from "../layouts/Layout.astro";

<div class="pane">
<div class="section">Past contributors</div>
<p class="blurb">We are ever greatful for past contributions by these developers and wish them all their best on their journey beyond Northstar</p>
<p class="blurb">
We are ever greatful for past contributions by these developers and
wish them all their best on their journey beyond Northstar
</p>
<Contributors type={ContributorType.PAST} small />
</div>

<!-- TODO have a pane for each and just pass the desired stats (weekly/monthly/all) to the component -->
<div class="pane" id="reviewer-scoreboard">
<div class="section">Reviewer Scoreboard</div>
<p class="blurb">Stats for number of reviews performed over certain time durations</p>
<p class="blurb">
Stats for number of reviews performed over certain time durations
</p>
<Reviewers />
</div>

Expand Down
12 changes: 5 additions & 7 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,16 @@ import Community from "../components/Community.astro";
alt="Discord Server"
/><span>Discord</span></a
>
<a href="/wiki" class="button big"
draggable="false"
<a href="/wiki" class="button big" draggable="false"
><img
src="/assets/icon_wiki.svg"
alt="Northstar Wiki"
/>Wiki</a
>
<a href="/github" class="button big"
draggable="false"
<a href="/github" class="button big" draggable="false"
><img src="/assets/github.svg" alt="GitHub" />GitHub</a
>
<a href="/servers" class="button big"
draggable="false"
<a href="/servers" class="button big" draggable="false"
><img
src="/assets/globe.svg"
alt="Modding Documentation"
Expand Down Expand Up @@ -88,7 +85,8 @@ import Community from "../components/Community.astro";
<div class="pane" id="roadmap">
<div class="section">Roadmap</div>
<p style="text-align: center">
Our community is always working on new features and improvements for Northstar.
Our community is always working on new features and improvements for
Northstar.
</p>
<Roadmap />
</div>
Expand Down

0 comments on commit 02df633

Please sign in to comment.