feat: major platform upgrade — AI extraction pipeline, responsive UI, admin chatbot enhancements
CRITICAL FIXES - Fix blank pages: useCallback declared after useEffect in all 5 pages - Fix showToast undefined everywhere (ToastContext exported addToast not showToast) - Fix admin doc upload always 422 (missing doc_key + doc_label form fields) - Fix audit log wrong field names (log.details -> log.detail, remove user_agent) - Fix SPA catch-all missing in main.py (direct URL access was 404) - Fix chatbot using broken nvidia free model -> llama-3.3-70b AI EXTRACTION PIPELINE - 3-stage pipeline: Stage1 native text (free) -> Stage2 Tesseract OCR (free CPU) -> Stage3 Qwen vision (paid) - Tesseract installed with eng+hin bilingual support, psm6, 2.5x DPI - Scanned PDF fallback via PyMuPDF page render - Blank template fallback: returns form_type/purpose/tax_year instead of empty - Improved prompt: extracts actual document field names, no predefined terms - Auto-poll UI: shows Processing spinner when extraction is running - backfill_extraction.py: re-process all docs, fixed empty-dict-as-None bug ADMIN DASHBOARD - Pending docs split into Pending Personal + Pending Business stat cards - User cards show typed badges: N personal / N business instead of generic N pending - Backend returns pending_personal, pending_business, pending_docs per user ADMIN USER DETAIL - Doc count chips in user info bar: personal / business / returns / total - Doc name bold 15px, date with calendar icon + TY chip, status as colored badges - Responsive layout: doc-review-layout CSS classes replace inline flex styles - Filing Timeline sidebar stacks above doc list on mobile - AI Summary: bold labels and values, blank template shows metadata CHATBOT ENHANCEMENTS - Ask anything free-text input on menu screen (both admin and user chatbots) - Admin: live context with latest uploads by date, new users today - Admin: per-user activity lookup by name/email (docs + audit log) - New endpoint: /api/chatbot/admin-user-context - ExpandableSummaryBlock + ExpandableValue: bold navy field labels and values RESPONSIVENESS - components.css: 480px/640px/768px breakpoints for all pages - Admin table, stat cards, tabs, toasts, FAB all properly responsive - Auth shell stacks on mobile correctly
This commit is contained in:
@@ -1,67 +1,59 @@
|
||||
export default function Services() {
|
||||
return (
|
||||
<>
|
||||
{/* HERO */}
|
||||
<div className="page-hero" style={{
|
||||
backgroundImage: 'linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("/images/Services-background-image.webp")',
|
||||
backgroundSize: 'cover',
|
||||
backgroundPosition: 'center',
|
||||
minHeight: '400px',
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
textAlign: 'center',
|
||||
color: '#fff'
|
||||
}}>
|
||||
<h1>Professional Services for Firms & Businesses</h1>
|
||||
<div className="page-hero" style={{ '--hero-img': 'url("/images/Services-background-image.webp")' }}>
|
||||
<div className="page-hero-inner">
|
||||
<span className="eyebrow">What we do</span>
|
||||
<h1>Professional services for firms and businesses</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* SERVICE CONTENT */}
|
||||
<div className="services-wrapper">
|
||||
{/* Block 1 */}
|
||||
<div className="service-block">
|
||||
<div className="service-block reveal">
|
||||
<div className="service-text">
|
||||
<h2>For Accounting Firms and Businesses</h2>
|
||||
<span className="eyebrow">Offshore delivery</span>
|
||||
<h2>For accounting firms and businesses</h2>
|
||||
<p>
|
||||
Bookkeepro India specialises in its offshore delivery model and consists of a strong team of qualified
|
||||
accountants, cost accountants, tax consultants and payroll experts to ease the bookkeeping for Accounting
|
||||
Firms and Businesses, globally.
|
||||
BookKeepPro India specialises in its offshore delivery model and
|
||||
consists of a strong team of qualified accountants, cost
|
||||
accountants, tax consultants and payroll experts to ease the
|
||||
bookkeeping for accounting firms and businesses, globally.
|
||||
</p>
|
||||
<br />
|
||||
<p>
|
||||
Bookkeepro’s India based offshore bookkeeping services offer several benefits
|
||||
to global accounting firms and businesses.
|
||||
Our India-based offshore bookkeeping services offer several
|
||||
benefits to global accounting firms and businesses.
|
||||
</p>
|
||||
</div>
|
||||
<img className="service-img" src="/images/services-3.jpg" alt="Accounting Outsourcing" style={{ borderRadius: '14px', objectFit: 'cover' }} />
|
||||
<img className="service-img" src="/images/services-3.jpg" alt="Accounting Outsourcing" />
|
||||
</div>
|
||||
|
||||
{/* Block 2 */}
|
||||
<div className="service-block reverse">
|
||||
<div className="service-block reverse reveal">
|
||||
<div className="service-text">
|
||||
<h2>Scale Your Business with Accounting Outsourcing</h2>
|
||||
<span className="eyebrow">Accounting outsourcing</span>
|
||||
<h2>Scale your business with outsourcing</h2>
|
||||
<p>
|
||||
Are you ready to supercharge your business and take it to new heights?
|
||||
We understand that managing finances and accounting can be a complex and
|
||||
time-consuming task, often diverting your focus away from what truly matters —
|
||||
growing your business.
|
||||
Managing finances and accounting can be a complex and
|
||||
time-consuming task, often diverting your focus away from what
|
||||
truly matters — growing your business.
|
||||
</p>
|
||||
<br />
|
||||
<p>
|
||||
That’s where we come in. Allow us to present the game-changing solution:
|
||||
Accounting Outsourcing.
|
||||
That's where we come in: a bookkeeping team that runs in the
|
||||
background so yours doesn't have to.
|
||||
</p>
|
||||
</div>
|
||||
<img className="service-img-bl-3" src="/images/services-2.jpg" alt="Outsourced Accounting Team" style={{ borderRadius: '14px', objectFit: 'cover' }} />
|
||||
<img className="service-img-bl-3" src="/images/services-2.jpg" alt="Outsourced Accounting Team" />
|
||||
</div>
|
||||
|
||||
{/* Block 3 */}
|
||||
<div className="service-block">
|
||||
<div className="service-block reveal">
|
||||
<div className="service-text">
|
||||
<h2>Tax Planning And Preparation</h2>
|
||||
<span className="eyebrow">Tax planning</span>
|
||||
<h2>Tax planning and preparation</h2>
|
||||
<p>
|
||||
We help individuals and businesses optimize tax strategy and get returns prepared right and on time.
|
||||
Whether your business is an LLC, S-Corp, or C-Corp, we’ll help you:
|
||||
We help individuals and businesses optimize tax strategy and get
|
||||
returns prepared right and on time. Whether your business is an
|
||||
LLC, S-Corp, or C-Corp, we'll help you:
|
||||
</p>
|
||||
<ol className="list-items">
|
||||
<li>Comply with and leverage changing federal tax law</li>
|
||||
@@ -72,12 +64,11 @@ export default function Services() {
|
||||
</ol>
|
||||
<br />
|
||||
<p>
|
||||
By minimizing your tax liability, you maximize your after-tax cash flow,
|
||||
which helps create financial security. We want you confident in knowing you
|
||||
have the right proactive tax plan in place.
|
||||
By minimizing your tax liability, you maximize your after-tax
|
||||
cash flow — the foundation of a proactive, confident tax plan.
|
||||
</p>
|
||||
</div>
|
||||
<img className="service-img" src="/images/services-1.jpg" alt="Tax Services" style={{ borderRadius: '14px', objectFit: 'cover' }} />
|
||||
<img className="service-img" src="/images/services-1.jpg" alt="Tax Services" />
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user