Skip to content

Commit

Permalink
Update docs and logo
Browse files Browse the repository at this point in the history
  • Loading branch information
jho406 committed Jan 14, 2025
1 parent 990b6cc commit bc7e6ce
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 4 deletions.
33 changes: 33 additions & 0 deletions docs/images/s-color.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Overview

Superglue is a library that thoughtfully pairs Rails and React. Its built with
a laser focus on The Rails Way and aims to provide a simple developer
experience that is on par with Hotwire, Stimulus, and Turbo. Confidently use
Superglue is a library that thoughtfully pairs Rails and React. Its
built with a laser focus on The Rails Way and aims to provide a simple
developer experience on par with Hotwire, Stimulus, and Turbo. Confidently use
Rails routes, controllers, views as you normally would in a multi-page
application and integrate with React's vast ecosystem.

Expand Down
2 changes: 1 addition & 1 deletion docs/recipes/vite.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Make sure you're using `vite_javascript_tag` in your layout,

And finally, one of the more manual process of using superglue is the [manual build]
of your `page_to_page_mapping.js` file. We can improve the developer experience by
removing that step by by using this snippet:
removing that step by using this snippet:

[manual build]: ../configuration

Expand Down
12 changes: 12 additions & 0 deletions docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[dir=ltr] .md-header__title {
margin-left: 0.5rem;
}

.md-header__button.md-logo {
padding: 0px;
margin-top: 0.2rem;
}

.md-header__button.md-logo img{
height: 2.3rem;
}
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ copyright: Copyright © 2024 thoughtbot

theme:
name: material
logo: images/s-color.svg
features:
- header.autohide
- navigation.footer
Expand Down

0 comments on commit bc7e6ce

Please sign in to comment.