diff --git a/backend/config/seedCompanyGuides.js b/backend/config/seedCompanyGuides.js index 5eeee59..ce6d5e9 100644 --- a/backend/config/seedCompanyGuides.js +++ b/backend/config/seedCompanyGuides.js @@ -10,6 +10,7 @@ const SEED_COMPANIES = [ { name: 'EY', slug: 'ey', industry: 'IT Services & Technology Consulting (Big Four)', website: 'https://www.ey.com/en_in', logo: '/images/companies/ey.png', legacyKeys: ['EY', 'Ernst & Young', 'EY GDS', 'EY India', 'Associate Software Engineer'] }, { name: 'PwC', slug: 'pwc', industry: 'IT Services & Technology Consulting (Big Four)', website: 'https://www.pwc.in/', logo: '/images/companies/pwc.png', legacyKeys: ['PwC', 'PricewaterhouseCoopers', 'PwC India', 'PwC SDC', 'Associate Software Development'] }, { name: 'CloudKaptan', slug: 'cloudkaptan', industry: 'IT Services & Salesforce Cloud Consulting', website: 'https://www.cloudkaptan.com/', logo: '/images/companies/cloudkaptan.png', legacyKeys: ['CloudKaptan', 'Cloud Kaptan', 'CK', 'Apprenticeship', 'Trainee'] }, + { name: 'Streebo', slug: 'streebo', industry: 'Artificial Intelligence & Digital Transformation', website: 'https://www.streebo.com/', logo: '/images/companies/streebo.png', legacyKeys: ['Streebo', 'Streebo Inc', 'Developer', 'Business Analyst', 'Quality Analyst'] }, ]; export const seedCompanyGuides = async () => { diff --git a/backend/tests/test_company_guides.js b/backend/tests/test_company_guides.js index 5cee0a9..10cf411 100644 --- a/backend/tests/test_company_guides.js +++ b/backend/tests/test_company_guides.js @@ -48,7 +48,8 @@ async function testCompanyGuidesFeature() { 'itc-infotech-2027', 'ey-2027', 'pwc-2027', - 'cloudkaptan-2027' + 'cloudkaptan-2027', + 'streebo-2027' ]; for (const slug of expectedSlugs) { diff --git a/frontend/public/images/companies/streebo.png b/frontend/public/images/companies/streebo.png new file mode 100644 index 0000000..930614b Binary files /dev/null and b/frontend/public/images/companies/streebo.png differ diff --git a/frontend/public/images/companies/streebo.webp b/frontend/public/images/companies/streebo.webp new file mode 100644 index 0000000..930614b Binary files /dev/null and b/frontend/public/images/companies/streebo.webp differ diff --git a/frontend/public/sitemap.xml b/frontend/public/sitemap.xml index 6a11e93..4909f69 100644 --- a/frontend/public/sitemap.xml +++ b/frontend/public/sitemap.xml @@ -72,6 +72,12 @@ weekly 0.85 + + https://www.nqtcoder.dev/companies/streebo-2027 + 2026-08-03 + weekly + 0.85 + diff --git a/frontend/public/streebo-logo.png b/frontend/public/streebo-logo.png new file mode 100644 index 0000000..930614b Binary files /dev/null and b/frontend/public/streebo-logo.png differ diff --git a/frontend/public/streebo.png b/frontend/public/streebo.png new file mode 100644 index 0000000..930614b Binary files /dev/null and b/frontend/public/streebo.png differ diff --git a/frontend/src/components/companyGuides/GuideCard.jsx b/frontend/src/components/companyGuides/GuideCard.jsx index a235004..9de0e2a 100644 --- a/frontend/src/components/companyGuides/GuideCard.jsx +++ b/frontend/src/components/companyGuides/GuideCard.jsx @@ -19,7 +19,7 @@ const GuideCard = ({ guide }) => { const { title, slug, examName, shortDescription, lastVerifiedAt, company, highlights = [] } = guide; const defaultLogo = company?.slug ? `/images/companies/${company.slug}.png` : '/logo.png'; const logoSrc = company?.logo || defaultLogo; - const fallbackLogo = company?.slug ? `/${company.slug}-logo.png` : '/logo.png'; + const fallbackLogo = company?.slug ? `/images/companies/${company.slug}.png` : '/logo.png'; return ( { if (!e.target.dataset.triedFallback) { e.target.dataset.triedFallback = 'true'; e.target.src = fallbackLogo; - } else { - e.target.style.display = 'none'; } }} /> diff --git a/frontend/src/components/companyGuides/GuideHero.jsx b/frontend/src/components/companyGuides/GuideHero.jsx index f1fe43c..d56a3fc 100644 --- a/frontend/src/components/companyGuides/GuideHero.jsx +++ b/frontend/src/components/companyGuides/GuideHero.jsx @@ -12,7 +12,7 @@ const GuideHero = ({ guide }) => { const practiceKey = company?.legacyKeys?.[0] || company?.name || ''; const defaultLogo = company?.slug ? `/images/companies/${company.slug}.png` : '/logo.png'; const logoSrc = company?.logo || defaultLogo; - const fallbackLogo = company?.slug ? `/${company.slug}-logo.png` : '/logo.png'; + const fallbackLogo = company?.slug ? `/images/companies/${company.slug}.png` : '/logo.png'; return (
@@ -22,7 +22,7 @@ const GuideHero = ({ guide }) => { / Companies / - {title} + Company Guides
@@ -34,8 +34,6 @@ const GuideHero = ({ guide }) => { if (!e.target.dataset.triedFallback) { e.target.dataset.triedFallback = 'true'; e.target.src = fallbackLogo; - } else { - e.target.style.display = 'none'; } }} /> diff --git a/frontend/src/pages/CompanyDashboard.jsx b/frontend/src/pages/CompanyDashboard.jsx index 5123048..c7d1760 100644 --- a/frontend/src/pages/CompanyDashboard.jsx +++ b/frontend/src/pages/CompanyDashboard.jsx @@ -7,7 +7,7 @@ import SEO from '../components/SEO'; import { getCompanies } from '../services/companyGuideService'; -const DEFAULT_COMPANIES = ['TCS', 'Cognizant', 'Infosys', 'LTIMindtree', 'Accenture', 'Wipro', 'Capgemini', 'HCLTech', 'Tech Mahindra']; +const DEFAULT_COMPANIES = ['TCS', 'Cognizant', 'Infosys', 'LTIMindtree', 'Accenture', 'Wipro', 'Capgemini', 'HCLTech', 'Tech Mahindra', 'Streebo']; const TOPICS = [ 'Arrays', 'Strings', 'Sorting', 'Searching', 'Pattern', 'Recursion', 'Math', 'HashMap', 'Matrix', 'Greedy', 'Dynamic Programming', 'Miscellaneous'