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

Patch 1 #94

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ _public
_site
node_modules
tmp
package-lock.json
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.7.0
16
1 change: 0 additions & 1 deletion .ruby-version

This file was deleted.

20 changes: 20 additions & 0 deletions MIT-LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Copyright (c) 2022 Basecamp

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ This repository backs the website living at https://turbo.hotwired.dev.

To work on it locally:

1. `npm install`
1. `npm run serve`
1. `yarn install`
1. `yarn serve`

## Copyright

Expand Down
2 changes: 1 addition & 1 deletion _source/handbook/02_drive.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ By default, link clicks send a `GET` request to your server. But you can change

The link will get converted into a hidden form next to the `a` element in the DOM. This means that the link can't appear inside another form, as you can't have nested forms.

You should also consider that for accessibility reasons, it's better if use actual forms and buttons for anything that's not a GET.
You should also consider that for accessibility reasons, it's better to use actual forms and buttons for anything that's not a GET.


## Disabling Turbo Drive on Specific Links or Forms
Expand Down
2 changes: 1 addition & 1 deletion _source/handbook/03_frames.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ transforms navigations into ["advance" Actions][advance]:
Clicking the `<a rel="next">` element will set _both_ the `<turbo-frame>`
element's `[src]` attribute _and_ the browser's path to `/articles?page=2`.

**Note:** when render the page after refreshing the browser, it is _the
**Note:** when rendering the page after refreshing the browser, it is _the
application's_ responsibility to render the _second_ page of articles along with
any other state derived from the URL path and search parameters.

Expand Down
10 changes: 5 additions & 5 deletions _source/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ <h1 class="landing-intro__text grid__item grid__item--start-2 grid__item--span-1
</p>

<ul>
<li><em>Turbo Drive</em> accelerates links and form submissions by negating the need for full page reloads.</li>
<li><em>Turbo Frames</em> decompose pages into independent contexts, which scope navigation and can be lazily loaded.</li>
<li><em>Turbo Streams</em> deliver page changes over WebSocket, SSE or in response to form submissions using just HTML and a set of CRUD-like actions.</li>
<li><em>Turbo Native</em> lets your <a href="https://m.signalvnoise.com/the-majestic-monolith/">majestic monolith</a> form the center of your native iOS and Android apps, with seamless transitions between web and native sections.</li>
<li><em><a href="/handbook/drive">Turbo Drive</a></em> accelerates links and form submissions by negating the need for full page reloads.</li>
<li><em><a href="/handbook/frames">Turbo Frames</a></em> decompose pages into independent contexts, which scope navigation and can be lazily loaded.</li>
<li><em><a href="/handbook/streams">Turbo Streams</a></em> deliver page changes over WebSocket, SSE or in response to form submissions using just HTML and a set of CRUD-like actions.</li>
<li><em><a href="/handbook/native">Turbo Native</a></em> lets your <a href="https://m.signalvnoise.com/the-majestic-monolith/">majestic monolith</a> form the center of your native iOS and Android apps, with seamless transitions between web and native sections.</li>
</ul>

<p>
Expand All @@ -45,7 +45,7 @@ <h1 class="landing-intro__text grid__item grid__item--start-2 grid__item--span-1
Handbook
</a>

<a class="landing-actions__item" href="handbook/installing">
<a class="landing-actions__item" href="/handbook/installing">
<div class="landing-actions__icon landing-actions__icon--install" aria-hidden="true"></div>
Installation
</a>
Expand Down
Loading