diff --git a/frontend/public/placeholder.svg b/frontend/public/placeholder.svg new file mode 100644 index 0000000..e81deed --- /dev/null +++ b/frontend/public/placeholder.svg @@ -0,0 +1,9 @@ + + + + + + + Blog Image + + diff --git a/frontend/src/app/about/page.tsx b/frontend/src/app/about/page.tsx index 6cd28d9..1982940 100644 --- a/frontend/src/app/about/page.tsx +++ b/frontend/src/app/about/page.tsx @@ -45,28 +45,28 @@ export default function AboutPage() { role: 'Co-Founder & Lead Editor', education: 'Alumni of world-renowned institution', experience: '7+ years in academic writing', - image: '/placeholder.svg?height=300&width=300', + image: '/team-image.png', }, { name: 'Lathika', role: 'Co-Founder & Senior Consultant', education: 'Alumni of world-renowned institution', experience: '6+ years in admissions consulting', - image: '/placeholder.svg?height=300&width=300', + image: '/team-image.png', }, { name: 'Dr. Emily Rodriguez', role: 'Medical Applications Specialist', education: 'MD from Johns Hopkins, MPH', experience: '6+ years in medical admissions', - image: '/placeholder.svg?height=300&width=300', + image: '/team-image.png', }, { name: 'David Kim', role: 'Business Applications Expert', education: 'MBA from Wharton, CPA', experience: '7+ years in business consulting', - image: '/placeholder.svg?height=300&width=300', + image: '/team-image.png', }, ] @@ -285,6 +285,10 @@ priority { + const target = e.target as HTMLImageElement; + target.src = '/placeholder.svg'; + }} alt={member.name} className='w-24 h-24 rounded-full mx-auto mb-4 object-cover' /> @@ -396,9 +400,13 @@ priority
Akshai & Lathika { + const target = e.target as HTMLImageElement; + target.src = '/placeholder.svg'; + }} />
diff --git a/frontend/src/app/blog/page.tsx b/frontend/src/app/blog/page.tsx index 57ffd37..7d8238d 100644 --- a/frontend/src/app/blog/page.tsx +++ b/frontend/src/app/blog/page.tsx @@ -22,7 +22,7 @@ export default function BlogPage() { author: 'Dr. Sarah Johnson', date: '2024-01-20', readTime: '12 min read', - image: '/placeholder.svg?height=400&width=600', + image: '/hero-image.png', featured: true, } @@ -34,7 +34,7 @@ export default function BlogPage() { category: 'SOP Tips', author: 'Sarah Editorial', date: '2024-01-15', - image: '/placeholder.svg?height=200&width=300', + image: '/team-image.png', readTime: '5 min read', trending: true, }, @@ -45,7 +45,7 @@ export default function BlogPage() { category: 'LOR Guide', author: 'Michael Writer', date: '2024-01-10', - image: '/placeholder.svg?height=200&width=300', + image: '/hero-image.png', readTime: '7 min read', trending: false, }, @@ -56,7 +56,7 @@ export default function BlogPage() { category: 'MBA', author: 'Emily Expert', date: '2024-01-05', - image: '/placeholder.svg?height=200&width=300', + image: '/team-image.png', readTime: '10 min read', trending: true, }, @@ -67,7 +67,7 @@ export default function BlogPage() { category: 'Strategy', author: 'David Brand', date: '2024-01-01', - image: '/placeholder.svg?height=200&width=300', + image: '/hero-image.png', readTime: '6 min read', trending: false, }, @@ -78,7 +78,7 @@ export default function BlogPage() { category: 'Insights', author: 'Lisa Psychology', date: '2023-12-28', - image: '/placeholder.svg?height=200&width=300', + image: '/team-image.png', readTime: '8 min read', trending: false, }, @@ -89,7 +89,7 @@ export default function BlogPage() { category: 'International', author: 'James Global', date: '2023-12-25', - image: '/placeholder.svg?height=200&width=300', + image: '/hero-image.png', readTime: '9 min read', trending: false, }, @@ -100,7 +100,7 @@ export default function BlogPage() { category: 'Medical', author: 'Dr. Amanda Foster', date: '2023-12-20', - image: '/placeholder.svg?height=200&width=300', + image: '/team-image.png', readTime: '11 min read', trending: false, }, @@ -111,7 +111,7 @@ export default function BlogPage() { category: 'Engineering', author: 'Robert Tech', date: '2023-12-15', - image: '/placeholder.svg?height=200&width=300', + image: '/hero-image.png', readTime: '7 min read', trending: false, }, @@ -122,7 +122,7 @@ export default function BlogPage() { category: 'Law', author: 'Jennifer Legal', date: '2023-12-10', - image: '/placeholder.svg?height=200&width=300', + image: '/team-image.png', readTime: '8 min read', trending: false, }, @@ -210,6 +210,10 @@ export default function BlogPage() { } alt={featuredPost.title} className='w-full h-64 md:h-full object-cover' + onError={(e) => { + const target = e.target as HTMLImageElement; + target.src = '/placeholder.svg'; + }} />
@@ -281,6 +285,10 @@ export default function BlogPage() { } alt={post.title} className='w-full h-48 object-cover rounded-t-lg' + onError={(e) => { + const target = e.target as HTMLImageElement; + target.src = '/placeholder.svg'; + }} /> Trending @@ -351,6 +359,10 @@ export default function BlogPage() { } alt={post.title} className='w-full h-48 object-cover rounded-t-lg' + onError={(e) => { + const target = e.target as HTMLImageElement; + target.src = '/placeholder.svg'; + }} /> {post.category} @@ -513,6 +525,10 @@ export default function BlogPage() { } alt={post.title} className='w-16 h-16 object-cover rounded-lg flex-shrink-0' + onError={(e) => { + const target = e.target as HTMLImageElement; + target.src = '/placeholder.svg'; + }} />

