Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: homepage content nits #530

Merged
merged 24 commits into from
Oct 18, 2024
Merged
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
77 changes: 37 additions & 40 deletions packages/www/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@ export default function Homepage() {
/>
<h1>The Web Platform Framework</h1>
<p>
<b>Build</b> web applications with <b>speed</b> and{' '}
<b>simplicity</b>
Build web applications with <b>speed</b> and <b>simplicity</b>
</p>
</hgroup>
<div
Expand All @@ -117,9 +116,8 @@ export default function Homepage() {
<div class="info sticky">
<h2>🚀 Build fast apps fast</h2>
<p>
Brisa pages are dynamically server-rendered JSX components, so
there's <b>zero JavaScript</b> shipped to the browser{' '}
<b>by default</b>.
Brisa pages are dynamically server-rendered JSX components, with{' '}
<b>zero JavaScript</b> shipped to the browser <b>by default</b>.
</p>
<p>Simple to write; fast to run.</p>
</div>
Expand All @@ -135,10 +133,10 @@ export default function Homepage() {
<div class="info sticky">
<h2>🏝️ Web Component island-based</h2>
<p>
In Brisa everything by default runs only on the server, except the{' '}
<code>src/web-components</code> folder that also runs on the
In Brisa everything runs only on the server by default, except the{' '}
<code>src/web-components</code> folder, which always run on the
client. Web components are rendered on the server (<b>SSR</b>) and
hydrated on the client using native Web APIs, as they are
hydrated on the client using native Web APIs, where they are
transformed into Web Components with <b>Signals</b>.
</p>
<custom-counter start={5} />
Expand All @@ -154,17 +152,17 @@ export default function Homepage() {
<section class="brisa-section actions odd-section">
<div class="code-example">
<div class="info sticky">
<h2>📲 Browser-events on Server </h2>
<h2>📲 Browser-events on the server</h2>
<p>
Brisa mixes ideas from React's "<b>Server Actions</b>" and HTMX
concepts. With Brisa, you can handle all browser events on the
server, such as forms, click events, etc. In addition, we offer
some extra <b>HTML attributes</b> to manage debounces, optimistic
updates, etc.
server, such as forms, click events and more. In addition, we
offer extra <b>HTML attributes</b> to manage debounces, optimistic
updates, among other things.
</p>
<p>
The idea is that if you want you can create a SPA without Web
Components, only with the weight of the Brisa RPC to make the
You can create a lightweight SPA <b>without Web Components</b>,
where the only payload will be that of the Brisa RPC to make the
connection with the server.
</p>
<a
Expand All @@ -186,9 +184,9 @@ export default function Homepage() {
<div class="info sticky">
<h2>🌐 Full i18n support</h2>
<p>
Brisa has a built-in internationalization (i18n) support that
allows you to <b>translate</b> your pages and <b>routing</b>,
carrying only the translations you consume.
Brisa has built-in internationalization support that allows you to{' '}
<b>translate</b> your pages and <b>routes</b>, while loading
only the used translations.
</p>
<a
class="cta"
Expand All @@ -210,9 +208,9 @@ export default function Homepage() {
<div class="info">
<h2>📱 Multi-platform</h2>
<p>
Brisa allows you to build web applications that can be easily
converted to native applications for <b>Android</b>, <b>iOS</b>,
and <b>desktop</b>. It's full integrated with Tauri.
Brisa is fully integrated with Tauri. This means that with a small config change,
you can build web applications that can be easily converted to native applications
for <b>Android</b>, <b>iOS</b>, and <b>desktop</b>.
</p>
<img
width="500"
Expand All @@ -232,34 +230,33 @@ export default function Homepage() {
<section class="brisa-section goal">
<div class="code-example">
<div class="info">
<h2>🤔 Web Platform Framework?</h2>
<h2>🤔 What does Web Platform Framework mean?</h2>
<p>
Brisa's mission is to unify the both worlds (server and client)
using the Web Platform. One key feature is the ease with which{' '}
<b>Web Components</b> can be used, utilizing{' '}
Brisa's mission is to unify server and client using the Web
gariasf marked this conversation as resolved.
Show resolved Hide resolved
Platform. <b>Web Components</b> can easily be used, using{' '}
<b>Declarative Shadow DOM</b> and <b>signals</b> to enhance your
workflow in conjunction with <b>Server Actions</b>.
</p>

<p>
We bring ideas from the Web to the server. You can{' '}
We bring concepts from the web to the server. You can{' '}
<b>capture browser events on the server</b>, such as forms, click
events, Web Components events, etc. And you can propagate them
through your server components.
events, Web Components events and others. They are progapated
through to your server components.
</p>

<p>
It also <b>streams Hypermedia</b> over the wire during navigation
and Server Actions, utilizing HTTP in the way it was originally
intended. This is closely connected with Web Components because
they are part of the DOM, their attributes are updated, and
signals react to these changes.
Brisa also <b>streams Hypermedia</b> over the wire during
navigation and Server Actions, utilizing HTTP in the way it was
originally intended. This is closely connected with Web
Components, because they are part of the DOM, their attributes are
updated, and signals react to these changes.
</p>

<p>
That said, it should be clarified that although we support Web
Components, you can create a MPA like a{' '}
<b>SPA without using any Web Component</b>, the grace is that you
With that said, it should be clarified that although we support
Web Components, you can create a MPA like a{' '}
<b>SPA without using any Web Component</b>, the trick is that you
only add a Web Component when you need to touch the Web Platform
or when a user interaction doesn't require the server.
</p>
Expand All @@ -274,7 +271,7 @@ export default function Homepage() {
fully leverage the web's native capabilities. We aim to empower
developers, regardless of their stack or environment, to use Brisa
to create advanced interactive experiences with less friction,
driving the adoption of the <b>web platform</b> as the foundation
driving the adoption of the <b>Web Platform</b> as the foundation
for <b>future</b> development.
</p>
</div>
Expand Down Expand Up @@ -307,9 +304,9 @@ export default function Homepage() {
<div class="info">
<h2>🎁 Gift to contributors</h2>
<p>
Brisa is an open-source project, and we welcome contributions from
the community. We have a <b>T-shirt gift</b> for the first
contributors who help us improve the framework.
Brisa is an open-source project, and is backed by contributions
from the community. We will send a <b>T-shirt gift</b> to the
first contributors who help us improve the framework.
</p>
<a
class="cta"
Expand Down Expand Up @@ -364,7 +361,7 @@ export default function Homepage() {
</p>
</div>
</div>
<i style={{ fontSize: '0.8rem' }}>Enjoy using it</i>
<i style={{ fontSize: '0.8rem' }}>Enjoy Brisa</i>
</section>
</main>
);
Expand Down
Loading