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.3.10/schema.json",
"$schema": "https://biomejs.dev/schemas/2.3.11/schema.json",
"assist": {
"actions": {
"source": {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@iconify-json/mdi": "1.2.3",
"@octokit/openapi-types": "27.0.0",
"@tailwindcss/vite": "4.1.18",
"accessible-astro-components": "5.0.3",
"accessible-astro-components": "5.0.4",
"astro": "5.16.6",
"astro-icon": "1.1.5",
"date-fns": "4.1.0",
Expand All @@ -65,7 +65,7 @@
"tailwindcss-motion": "1.1.1"
},
"devDependencies": {
"@biomejs/biome": "2.3.10",
"@biomejs/biome": "2.3.11",
"husky": "9.1.7"
},
"packageManager": "pnpm@10.27.0",
Expand Down
86 changes: 43 additions & 43 deletions pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion src/components/DownloadButton.astro
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const { item } = Astro.props;
]}
>
<div class="flex flex-row gap-2 items-center">
<Icon name="line-md:cloud-alt-download-filled" size={24}/>
<Icon name="line-md:cloud-alt-download-filled" size={24} />
<span>{item.name}</span>
</div>
</a>
2 changes: 1 addition & 1 deletion src/components/Footer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const isHomepage = currentPathname === '/';
aria-label="GitHub Repository"
class="mt-1 mb-4 mx-2 p-1 hover:motion-preset-pulse hover:motion-duration-1000"
>
<Icon name="mdi:github" size={32}/>
<Icon name="mdi:github" size={32} />
</a>

<div class="my-3">
Expand Down
8 changes: 4 additions & 4 deletions src/components/GitHubRepo.astro
Original file line number Diff line number Diff line change
Expand Up @@ -53,20 +53,20 @@ const { forks, stars, latestReleaseName } = await loadRepoStats();
<section
class="flex flex-row gap-2 items-center motion-preset-pop hover:motion-preset-oscillate hover:motion-duration-500"
>
<Icon name="mdi:github" size={32} class="w-6 sm:w-10"/>
<Icon name="mdi:github" size={32} class="w-6 sm:w-10" />
<div class="font-light max-sm:hidden">
<div class="text-sm">{siteMetadata.repo.fullName}</div>
<div class="flex flex-row gap-2 text-xs">
<div class="flex flex-row gap-0.5 items-center">
<Icon name="mdi:tag-outline"/>
<Icon name="mdi:tag-outline" />
{latestReleaseName}
</div>
<div class="flex flex-1 gap-0.5 items-center">
<Icon name="mdi:star-outline"/>
<Icon name="mdi:star-outline" />
{stars}
</div>
<div class="flex flex-1 gap-0.5 items-center">
<Icon name="mdi:source-branch"/>
<Icon name="mdi:source-branch" />
{forks}
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Hero.astro
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ import Logo from '~/components/Logo.astro';
class="container flex flex-col md:flex-row lg:items-center max-w-5xl mx-auto px-12 py-8 lg:py-16"
>
<div class="flex flex-col justify-center grow">
<Logo className="w-16 lg:w-24 mb-4" isDark/>
<Logo className="w-16 lg:w-24 mb-4" isDark />

<h1 class="text-2xl lg:text-4xl font-semibold">{siteMetadata.title}</h1>

<h2 class="mt-2 text-xl lg:text-2xl font-light">
{siteMetadata.description}.
</h2>

<LatestRelease/>
<LatestRelease />
</div>

<div class="motion-preset-pop motion-rotate-in-[-30deg]">
Expand Down
6 changes: 2 additions & 4 deletions src/components/LatestRelease.astro
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ const { downloadLinks, version, releaseDate } = await loadInitialData();
---

<div class="text-sm mt-4">
{
version ? (
{version ? (
<>
<div class="sm:flex md:grid md:grid-cols-2">
{downloadLinks.primary.map((item) => (
Expand Down Expand Up @@ -142,6 +141,5 @@ const { downloadLinks, version, releaseDate } = await loadInitialData();
}}
/>
</div>
)
}
)}
</div>
10 changes: 4 additions & 6 deletions src/components/Navbar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,13 @@ const isHomepage = currentPathname === '/';
>
<div class="flex items-center shrink-0 text-white mr-6">
<a href="/" aria-label={siteMetadata.title}>
<Logo className="w-8"/>
<Logo className="w-8" />
</a>
</div>

<div class="flex justify-end">
<ul class="flex flex-row items-center list-none space-x-4">
{
siteMetadata.menuLinks.map((item) => (
{siteMetadata.menuLinks.map((item) => (
<li>
<a
href={item.path}
Expand All @@ -36,11 +35,10 @@ const isHomepage = currentPathname === '/';
{item.name}
</a>
</li>
))
}
))}

<li>
<GitHubRepo/>
<GitHubRepo />
</li>
</ul>
</div>
Expand Down
8 changes: 4 additions & 4 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ const ogImage = `${siteMetadata.url}/images/social.png`;
<meta property="og:image" content={ogImage}>

<!-- Google Analytics and Site Verification -->
<GoogleAnalytics/>
<GoogleAnalytics />
<meta
name="google-site-verification"
content={siteMetadata.google.siteVerification}
>
</head>
<body class="flex flex-col min-h-screen">
<Navbar currentPathname={Astro.url.pathname}/>
<slot/>
<Footer currentPathname={Astro.url.pathname}/>
<Navbar currentPathname={Astro.url.pathname} />
<slot />
<Footer currentPathname={Astro.url.pathname} />
</body>
</html>
7 changes: 3 additions & 4 deletions src/layouts/SectionRow.astro
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,13 @@ const {
/>
</div>

{
screenshot && (
{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}
/> ) }
/> )}

<slot/>
<slot />
</div>
</div>
6 changes: 2 additions & 4 deletions src/pages/faq.astro
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,11 @@ interface FAQFrontmatter {
Frequently Asked Questions
</div>
<Accordion>
{
faqs.map((faq) => (
{faqs.map((faq) => (
<AccordionItem title={faq.frontmatter.title} variant="chevron">
<div class="faq" set:html={faq.compiledContent()} />
</AccordionItem>
))
}
))}
</Accordion>
</div>
</Layout>
8 changes: 3 additions & 5 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import SectionRow from '~/layouts/SectionRow.astro';

<Layout title="GitHub notifications on your menu bar">
<main>
<Hero/>
<Hero />

<SectionRow
title="All your GitHub notifications, right on your desktop."
Expand Down Expand Up @@ -46,8 +46,7 @@ import SectionRow from '~/layouts/SectionRow.astro';
description="Gitify is built with TypeScript, Electron, React, Tailwind CSS, and other open-source libraries.</p>"
>
<div class="flex flex-wrap justify-center md:max-w-lg mt-12 lg:mt-0">
{
openSourceLibs.map((item) => (
{openSourceLibs.map((item) => (
<div class="p-2 m-2 rounded-lg hover:motion-preset-pulse hover:motion-duration-1000">
<a
href={item.link}
Expand All @@ -63,8 +62,7 @@ import SectionRow from '~/layouts/SectionRow.astro';
/>
</a>
</div>
))
}
))}
</div>
</SectionRow>
</main>
Expand Down