fix: logo crop, navbar alignment, buyer names, tender URLs

- Crop logo image (remove 58% bottom whitespace)
- Logo 90px, centered with nav links
- Cursor fix restored (no I-beam on non-interactive content)
- Contracts Finder: fix empty authority_name (was looking for procurer role, CF uses buyer)
- Contracts Finder: generate notice_url from OCID when release.url is empty
- Find a Tender: fix doubled base URL in notice_url
- Dashboard: use authority_name field (not buyer) for tender cards
- Card shadows strengthened on auth pages
- Password eye icon repositioned inside input
This commit is contained in:
Peter Foster
2026-02-14 16:15:21 +00:00
parent f969ecae04
commit d1aa21c59f
5 changed files with 824 additions and 481 deletions

View File

@@ -47,7 +47,8 @@ async function scrapeTenders() {
const titleLink = element.find('.search-result-header a').first();
const title = titleLink.text().trim();
const noticeUrl = 'https://www.find-tender.service.gov.uk' + titleLink.attr('href');
const rawHref = titleLink.attr('href') || '';
const noticeUrl = rawHref.startsWith('http') ? rawHref : 'https://www.find-tender.service.gov.uk' + rawHref;
// Extract source ID from URL
const urlMatch = noticeUrl.match(/\/([A-Z0-9-]+)$/);