Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds a GitHub Pages landing site for the Thoth JSON viewer project. The site is built using Astro and Tailwind CSS, providing a modern, responsive landing page with installation instructions, feature highlights, and documentation links.
Key changes:
- Created a complete Astro-based website with hero section, features showcase, installation guide, and footer
- Configured GitHub Actions workflow to automatically deploy the site to GitHub Pages
- Optimized the CI workflow by adding caching for tarpaulin installation
Reviewed changes
Copilot reviewed 17 out of 25 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| website/package.json | Defines dependencies for Astro and Tailwind CSS |
| website/astro.config.mjs | Configures Astro with GitHub Pages base path and Tailwind integration |
| website/tsconfig.json | TypeScript configuration extending Astro's strict settings |
| website/src/pages/index.astro | Main landing page composing Hero, Features, Installation, and Footer components |
| website/src/layouts/BaseLayout.astro | Base HTML layout with SEO meta tags, Open Graph, and Google Fonts |
| website/src/components/Hero.astro | Hero section with download buttons for different platforms and demo |
| website/src/components/Features.astro | Features grid showcasing 9 key capabilities of Thoth |
| website/src/components/Installation.astro | Installation instructions with direct downloads and build-from-source guide |
| website/src/components/Footer.astro | Footer with documentation links, community resources, and GitHub badge |
| website/src/styles/global.css | Global styles importing Tailwind CSS |
| .github/workflows/deploy-pages.yml | GitHub Actions workflow for building and deploying to GitHub Pages |
| .github/workflows/ci.yml | Enhanced CI with caching for cargo-tarpaulin installation |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| </div> | ||
| </div> | ||
| <p class="text-sm text-gray-500 mt-4"> | ||
| Requires Rust 1.70+ and system dependencies listed in the README |
There was a problem hiding this comment.
The Rust version requirement (1.70+) is mentioned here but should be verified against the actual project requirements. Consider adding a link to the README section that lists the system dependencies for better user experience.
| Requires Rust 1.70+ and system dependencies listed in the README | |
| Requires a recent Rust toolchain and the system dependencies listed in the | |
| <a href="https://github.com/anitnilay20/thoth#system-dependencies" class="text-blue-400 underline">README</a>. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #52 +/- ##
==========================================
- Coverage 26.96% 26.87% -0.09%
==========================================
Files 59 58 -1
Lines 5022 5016 -6
==========================================
- Hits 1354 1348 -6
Misses 3668 3668 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
b5033df to
e5f0ecb
Compare
GitHub Pages was trying to build with Jekyll instead of using our GitHub Actions workflow. The .nojekyll file tells GitHub to skip Jekyll and serve the pre-built static files from our Astro build.
- Cache the tarpaulin binary to avoid reinstalling from source every time - Only install if not found in cache, significantly speeds up coverage runs - Add cache-on-failure to Rust cache for better reliability
e5f0ecb to
75eda6c
Compare
No description provided.