Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 13 additions & 5 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
{
"$schema": "https://biomejs.dev/schemas/2.3.15/schema.json",
"$schema": "https://biomejs.dev/schemas/2.4.1/schema.json",
"assist": {
"actions": {
"source": {
"organizeImports": {
"level": "on",
"options": {
"groups": [
["astro:*", "*astro-*", "astro*/*"],
[
"astro:*",
"*astro-*",
"astro*/*"
],
":PACKAGE:",
["~/constants"],
[
"~/constants"
],
":ALIAS:",
"**"
]
Expand Down Expand Up @@ -43,7 +49,9 @@
},
"overrides": [
{
"includes": ["**/*.astro"],
"includes": [
"**/*.astro"
],
"linter": {
"rules": {
"correctness": {
Expand Down Expand Up @@ -83,4 +91,4 @@
"clientKind": "git",
"useIgnoreFile": true
}
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"tailwindcss-motion": "1.1.1"
},
"devDependencies": {
"@biomejs/biome": "2.3.15",
"@biomejs/biome": "2.4.1",
"husky": "9.1.7"
},
"packageManager": "pnpm@10.29.3",
Expand All @@ -80,4 +80,4 @@
"lint-staged": {
"*.{js,ts,cjs,mjs,astro}": "biome format --fix"
}
}
}
74 changes: 37 additions & 37 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions src/components/Logo.astro
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,15 @@ const { isDark = false, className = '' } = Astro.props;
xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 500 500"
role="img"
aria-label="Logo"
>
<defs>
<linearGradient
x1="90.8779989%"
y1="80.0676288%"
x2="-1.30249747%"
y2="32.7108237%"
id={isDark ? 'linearGradient-dark' : 'linearGradient-light'}
id={isDark ? "linearGradient-dark" : "linearGradient-light"}
>
<stop
stop-color={isDark ? DARK_GRADIENT_START : LIGHT_GRADIENT_START}
Expand All @@ -42,7 +43,7 @@ const { isDark = false, className = '' } = Astro.props;
<g
id="Logo"
transform="translate(6.000000, 6.000000)"
fill={`url(${isDark ? '#linearGradient-dark' : '#linearGradient-light'}
fill={`url(${isDark ? "#linearGradient-dark" : "#linearGradient-light"}
)`}
fill-rule="nonzero"
>
Expand Down
4 changes: 1 addition & 3 deletions src/components/Navbar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ const isHomepage = currentPathname === '/';
</li>
))}

<li>
<GitHubRepo />
</li>
<li><GitHubRepo /></li>
</ul>
</div>
</div>
Expand Down
6 changes: 5 additions & 1 deletion src/pages/404.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ import Layout from '~/layouts/Layout.astro';
<div
class="w-full h-screens py-16 flex flex-col items-center justify-center"
>
<img class="w-1/2 md:1/3 lg:w-1/4" src="/images/404.png">
<img
class="w-1/2 md:1/3 lg:w-1/4"
src="/images/404.png"
aria-label="404 Not Found"
>
<div class="flex flex-col items-center justify-center">
<p class="text-3xl md:text-4xl lg:text-5xl mt-12">Page Not Found</p>
<p class="md:text-lg lg:text-xl mt-8">
Expand Down
8 changes: 7 additions & 1 deletion src/pages/callback.astro
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
---
// TODO remove this callback page - from v4 of Gitify

import Layout from '~/layouts/Layout.astro';
---

Expand All @@ -7,7 +9,11 @@ import Layout from '~/layouts/Layout.astro';
<div
class="w-full h-screens py-16 flex flex-col items-center justify-center"
>
<img class="w-1/2 md:1/3 lg:w-1/4" src="/images/callback.svg">
<img
class="w-1/2 md:1/3 lg:w-1/4"
src="/images/callback.svg"
aria-label="Callback"
>
<div class="flex flex-col items-center justify-center">
<p class="text-3xl md:text-4xl lg:text-5xl mt-12">
This is a callback page.
Expand Down
Loading