Spaces:
Sleeping
Sleeping
Revert social login buttons and update agent emojis to premium FontAwesome icons
Browse files- frontend/css/styles.css +0 -61
- frontend/js/pages/agent-detail.js +26 -26
- frontend/js/pages/login.js +5 -6
- frontend/js/pages/signup.js +5 -6
frontend/css/styles.css
CHANGED
|
@@ -4764,67 +4764,6 @@ tr:hover td {
|
|
| 4764 |
}
|
| 4765 |
}
|
| 4766 |
|
| 4767 |
-
/* ============================================================================
|
| 4768 |
-
Premium Social Buttons
|
| 4769 |
-
============================================================================ */
|
| 4770 |
-
.auth-social-column {
|
| 4771 |
-
display: flex;
|
| 4772 |
-
flex-direction: column;
|
| 4773 |
-
gap: 0.75rem;
|
| 4774 |
-
margin-bottom: 1.5rem;
|
| 4775 |
-
}
|
| 4776 |
-
|
| 4777 |
-
.auth-social-column .social-btn {
|
| 4778 |
-
display: flex;
|
| 4779 |
-
align-items: center;
|
| 4780 |
-
justify-content: center;
|
| 4781 |
-
width: 100%;
|
| 4782 |
-
height: 48px;
|
| 4783 |
-
border-radius: 12px;
|
| 4784 |
-
border: 1px solid var(--gray-200);
|
| 4785 |
-
background: var(--card-bg);
|
| 4786 |
-
cursor: pointer;
|
| 4787 |
-
font-size: 0.9375rem;
|
| 4788 |
-
font-weight: 600;
|
| 4789 |
-
color: var(--gray-700);
|
| 4790 |
-
gap: 0.75rem;
|
| 4791 |
-
transition: all var(--transition-fast);
|
| 4792 |
-
}
|
| 4793 |
-
|
| 4794 |
-
.auth-social-column .premium-google-btn:hover {
|
| 4795 |
-
border-color: #4285F4;
|
| 4796 |
-
background: rgba(66, 133, 244, 0.04);
|
| 4797 |
-
}
|
| 4798 |
-
|
| 4799 |
-
.auth-social-column .premium-github-btn {
|
| 4800 |
-
background: #24292e;
|
| 4801 |
-
border-color: #24292e;
|
| 4802 |
-
color: white;
|
| 4803 |
-
}
|
| 4804 |
-
|
| 4805 |
-
.auth-social-column .premium-github-btn:hover {
|
| 4806 |
-
background: #2f363d;
|
| 4807 |
-
border-color: #2f363d;
|
| 4808 |
-
}
|
| 4809 |
-
|
| 4810 |
-
.auth-social-column .social-btn svg {
|
| 4811 |
-
width: 20px;
|
| 4812 |
-
height: 20px;
|
| 4813 |
-
flex-shrink: 0;
|
| 4814 |
-
}
|
| 4815 |
-
|
| 4816 |
-
[data-theme="dark"] .auth-social-column .social-btn {
|
| 4817 |
-
border-color: rgba(255, 255, 255, 0.08);
|
| 4818 |
-
}
|
| 4819 |
-
|
| 4820 |
-
[data-theme="dark"] .auth-social-column .premium-google-btn {
|
| 4821 |
-
color: var(--gray-200);
|
| 4822 |
-
}
|
| 4823 |
-
|
| 4824 |
-
[data-theme="dark"] .auth-social-column .premium-google-btn:hover {
|
| 4825 |
-
background: rgba(66, 133, 244, 0.08);
|
| 4826 |
-
}
|
| 4827 |
-
|
| 4828 |
/* ============================================================================
|
| 4829 |
Mobile Navigation and Responsiveness
|
| 4830 |
============================================================================ */
|
|
|
|
| 4764 |
}
|
| 4765 |
}
|
| 4766 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4767 |
/* ============================================================================
|
| 4768 |
Mobile Navigation and Responsiveness
|
| 4769 |
============================================================================ */
|
frontend/js/pages/agent-detail.js
CHANGED
|
@@ -50,27 +50,27 @@ const AgentDetailPage = {
|
|
| 50 |
<p class="page-subtitle">${this.agent.role}</p>
|
| 51 |
</div>
|
| 52 |
<span class="badge ${this.agent.status}" style="margin-left: 1rem;">${this.agent.status}</span>
|
| 53 |
-
${this.agent.agent_type === 'anchoring' ? '<span class="badge" style="margin-left:0.5rem;background:linear-gradient(135deg,#f59e0b,#f97316);color:#fff;">
|
| 54 |
-
${this.agent.is_default ? '<span class="badge" style="margin-left:0.5rem;background:rgba(99,102,241,0.15);color:#6366f1;">
|
| 55 |
</div>
|
| 56 |
<div class="flex gap-2">
|
| 57 |
${this.agent.agent_type === 'anchoring' ? `
|
| 58 |
<button class="btn btn-primary" onclick="AgentDetailPage.openRemoteControl()">
|
| 59 |
-
|
| 60 |
</button>
|
| 61 |
<button class="btn btn-secondary" onclick="AgentDetailPage.startAnchoring()">
|
| 62 |
-
|
| 63 |
</button>
|
| 64 |
` : `
|
| 65 |
<button class="btn btn-primary" onclick="AgentDetailPage.startVideoCall()">
|
| 66 |
-
|
| 67 |
</button>
|
| 68 |
<button class="btn btn-secondary" onclick="AgentDetailPage.startTextChat()">
|
| 69 |
-
|
| 70 |
</button>
|
| 71 |
`}
|
| 72 |
<a href="#/agents/${this.agent.id}/edit" class="btn btn-outline">
|
| 73 |
-
|
| 74 |
</a>
|
| 75 |
</div>
|
| 76 |
</div>
|
|
@@ -79,8 +79,8 @@ const AgentDetailPage = {
|
|
| 79 |
<button class="tab ${this.activeTab === 'settings' ? 'active' : ''}" data-tab="settings">Settings</button>
|
| 80 |
<button class="tab ${this.activeTab === 'share-links' ? 'active' : ''}" data-tab="share-links">Share Links</button>
|
| 81 |
<button class="tab ${this.activeTab === 'conversations' ? 'active' : ''}" data-tab="conversations">Conversations</button>
|
| 82 |
-
<button class="tab ${this.activeTab === 'analytics' ? 'active' : ''}" data-tab="analytics">
|
| 83 |
-
<button class="tab ${this.activeTab === 'report-chat' ? 'active' : ''}" data-tab="report-chat">
|
| 84 |
</div>
|
| 85 |
|
| 86 |
<div id="tab-content">
|
|
@@ -126,9 +126,9 @@ const AgentDetailPage = {
|
|
| 126 |
</div>
|
| 127 |
</div>
|
| 128 |
<div style="display:flex; gap:0.5rem;">
|
| 129 |
-
<button onclick="AgentDetailPage.rcClearHistory()" title="Clear chat history" style="padding:0.4rem 0.9rem; background:transparent; color:#9ca3af; border:1px solid #e5e7eb; border-radius:8px; font-size:0.8rem; font-weight:500; cursor:pointer;">
|
| 130 |
-
<button onclick="AgentDetailPage.rcDownloadPDF()" style="padding:0.4rem 0.9rem; background:#6366f1; color:white; border:none; border-radius:8px; font-size:0.8rem; font-weight:600; cursor:pointer;">
|
| 131 |
-
<button onclick="AgentDetailPage.rcDownloadDOCX()" style="padding:0.4rem 0.9rem; background:#16a34a; color:white; border:none; border-radius:8px; font-size:0.8rem; font-weight:600; cursor:pointer;">
|
| 132 |
</div>
|
| 133 |
</div>
|
| 134 |
|
|
@@ -160,7 +160,7 @@ const AgentDetailPage = {
|
|
| 160 |
renderAnalyticsTab() {
|
| 161 |
return `
|
| 162 |
<div class="card">
|
| 163 |
-
<h4 style="margin-bottom: 1.5rem; color: var(--gray-900);">
|
| 164 |
|
| 165 |
<!-- Summary Stats -->
|
| 166 |
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:1rem;margin-bottom:2rem;" id="analytics-stats">
|
|
@@ -198,17 +198,17 @@ const AgentDetailPage = {
|
|
| 198 |
${isAnchoring ? `
|
| 199 |
<div style="margin-bottom:1.5rem;padding:16px;background:linear-gradient(135deg,rgba(245,158,11,0.1),rgba(249,115,22,0.05));border:1px solid rgba(245,158,11,0.2);border-radius:12px;">
|
| 200 |
<div style="display:flex;align-items:center;gap:10px;margin-bottom:8px;">
|
| 201 |
-
<span style="font-size:24px;">
|
| 202 |
<strong style="color:var(--gray-900);">Event Anchoring Agent</strong>
|
| 203 |
</div>
|
| 204 |
<p style="color:var(--gray-600);font-size:0.875rem;margin:0;">This is a script-based anchoring agent. It reads your script line by line with no conversation. Use the Remote Control to manage the performance.</p>
|
| 205 |
</div>
|
| 206 |
|
| 207 |
-
<h4 style="margin-bottom:1rem;color:var(--gray-900);">
|
| 208 |
<textarea id="anc-detail-script" class="form-input" style="min-height:200px;font-family:monospace;line-height:1.8;resize:vertical;" placeholder="Enter your anchoring script... Each line will be spoken separately.">${this.agent.script_content || ''}</textarea>
|
| 209 |
<div style="margin-top:1rem;display:flex;gap:0.5rem;">
|
| 210 |
-
<button class="btn btn-primary" onclick="AgentDetailPage.saveScript()">
|
| 211 |
-
<button class="btn btn-secondary" onclick="AgentDetailPage.openRemoteControl()">
|
| 212 |
</div>
|
| 213 |
<hr style="margin:1.5rem 0;border:none;border-top:1px solid var(--gray-100);">
|
| 214 |
` : ''}
|
|
@@ -236,7 +236,7 @@ const AgentDetailPage = {
|
|
| 236 |
<div style="font-size: 0.875rem; color: var(--gray-500);">Rules</div>
|
| 237 |
${rules.length > 0 ? `
|
| 238 |
<ul style="margin: 0; padding-left: 1.25rem;">
|
| 239 |
-
|
| 240 |
</ul>
|
| 241 |
` : '<div>No rules defined</div>'}
|
| 242 |
</div>
|
|
@@ -257,12 +257,12 @@ const AgentDetailPage = {
|
|
| 257 |
${!this.agent.is_default ? `
|
| 258 |
<div style="margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--gray-100); display: flex; justify-content: flex-end;">
|
| 259 |
<button class="btn btn-danger" onclick="AgentDetailPage.deleteAgent()">
|
| 260 |
-
|
| 261 |
</button>
|
| 262 |
</div>
|
| 263 |
` : `
|
| 264 |
<div style="margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--gray-100); text-align: right;">
|
| 265 |
-
<span style="color:var(--gray-400);font-size:0.875rem;">
|
| 266 |
</div>
|
| 267 |
`}
|
| 268 |
</div>
|
|
@@ -459,7 +459,7 @@ const AgentDetailPage = {
|
|
| 459 |
if (share_links.length === 0) {
|
| 460 |
container.innerHTML = `
|
| 461 |
<div class="empty-state" style="padding: 2rem;">
|
| 462 |
-
<div class="empty-icon">
|
| 463 |
<div class="empty-message">No share links yet</div>
|
| 464 |
</div>
|
| 465 |
`;
|
|
@@ -470,10 +470,10 @@ const AgentDetailPage = {
|
|
| 470 |
<div class="flex items-center justify-between" style="padding: 1rem; border-bottom: 1px solid var(--gray-100);">
|
| 471 |
<div>
|
| 472 |
<div style="font-weight:600; color:var(--gray-900); margin-bottom:0.25rem;">
|
| 473 |
-
${link.name ? `
|
| 474 |
</div>
|
| 475 |
<div class="flex items-center gap-2 mb-1">
|
| 476 |
-
${link.has_password ? '<span class="badge protected">
|
| 477 |
${link.is_expired ? '<span class="badge expired">Expired</span>' : ''}
|
| 478 |
${link.is_maxed ? '<span class="badge expired">Max uses reached</span>' : ''}
|
| 479 |
</div>
|
|
@@ -485,10 +485,10 @@ const AgentDetailPage = {
|
|
| 485 |
</div>
|
| 486 |
<div class="flex gap-2">
|
| 487 |
<button class="btn btn-sm btn-secondary" onclick="AgentDetailPage.copyLink('${link.token}')">
|
| 488 |
-
|
| 489 |
</button>
|
| 490 |
<button class="btn btn-sm btn-outline" onclick="AgentDetailPage.deleteLink(${link.id})">
|
| 491 |
-
|
| 492 |
</button>
|
| 493 |
</div>
|
| 494 |
</div>
|
|
@@ -508,7 +508,7 @@ const AgentDetailPage = {
|
|
| 508 |
if (filtered.length === 0) {
|
| 509 |
container.innerHTML = `
|
| 510 |
<div class="empty-state" style="padding: 2rem;">
|
| 511 |
-
<div class="empty-icon">
|
| 512 |
<div class="empty-message">No conversations yet</div>
|
| 513 |
</div>
|
| 514 |
`;
|
|
|
|
| 50 |
<p class="page-subtitle">${this.agent.role}</p>
|
| 51 |
</div>
|
| 52 |
<span class="badge ${this.agent.status}" style="margin-left: 1rem;">${this.agent.status}</span>
|
| 53 |
+
${this.agent.agent_type === 'anchoring' ? '<span class="badge" style="margin-left:0.5rem;background:linear-gradient(135deg,#f59e0b,#f97316);color:#fff;"><i class="fas fa-microphone"></i> Anchoring Mode</span>' : ''}
|
| 54 |
+
${this.agent.is_default ? '<span class="badge" style="margin-left:0.5rem;background:rgba(99,102,241,0.15);color:#6366f1;"><i class="fas fa-lock"></i> System Agent</span>' : ''}
|
| 55 |
</div>
|
| 56 |
<div class="flex gap-2">
|
| 57 |
${this.agent.agent_type === 'anchoring' ? `
|
| 58 |
<button class="btn btn-primary" onclick="AgentDetailPage.openRemoteControl()">
|
| 59 |
+
<i class="fas fa-th-large"></i> Remote Control
|
| 60 |
</button>
|
| 61 |
<button class="btn btn-secondary" onclick="AgentDetailPage.startAnchoring()">
|
| 62 |
+
<i class="fas fa-play"></i> Start Performance
|
| 63 |
</button>
|
| 64 |
` : `
|
| 65 |
<button class="btn btn-primary" onclick="AgentDetailPage.startVideoCall()">
|
| 66 |
+
<i class="fas fa-video"></i> Video Call
|
| 67 |
</button>
|
| 68 |
<button class="btn btn-secondary" onclick="AgentDetailPage.startTextChat()">
|
| 69 |
+
<i class="fas fa-comment"></i> Text Chat
|
| 70 |
</button>
|
| 71 |
`}
|
| 72 |
<a href="#/agents/${this.agent.id}/edit" class="btn btn-outline">
|
| 73 |
+
<i class="fas fa-edit"></i> Edit
|
| 74 |
</a>
|
| 75 |
</div>
|
| 76 |
</div>
|
|
|
|
| 79 |
<button class="tab ${this.activeTab === 'settings' ? 'active' : ''}" data-tab="settings">Settings</button>
|
| 80 |
<button class="tab ${this.activeTab === 'share-links' ? 'active' : ''}" data-tab="share-links">Share Links</button>
|
| 81 |
<button class="tab ${this.activeTab === 'conversations' ? 'active' : ''}" data-tab="conversations">Conversations</button>
|
| 82 |
+
<button class="tab ${this.activeTab === 'analytics' ? 'active' : ''}" data-tab="analytics"><i class="fas fa-chart-bar"></i> Analytics</button>
|
| 83 |
+
<button class="tab ${this.activeTab === 'report-chat' ? 'active' : ''}" data-tab="report-chat"><i class="fas fa-robot"></i> Report Chat</button>
|
| 84 |
</div>
|
| 85 |
|
| 86 |
<div id="tab-content">
|
|
|
|
| 126 |
</div>
|
| 127 |
</div>
|
| 128 |
<div style="display:flex; gap:0.5rem;">
|
| 129 |
+
<button onclick="AgentDetailPage.rcClearHistory()" title="Clear chat history" style="padding:0.4rem 0.9rem; background:transparent; color:#9ca3af; border:1px solid #e5e7eb; border-radius:8px; font-size:0.8rem; font-weight:500; cursor:pointer;"><i class="fas fa-trash-alt"></i> Clear</button>
|
| 130 |
+
<button onclick="AgentDetailPage.rcDownloadPDF()" style="padding:0.4rem 0.9rem; background:#6366f1; color:white; border:none; border-radius:8px; font-size:0.8rem; font-weight:600; cursor:pointer;"><i class="fas fa-file-pdf"></i> PDF</button>
|
| 131 |
+
<button onclick="AgentDetailPage.rcDownloadDOCX()" style="padding:0.4rem 0.9rem; background:#16a34a; color:white; border:none; border-radius:8px; font-size:0.8rem; font-weight:600; cursor:pointer;"><i class="fas fa-file-word"></i> DOCX</button>
|
| 132 |
</div>
|
| 133 |
</div>
|
| 134 |
|
|
|
|
| 160 |
renderAnalyticsTab() {
|
| 161 |
return `
|
| 162 |
<div class="card">
|
| 163 |
+
<h4 style="margin-bottom: 1.5rem; color: var(--gray-900);"><i class="fas fa-chart-bar"></i> Agent Analytics</h4>
|
| 164 |
|
| 165 |
<!-- Summary Stats -->
|
| 166 |
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:1rem;margin-bottom:2rem;" id="analytics-stats">
|
|
|
|
| 198 |
${isAnchoring ? `
|
| 199 |
<div style="margin-bottom:1.5rem;padding:16px;background:linear-gradient(135deg,rgba(245,158,11,0.1),rgba(249,115,22,0.05));border:1px solid rgba(245,158,11,0.2);border-radius:12px;">
|
| 200 |
<div style="display:flex;align-items:center;gap:10px;margin-bottom:8px;">
|
| 201 |
+
<span style="font-size:24px;color:#f59e0b;"><i class="fas fa-microphone"></i></span>
|
| 202 |
<strong style="color:var(--gray-900);">Event Anchoring Agent</strong>
|
| 203 |
</div>
|
| 204 |
<p style="color:var(--gray-600);font-size:0.875rem;margin:0;">This is a script-based anchoring agent. It reads your script line by line with no conversation. Use the Remote Control to manage the performance.</p>
|
| 205 |
</div>
|
| 206 |
|
| 207 |
+
<h4 style="margin-bottom:1rem;color:var(--gray-900);"><i class="fas fa-file-alt"></i> Anchoring Script</h4>
|
| 208 |
<textarea id="anc-detail-script" class="form-input" style="min-height:200px;font-family:monospace;line-height:1.8;resize:vertical;" placeholder="Enter your anchoring script... Each line will be spoken separately.">${this.agent.script_content || ''}</textarea>
|
| 209 |
<div style="margin-top:1rem;display:flex;gap:0.5rem;">
|
| 210 |
+
<button class="btn btn-primary" onclick="AgentDetailPage.saveScript()"><i class="fas fa-save"></i> Save Script</button>
|
| 211 |
+
<button class="btn btn-secondary" onclick="AgentDetailPage.openRemoteControl()"><i class="fas fa-th-large"></i> Open Remote Control</button>
|
| 212 |
</div>
|
| 213 |
<hr style="margin:1.5rem 0;border:none;border-top:1px solid var(--gray-100);">
|
| 214 |
` : ''}
|
|
|
|
| 236 |
<div style="font-size: 0.875rem; color: var(--gray-500);">Rules</div>
|
| 237 |
${rules.length > 0 ? `
|
| 238 |
<ul style="margin: 0; padding-left: 1.25rem;">
|
| 239 |
+
${rules.map(r => `<li>${r}</li>`).join('')}
|
| 240 |
</ul>
|
| 241 |
` : '<div>No rules defined</div>'}
|
| 242 |
</div>
|
|
|
|
| 257 |
${!this.agent.is_default ? `
|
| 258 |
<div style="margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--gray-100); display: flex; justify-content: flex-end;">
|
| 259 |
<button class="btn btn-danger" onclick="AgentDetailPage.deleteAgent()">
|
| 260 |
+
<i class="fas fa-trash-alt"></i> Delete Agent
|
| 261 |
</button>
|
| 262 |
</div>
|
| 263 |
` : `
|
| 264 |
<div style="margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--gray-100); text-align: right;">
|
| 265 |
+
<span style="color:var(--gray-400);font-size:0.875rem;"><i class="fas fa-lock"></i> System agent cannot be deleted</span>
|
| 266 |
</div>
|
| 267 |
`}
|
| 268 |
</div>
|
|
|
|
| 459 |
if (share_links.length === 0) {
|
| 460 |
container.innerHTML = `
|
| 461 |
<div class="empty-state" style="padding: 2rem;">
|
| 462 |
+
<div class="empty-icon" style="font-size: 2rem; color: var(--gray-400); margin-bottom: 0.5rem;"><i class="fas fa-link"></i></div>
|
| 463 |
<div class="empty-message">No share links yet</div>
|
| 464 |
</div>
|
| 465 |
`;
|
|
|
|
| 470 |
<div class="flex items-center justify-between" style="padding: 1rem; border-bottom: 1px solid var(--gray-100);">
|
| 471 |
<div>
|
| 472 |
<div style="font-weight:600; color:var(--gray-900); margin-bottom:0.25rem;">
|
| 473 |
+
${link.name ? `<i class="fas fa-link" style="font-size: 0.875rem; color: var(--gray-400);"></i> ${link.name}` : '<i class="fas fa-link" style="font-size: 0.875rem; color: var(--gray-400);"></i> Unnamed Link'}
|
| 474 |
</div>
|
| 475 |
<div class="flex items-center gap-2 mb-1">
|
| 476 |
+
${link.has_password ? '<span class="badge protected"><i class="fas fa-lock" style="font-size: 0.75rem;"></i> Protected</span>' : ''}
|
| 477 |
${link.is_expired ? '<span class="badge expired">Expired</span>' : ''}
|
| 478 |
${link.is_maxed ? '<span class="badge expired">Max uses reached</span>' : ''}
|
| 479 |
</div>
|
|
|
|
| 485 |
</div>
|
| 486 |
<div class="flex gap-2">
|
| 487 |
<button class="btn btn-sm btn-secondary" onclick="AgentDetailPage.copyLink('${link.token}')">
|
| 488 |
+
<i class="fas fa-copy"></i> Copy Link
|
| 489 |
</button>
|
| 490 |
<button class="btn btn-sm btn-outline" onclick="AgentDetailPage.deleteLink(${link.id})">
|
| 491 |
+
<i class="fas fa-trash-alt"></i>
|
| 492 |
</button>
|
| 493 |
</div>
|
| 494 |
</div>
|
|
|
|
| 508 |
if (filtered.length === 0) {
|
| 509 |
container.innerHTML = `
|
| 510 |
<div class="empty-state" style="padding: 2rem;">
|
| 511 |
+
<div class="empty-icon" style="font-size: 2rem; color: var(--gray-400); margin-bottom: 0.5rem;"><i class="fas fa-comments"></i></div>
|
| 512 |
<div class="empty-message">No conversations yet</div>
|
| 513 |
</div>
|
| 514 |
`;
|
frontend/js/pages/login.js
CHANGED
|
@@ -17,14 +17,13 @@ const LoginPage = {
|
|
| 17 |
<p class="auth-subtitle">Sign in to your account</p>
|
| 18 |
|
| 19 |
<!-- Social Login Buttons -->
|
| 20 |
-
<div class="auth-social-
|
| 21 |
-
<button class="social-btn
|
| 22 |
<svg viewBox="0 0 24 24"><path d="M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92a5.06 5.06 0 0 1-2.2 3.32v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.1z" fill="#4285F4"/><path d="M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z" fill="#34A853"/><path d="M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z" fill="#FBBC05"/><path d="M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z" fill="#EA4335"/></svg>
|
| 23 |
-
<span>Continue with Google</span>
|
| 24 |
</button>
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
<
|
| 28 |
</button>
|
| 29 |
</div>
|
| 30 |
|
|
|
|
| 17 |
<p class="auth-subtitle">Sign in to your account</p>
|
| 18 |
|
| 19 |
<!-- Social Login Buttons -->
|
| 20 |
+
<div class="auth-social-row">
|
| 21 |
+
<button class="social-btn" title="Sign in with Google" type="button">
|
| 22 |
<svg viewBox="0 0 24 24"><path d="M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92a5.06 5.06 0 0 1-2.2 3.32v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.1z" fill="#4285F4"/><path d="M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z" fill="#34A853"/><path d="M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z" fill="#FBBC05"/><path d="M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z" fill="#EA4335"/></svg>
|
|
|
|
| 23 |
</button>
|
| 24 |
+
|
| 25 |
+
<button class="social-btn" title="Sign in with GitHub" type="button">
|
| 26 |
+
<svg viewBox="0 0 24 24"><path d="M12 2C6.477 2 2 6.477 2 12c0 4.42 2.87 8.17 6.84 9.5.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34-.46-1.16-1.11-1.47-1.11-1.47-.91-.62.07-.6.07-.6 1 .07 1.53 1.03 1.53 1.03.87 1.52 2.34 1.07 2.91.83.09-.65.35-1.09.63-1.34-2.22-.25-4.55-1.11-4.55-4.92 0-1.11.38-2 1.03-2.71-.1-.25-.45-1.29.1-2.64 0 0 .84-.27 2.75 1.02.79-.22 1.65-.33 2.5-.33.85 0 1.71.11 2.5.33 1.91-1.29 2.75-1.02 2.75-1.02.55 1.35.2 2.39.1 2.64.65.71 1.03 1.6 1.03 2.71 0 3.82-2.34 4.66-4.57 4.91.36.31.69.92.69 1.85V21c0 .27.16.59.67.5C19.14 20.16 22 16.42 22 12A10 10 0 0 0 12 2z" fill="#333"/></svg>
|
| 27 |
</button>
|
| 28 |
</div>
|
| 29 |
|
frontend/js/pages/signup.js
CHANGED
|
@@ -17,14 +17,13 @@ const SignupPage = {
|
|
| 17 |
<p class="auth-subtitle">Get started with PersonaFlow</p>
|
| 18 |
|
| 19 |
<!-- Social Signup Buttons -->
|
| 20 |
-
<div class="auth-social-
|
| 21 |
-
<button class="social-btn
|
| 22 |
<svg viewBox="0 0 24 24"><path d="M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92a5.06 5.06 0 0 1-2.2 3.32v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.1z" fill="#4285F4"/><path d="M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z" fill="#34A853"/><path d="M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z" fill="#FBBC05"/><path d="M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z" fill="#EA4335"/></svg>
|
| 23 |
-
<span>Continue with Google</span>
|
| 24 |
</button>
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
<
|
| 28 |
</button>
|
| 29 |
</div>
|
| 30 |
|
|
|
|
| 17 |
<p class="auth-subtitle">Get started with PersonaFlow</p>
|
| 18 |
|
| 19 |
<!-- Social Signup Buttons -->
|
| 20 |
+
<div class="auth-social-row">
|
| 21 |
+
<button class="social-btn" title="Sign up with Google" type="button">
|
| 22 |
<svg viewBox="0 0 24 24"><path d="M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92a5.06 5.06 0 0 1-2.2 3.32v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.1z" fill="#4285F4"/><path d="M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z" fill="#34A853"/><path d="M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z" fill="#FBBC05"/><path d="M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z" fill="#EA4335"/></svg>
|
|
|
|
| 23 |
</button>
|
| 24 |
+
|
| 25 |
+
<button class="social-btn" title="Sign up with GitHub" type="button">
|
| 26 |
+
<svg viewBox="0 0 24 24"><path d="M12 2C6.477 2 2 6.477 2 12c0 4.42 2.87 8.17 6.84 9.5.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34-.46-1.16-1.11-1.47-1.11-1.47-.91-.62.07-.6.07-.6 1 .07 1.53 1.03 1.53 1.03.87 1.52 2.34 1.07 2.91.83.09-.65.35-1.09.63-1.34-2.22-.25-4.55-1.11-4.55-4.92 0-1.11.38-2 1.03-2.71-.1-.25-.45-1.29.1-2.64 0 0 .84-.27 2.75 1.02.79-.22 1.65-.33 2.5-.33.85 0 1.71.11 2.5.33 1.91-1.29 2.75-1.02 2.75-1.02.55 1.35.2 2.39.1 2.64.65.71 1.03 1.6 1.03 2.71 0 3.82-2.34 4.66-4.57 4.91.36.31.69.92.69 1.85V21c0 .27.16.59.67.5C19.14 20.16 22 16.42 22 12A10 10 0 0 0 12 2z" fill="#333"/></svg>
|
| 27 |
</button>
|
| 28 |
</div>
|
| 29 |
|