diff --git a/frontend/src/components/about.tsx b/frontend/src/components/about.tsx index f66fc0c..f47c19b 100644 --- a/frontend/src/components/about.tsx +++ b/frontend/src/components/about.tsx @@ -104,7 +104,7 @@ export function About() {
Our team at work diff --git a/frontend/src/components/blog.tsx b/frontend/src/components/blog.tsx index 207200c..3e329d9 100644 --- a/frontend/src/components/blog.tsx +++ b/frontend/src/components/blog.tsx @@ -15,7 +15,7 @@ export function Blog() { category: "SOP Tips", author: "Sarah Editorial", date: "2024-01-15", - image: "/placeholder.svg?height=200&width=300", + image: "/team-image.png", readTime: "5 min read", }, { @@ -24,7 +24,7 @@ export function Blog() { category: "LOR Guide", author: "Michael Writer", date: "2024-01-10", - image: "/placeholder.svg?height=200&width=300", + image: "/team-image.png", readTime: "7 min read", }, { @@ -33,7 +33,7 @@ export function Blog() { category: "MBA", author: "Emily Expert", date: "2024-01-05", - image: "/placeholder.svg?height=200&width=300", + image: "/team-image.png", readTime: "10 min read", }, { @@ -42,7 +42,7 @@ export function Blog() { category: "Strategy", author: "David Brand", date: "2024-01-01", - image: "/placeholder.svg?height=200&width=300", + image: "/team-image.png", readTime: "6 min read", }, { @@ -51,7 +51,7 @@ export function Blog() { category: "Insights", author: "Lisa Psychology", date: "2023-12-28", - image: "/placeholder.svg?height=200&width=300", + image: "/team-image.png", readTime: "8 min read", }, { @@ -60,7 +60,7 @@ export function Blog() { category: "International", author: "James Global", date: "2023-12-25", - image: "/placeholder.svg?height=200&width=300", + image: "/team-image.png", readTime: "9 min read", }, ] @@ -89,6 +89,10 @@ export function Blog() { src={post.image || "/placeholder.svg"} alt={post.title} className="w-full h-48 object-cover group-hover:scale-110 transition-transform duration-300" + onError={(e) => { + const target = e.target as HTMLImageElement; + target.src = '/placeholder.svg'; + }} />
{post.category} diff --git a/frontend/src/components/testimonials.tsx b/frontend/src/components/testimonials.tsx index 78f9ce4..c2f719f 100644 --- a/frontend/src/components/testimonials.tsx +++ b/frontend/src/components/testimonials.tsx @@ -11,7 +11,7 @@ export function Testimonials() { content: "Amour Editorial transformed my SOP into a compelling narrative that truly reflected my journey. I got accepted into my dream MBA program!", rating: 5, - image: "/placeholder.svg?height=80&width=80", + image: "/team-image.png", }, { name: "Michael Chen", @@ -19,7 +19,7 @@ export function Testimonials() { content: "The team understood my research background perfectly and crafted an SOP that highlighted my potential. Highly recommended!", rating: 5, - image: "/placeholder.svg?height=80&width=80", + image: "/team-image.png", }, { name: "Emily Rodriguez", @@ -27,7 +27,7 @@ export function Testimonials() { content: "Professional, timely, and exceptional quality. They helped me articulate my passion for medicine in a way I never could.", rating: 5, - image: "/placeholder.svg?height=80&width=80", + image: "/team-image.png", }, { name: "David Kim", @@ -35,7 +35,7 @@ export function Testimonials() { content: "The LOR they wrote for me was outstanding. It perfectly captured my technical skills and leadership potential.", rating: 5, - image: "/placeholder.svg?height=80&width=80", + image: "/team-image.png", }, { name: "Lisa Thompson", @@ -43,14 +43,14 @@ export function Testimonials() { content: "Incredible attention to detail and understanding of what admissions committees look for. Worth every penny!", rating: 5, - image: "/placeholder.svg?height=80&width=80", + image: "/team-image.png", }, { name: "James Wilson", role: "Business Analyst at Goldman Sachs", content: "They helped me transition from academia to industry with a perfectly crafted professional narrative.", rating: 5, - image: "/placeholder.svg?height=80&width=80", + image: "/team-image.png", }, ] @@ -86,6 +86,10 @@ export function Testimonials() {
{ + const target = e.target as HTMLImageElement; + target.src = '/placeholder.svg'; + }} alt={testimonial.name} className="w-12 h-12 rounded-full object-cover" />