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

re-arranged editor buttons #149

Merged
merged 2 commits into from
Feb 20, 2023
Merged
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
2 changes: 1 addition & 1 deletion src/components/navigation/desktop/DesktopNavigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export function DesktopNavigation(props) {
<div className="navigation-section">
<NavigationButton route="/">Home</NavigationButton>
<NavigationButton route="/edit">Editor</NavigationButton>
<NavigationButton href="https://thewiki.near.page/near.social_docs">
<NavigationButton href="https://docs.bos.gg">
Documentation
<ArrowUpRight />
</NavigationButton>
Expand Down
5 changes: 4 additions & 1 deletion src/components/navigation/desktop/EditorSignIn.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ export default function EditorSignIn(props) {
return props.signedIn ? (
<UserDropdown {...props} />
) : (
<SignInButton onSignIn={() => props.requestSignIn()} />
<div>
<SignInButton onSignIn={() => props.requestSignIn()} />
<p>Sign in with a NEAR account to save (BOS uses the NEAR blockchain underneath)</p>
</div>
);
}
2 changes: 1 addition & 1 deletion src/components/navigation/mobile/Menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export function Menu(props) {
</NavigationButton>
</li>
<li>
<NavigationButton href="https://thewiki.near.page/near.social_docs">
<NavigationButton href="https://docs.bos.gg">
<Book />
Documentation
</NavigationButton>
Expand Down
8 changes: 4 additions & 4 deletions src/pages/EditorPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ export default function EditorPage(props) {
},
}}
>
Save Widget
Save
</CommitButton>
);

Expand Down Expand Up @@ -571,7 +571,7 @@ export default function EditorPage(props) {
}
}}
>
Render preview
Preview
</button>
{!path?.unnamed && commitButton}
<button
Expand All @@ -582,7 +582,7 @@ export default function EditorPage(props) {
setShowRenameModal(true);
}}
>
Rename {path?.type}
Rename
</button>
{path && accountId && (
<a
Expand Down Expand Up @@ -655,7 +655,7 @@ export default function EditorPage(props) {
props={parsedWidgetProps}
/>
) : (
'Click "Render preview" button to render the widget'
'Click the "Preview" button to render the widget'
)}
</div>
<div
Expand Down