Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions backend/config/seedCompanyGuides.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down
3 changes: 2 additions & 1 deletion backend/tests/test_company_guides.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Binary file added frontend/public/images/companies/streebo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/images/companies/streebo.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions frontend/public/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@
<changefreq>weekly</changefreq>
<priority>0.85</priority>
</url>
<url>
<loc>https://www.nqtcoder.dev/companies/streebo-2027</loc>
<lastmod>2026-08-03</lastmod>
<changefreq>weekly</changefreq>
<priority>0.85</priority>
</url>

<!-- Leaderboard -->
<url>
Expand Down
Binary file added frontend/public/streebo-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/streebo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 1 addition & 3 deletions frontend/src/components/companyGuides/GuideCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<Link
Expand All @@ -35,8 +35,6 @@ const GuideCard = ({ guide }) => {
if (!e.target.dataset.triedFallback) {
e.target.dataset.triedFallback = 'true';
e.target.src = fallbackLogo;
} else {
e.target.style.display = 'none';
}
}}
/>
Expand Down
6 changes: 2 additions & 4 deletions frontend/src/components/companyGuides/GuideHero.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<div className="bg-gradient-to-br from-darkCard to-darkBg border border-darkBorder rounded-2xl p-6 sm:p-8 mb-8 shadow-sm">
Expand All @@ -22,7 +22,7 @@ const GuideHero = ({ guide }) => {
<span>/</span>
<Link to="/companies" className="hover:text-accentBlue transition-colors">Companies</Link>
<span>/</span>
<span className="text-slate-700 dark:text-slate-300 truncate max-w-xs">{title}</span>
<Link to="/companies" className="hover:text-accentBlue transition-colors">Company Guides</Link>
</nav>

<div className="flex flex-col sm:flex-row items-start space-y-4 sm:space-y-0 sm:space-x-6">
Expand All @@ -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';
}
}}
/>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/CompanyDashboard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Loading