Skip to content

Commit

Permalink
docs(website): added comparison note for sycamore and perseus
Browse files Browse the repository at this point in the history
This is an FAQ, so this should clear some things up hopefully.
  • Loading branch information
arctic-hen7 committed Apr 8, 2022
1 parent 8d29b99 commit bc4f821
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions website/src/templates/comparisons.rs
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,11 @@ pub fn comparisons_page(props: ComparisonsPageProps) -> View<G> {
})
}
}
br(class = "mb-1 sm:mb-8 md:mb-12")
h3(class = "text-2xl underline") { (t!("comparisons-sycamore-heading")) }
div(class = "w-full flex justify-center") {
p(class = "max-w-prose") { (t!("comparisons-sycamore-text")) }
}
}
}
}
Expand Down
2 changes: 2 additions & 0 deletions website/translations/en-US.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ comparisons-table-details =
.supports_exporting = Whether or not this framework can operate without a server, as a series of purely static files.
.homepage_lighthouse_desktop = The Lighthouse score out of 100 for desktop (higher is better). These are collected from Google's PageSpeed Insights tool. These are for the framework's website, and may not reflect the performance of all sites made with the framework.
.homepage_lighthouse_mobile = The Lighthouse score out of 100 for mobile (higher is better). These are collected from Google's PageSpeed Insights tool. These are for the framework's website, and may not reflect the performance of all sites made with the framework.
comparisons-sycamore-heading = Perseus vs Sycamore
comparisons-sycamore-text = Perseus is a framework that uses Sycamore to write views (the things users see), so there's not much point in comparing the two as competitors. However, Sycamore can be used without Perseus, which works perfectly well, though you'll miss out on features like inbuilt internationalization, static generation (though you could build this yourself), and incremental generation. If you want to build just a bit of your site with Rust, Sycamore is the perfect tool, Perseus is a full framework designed for building entire websites.
docs-title-base = Perseus Docs
docs-status =
Expand Down

0 comments on commit bc4f821

Please sign in to comment.