mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-05 08:10:14 +00:00
added profile pic
This commit is contained in:
parent
36aaa18291
commit
b5f9c30eb0
2 changed files with 13 additions and 1 deletions
|
|
@ -344,7 +344,7 @@ export class ClineProvider implements vscode.WebviewViewProvider {
|
|||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
|
||||
<meta name="theme-color" content="#000000">
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; font-src ${webview.cspSource}; style-src ${webview.cspSource} 'unsafe-inline'; img-src ${webview.cspSource} data:; script-src 'nonce-${nonce}';">
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; font-src ${webview.cspSource}; style-src ${webview.cspSource} 'unsafe-inline'; img-src ${webview.cspSource} https: data:; script-src 'nonce-${nonce}';">
|
||||
<link rel="stylesheet" type="text/css" href="${stylesUri}">
|
||||
<link href="${codiconsUri}" rel="stylesheet" />
|
||||
<title>Cline</title>
|
||||
|
|
|
|||
|
|
@ -53,6 +53,18 @@ const AccountView = ({ onDone }: AccountViewProps) => {
|
|||
<div style={{ marginBottom: 5 }}>
|
||||
{isLoggedIn ? (
|
||||
<>
|
||||
{userInfo?.photoURL && (
|
||||
<img
|
||||
src={userInfo.photoURL}
|
||||
alt="Profile"
|
||||
style={{
|
||||
width: 48,
|
||||
height: 48,
|
||||
borderRadius: "50%",
|
||||
marginBottom: 10
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
<div style={{ fontSize: "14px", marginBottom: 10 }}>
|
||||
{userInfo?.displayName && <div>Name: {userInfo.displayName}</div>}
|
||||
{userInfo?.email && <div>Email: {userInfo.email}</div>}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue