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
2 changes: 1 addition & 1 deletion biome.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/2.5.14/schema.json",
"$schema": "https://biomejs.dev/schemas/2.5.15/schema.json",
"assist": {
"actions": {
"source": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"tailwindcss-motion": "1.1.1"
},
"devDependencies": {
"@biomejs/biome": "2.5.14",
"@biomejs/biome": "2.5.15",
"husky": "9.1.7"
},
"packageManager": "pnpm@12.8.1",
Expand Down
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.

8 changes: 4 additions & 4 deletions src/components/DownloadButton.astro
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ const { item } = Astro.props;
<a
href={item.url}
class:list={[
"flex items-center",
"mb-3 px-4 py-3 mr-4",
"font-semibold rounded-md",
"text-gitify-link bg-gitify-download-rest hover:bg-gitify-download-hover",
'flex items-center',
'mb-3 px-4 py-3 mr-4',
'font-semibold rounded-md',
'text-gitify-link bg-gitify-download-rest hover:bg-gitify-download-hover',
]}
>
<div class="flex flex-row gap-2 items-center">
Expand Down
4 changes: 2 additions & 2 deletions src/components/Footer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ const isHomepage = currentPathname === '/';

<div
class:list={[
"bg-gitify-footer text-white text-sm py-10 px-3",
isHomepage ? "mt-0" : "mt-12",
'bg-gitify-footer text-white text-sm py-10 px-3',
isHomepage ? 'mt-0' : 'mt-12',
]}
>
<div class="container mx-auto flex flex-col items-center text-center">
Expand Down
84 changes: 42 additions & 42 deletions src/components/LatestRelease.astro
Original file line number Diff line number Diff line change
Expand Up @@ -102,55 +102,55 @@ const { downloadLinks, version, releaseDate } = await loadInitialData();

<div class="text-sm mt-4">
{version ? (
<>
<div class="sm:flex md:grid md:grid-cols-2">
{downloadLinks.primary.map((item) => (
<DownloadButton item={item} />
))}
<>
<div class="sm:flex md:grid md:grid-cols-2">
{downloadLinks.primary.map((item) => (
<DownloadButton item={item} />
))}
</div>
<div class="w-80 flex flex-col gap-2">
<div>
Latest version:{' '}
<a class="gitify-download-link" href={URLs.GITHUB.LATEST_RELEASE}>
{version}
</a>
</div>
<div class="w-80 flex flex-col gap-2">
<div>Released on: {releaseDate}</div>
{downloadLinks.alt.length > 0 && (
<div>
Latest version:{" "}
<a class="gitify-download-link" href={URLs.GITHUB.LATEST_RELEASE}>
{version}
</a>
Also available on:
<ul class="list-disc list-inside mt-2 ml-4">
{downloadLinks.alt.map((platform) => (
<li class="mb-2.5">
<a
class="gitify-download-link"
href={platform.url || URLs.GITHUB.LATEST_RELEASE}
>
{platform.name}
</a>
</li>
))}
</ul>
</div>
<div>Released on: {releaseDate}</div>
{downloadLinks.alt.length > 0 && (
<div>
Also available on:
<ul class="list-disc list-inside mt-2 ml-4">
{downloadLinks.alt.map((platform) => (
<li class="mb-2.5">
<a
class="gitify-download-link"
href={platform.url || URLs.GITHUB.LATEST_RELEASE}
>
{platform.name}
</a>
</li>
))}
</ul>
</div>
)}
</div>
</>
) : (
<div class="flex">
<DownloadButton
item={{
url: URLs.GITHUB.LATEST_RELEASE,
name: "View GitHub Releases",
}}
/>
)}
</div>
)}
</>
) : (
<div class="flex">
<DownloadButton
item={{
url: URLs.GITHUB.LATEST_RELEASE,
name: 'View GitHub Releases',
}}
/>
</div>
)}
<p class="mt-4 max-w-sm">
Using KDE Plasma 6 on Wayland? Install the optional{" "}
Using KDE Plasma 6 on Wayland? Install the optional{' '}
<a class="gitify-download-link" href="https://store.kde.org/p/2371508/">
Gitify KWin script
</a>{" "}
to keep Gitify beside your panel.{" "}
</a>{' '}
to keep Gitify beside your panel.{' '}
<a class="gitify-download-link" href="/faq#kde-wayland-positioning">
Setup instructions
</a>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Logo.astro
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const { isDark = false, className = '' } = Astro.props;
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 @@ -43,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
32 changes: 16 additions & 16 deletions src/components/Navbar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const { currentPathname } = Astro.props;
const isHomepage = currentPathname === '/';
---

<nav class:list={["py-10 px-8", isHomepage && "bg-gitify-hero"]}>
<nav class:list={['py-10 px-8', isHomepage && 'bg-gitify-hero']}>
<div class="container max-w-5xl lg:mx-auto">
<div
class="bg-gitify-navbar text-gitify-link rounded-lg flex items-center justify-between px-8 lg:px-12 py-4 lg:py-6"
Expand All @@ -22,21 +22,21 @@ const isHomepage = currentPathname === '/';
<div class="flex justify-end">
<ul class="flex flex-row items-center list-none space-x-4">
{siteMetadata.menuLinks.map((item) => (
<li>
<a
href={item.path}
class:list={[
"py-1.5 lg:py-2 px-2 lg:px-3",
"gitify-navbar font-light",
currentPathname === item.path
? "border-white border rounded-lg"
: "",
]}
>
{item.name}
</a>
</li>
))}
<li>
<a
href={item.path}
class:list={[
'py-1.5 lg:py-2 px-2 lg:px-3',
'gitify-navbar font-light',
currentPathname === item.path
? 'border-white border rounded-lg'
: '',
]}
>
{item.name}
</a>
</li>
))}

<li><GitHubRepo /></li>
</ul>
Expand Down
27 changes: 17 additions & 10 deletions src/layouts/SectionRow.astro
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ const {

<div
class:list={[
"flex px-12 py-16 lg:py-24",
isDark ? "bg-gitify-section-dark text-white" : "bg-gitify-section-light",
'flex px-12 py-16 lg:py-24',
isDark ? 'bg-gitify-section-dark text-white' : 'bg-gitify-section-light',
]}
>
<div
class:list={[
"container max-w-5xl mx-auto flex flex-col items-center lg:space-x-36",
!isReversed ? "lg:flex-row" : "lg:flex-row-reverse",
isReversed && "lg:space-x-reverse",
'container max-w-5xl mx-auto flex flex-col items-center lg:space-x-36',
!isReversed ? 'lg:flex-row' : 'lg:flex-row-reverse',
isReversed && 'lg:space-x-reverse',
]}
>
<div class="flex-1">
Expand All @@ -45,11 +45,18 @@ const {
</div>

{screenshot && (
<Image
class:list={["w-full lg:w-96 max-w-md rounded-lg shadow-lg transform", "mt-16 lg:mt-0 mb-8 lg:mb-0", isReversed ? "-rotate-6" : "rotate-6"]}
width="500" height="400" src={import(`../assets/${screenshot.path}.png`)}
alt={screenshot.alt}
/> )}
<Image
class:list={[
'w-full lg:w-96 max-w-md rounded-lg shadow-lg transform',
'mt-16 lg:mt-0 mb-8 lg:mb-0',
isReversed ? '-rotate-6' : 'rotate-6',
]}
width="500"
height="400"
src={import(`../assets/${screenshot.path}.png`)}
alt={screenshot.alt}
/>
)}

<slot />
</div>
Expand Down
Loading
Loading