Skip to content

Commit

Permalink
more changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ed McConnell committed Dec 21, 2024
1 parent b07702d commit 4e2d561
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion app/commit.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "commit": "fd7e72a30b2d360fbd163e0075b2b278db8c571e" }
{ "commit": "b07702d0bc09434df42448248354821658ad14e7" }
2 changes: 1 addition & 1 deletion app/components/git/GitCloneModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export function GitCloneModal({ open, onClose, onClone }: GitCloneModalProps) {

<div>
<div className="text-[13px] font-medium text-[#8B8B8B] mb-2">
{isAuthenticated ? `${username}'s GitHub Repositories` : 'Private Repository'}
{isAuthenticated ? `${username}'s GitHub Repositories` : 'Your GitHub Repositories'}
</div>
{isAuthenticated ? (
<select
Expand Down
2 changes: 1 addition & 1 deletion app/components/sidebar/Menu.client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export const Menu = () => {
<div className="p-4 select-none">
<a
href="/"
className="flex gap-2 items-center bg-bolt-elements-sidebar-buttonBackgroundDefault text-bolt-elements-sidebar-buttonText hover:bg-bolt-elements-sidebar-buttonBackgroundHover rounded-md p-2 transition-theme mb-2"
className="flex gap-2 items-center bg-bolt-elements-sidebar-buttonBackgroundDefault text-bolt-elements-sidebar-buttonText hover:bg-bolt-elements-sidebar-buttonBackgroundHover rounded-md p-2 transition-theme mb-4"
>
<span className="inline-block i-bolt:chat scale-110" />
Start new chat
Expand Down
10 changes: 4 additions & 6 deletions app/lib/github/GitHubAuth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ export function GitHubAuth({ onAuthComplete, onError, onAuthStart, children }: G

if (userCode && verificationUrl) {
return (
<div className="flex flex-col items-center gap-4">
<p className="text-bolt-elements-textSecondary">
<div className="flex flex-col items-center gap-4 bg-white rounded-lg p-4">
<p className="text-black">
Enter this code at{' '}
<a
href={verificationUrl}
Expand All @@ -179,9 +179,7 @@ export function GitHubAuth({ onAuthComplete, onError, onAuthStart, children }: G
</a>
</p>
<div className="flex items-center gap-2">
<code className="bg-bolt-elements-background-depth-1 px-4 py-2 rounded-lg text-lg font-mono text-bolt-elements-textPrimary">
{userCode}
</code>
<code className="bg-white px-4 py-2 rounded-lg text-lg font-mono text-black">{userCode}</code>
<button
onClick={handleCopyCode}
className="text-blue-500 hover:text-blue-600 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 rounded-lg p-2"
Expand All @@ -190,7 +188,7 @@ export function GitHubAuth({ onAuthComplete, onError, onAuthStart, children }: G
</button>
</div>
{isPolling && (
<p className="text-sm text-bolt-elements-textSecondary">
<p className="text-sm text-black">
Waiting for authorization... You can close the GitHub window once authorized.
</p>
)}
Expand Down

0 comments on commit 4e2d561

Please sign in to comment.