{{ $po->title }}
{!! Str::limit(strip_tags($po->short_description ?: $po->description ?? ''), 150) !!}
{{ $t['read_more'] }}@extends($activeTemplate . 'layouts.frontend') @php $currentLang = app()->getLocale(); // Translations: key => [Assamese, English] $t = [ // SEO 'seo_title' => $currentLang === 'as' ? "প্ৰাগনিউজ | অসমৰ প্ৰধান ২৪/৭ বাতৰি চেনেল | উত্তৰ-পূৱ ভাৰতৰ শেহতীয়া বাতৰি" : "PragNews | Assam's Pioneer 24/7 News Channel | Latest News from Northeast India", 'seo_description' => $currentLang === 'as' ? "প্ৰাগনিউজৰ সৈতে সংযুক্ত থাকিব, অসমৰ আগশাৰীৰ দুচভাষিক বাতৰি উৎস—২০ বছৰৰো অধিক অভিজ্ঞতা। শেহতীয়া খবৰ, বিশদ কাভাৰেজ, আৰু উত্তৰ-পূৱ ভাৰতৰ খবৰ।" : "Stay updated with PragNews, Assam's leading bilingual news source for 20+ years. Get breaking news, in-depth coverage, and updates from Assam, Northeast India, and beyond.", 'seo_keywords' => $currentLang === 'as' ? "অসম বাতৰি, উত্তৰ-পূৱ ভাৰতৰ বাতৰি, PragNews, অসমীয়া বাতৰি চেনেল, শেহতীয়াকৈ বাতৰি অসম, খবৰ আপডেট উত্তৰ-পূৱ, গুৱাহাটী বাতৰি, আঞ্চলিক বাতৰি, ৰাষ্ট্ৰীয় বাতৰি" : "Assam news, Northeast India news, Prag News, Assamese news channel, breaking news Assam, news updates Northeast, Guwahati news, latest news Assam, regional news, national news", // Section One 'must_read' => $currentLang === 'as' ? "নিশ্চয়কৈ পঢ়ক" : "MUST READ", // Section Two 'dont_miss' => $currentLang === 'as' ? "মিছ নকৰিবা" : "DON’T MISS", 'no_post_available' => $currentLang === 'as' ? "কোনো পোষ্ট উপলব্ধ নহয়" : "No post available", 'ad_image_alt' => $currentLang === 'as' ? "বিজ্ঞাপন চিত্ৰ" : "Ad image", 'post_image_alt' => $currentLang === 'as' ? "পোষ্ট চিত্ৰ" : "Post image", 'no_editors_pic' => $currentLang === 'as' ? "সম্পাদকৰ পিক উপলব্ধ পোষ্ট নাই" : "No Editor’s Pick post available", // Section Three (Hero + Live) 'live_updates' => $currentLang === 'as' ? "লাইভ আপডেট" : "Live Updates", 'live' => $currentLang === 'as' ? "LIVE" : "LIVE", 'previous' => $currentLang === 'as' ? "পূৰ্ববর্তী" : "Previous", 'next' => $currentLang === 'as' ? "পৰৱৰ্তী" : "Next", // Recent Posts 'recent_posts' => $currentLang === 'as' ? "শেহতীয়া পোষ্ট" : "RECENT POSTS", 'latest' => $currentLang === 'as' ? "শেহতীয়া" : "LATEST", 'mins_read' => $currentLang === 'as' ? "মিনিট পঢ়া" : "mins read", 'read_more' => $currentLang === 'as' ? "আৰু পঢ়ক" : "READ MORE", 'load_more' => $currentLang === 'as' ? "অধিক লোড কৰক" : "LOAD MORE", 'advertisement_alt' => $currentLang === 'as' ? "বিজ্ঞাপন" : "Advertisement", // Breaking News 'breaking' => $currentLang === 'as' ? "BREAKING" : "BREAKING", 'unknown' => $currentLang === 'as' ? "অজানা" : "Unknown", 'breaking_news_image' => $currentLang === 'as' ? "BREAKING NEWS চিত্ৰ" : "Breaking News Image", 'more_breaking_news' => $currentLang === 'as' ? "আরু BREAKING খবৰ" : "MORE BREAKING NEWS", // Regional / National / International 'regional' => $currentLang === 'as' ? "আঞ্চলিক" : "Regional", 'unknown_author' => $currentLang === 'as' ? "অজানা লেখক" : "Unknown Author", 'national' => $currentLang === 'as' ? "ৰাষ্ট্ৰীয়" : "National", 'international' => $currentLang === 'as' ? "আন্তৰ্জাতিক" : "International", // Sports 'sports' => $currentLang === 'as' ? "খেলা" : "Sports", 'view_more' => $currentLang === 'as' ? "আরু দেখুৱাওক" : "View More", 'feature_editor' => $currentLang === 'as' ? "ভাগ সম্পাদক" : "Feature Editor", // Sidebar / Follow Us / Watch Live 'follow_us' => $currentLang === 'as' ? "আমাক অনুসৰণ কৰক" : "FOLLOW US", 'follow' => $currentLang === 'as' ? "অ" : "F", 'watch_live' => $currentLang === 'as' ? "লাইভ চাওক" : "WATCH LIVE", 'watch' => $currentLang === 'as' ? "চাওক" : "W", 'live_tv_alt' => $currentLang === 'as' ? "লাইভ টিভি" : "Live TV", // Tabs (Popular / Feature / Trendy) 'popular' => $currentLang === 'as' ? "জনপ্ৰিয়" : "POPULAR", 'feature' => $currentLang === 'as' ? "বৈশিষ্ট্য" : "FEATURE", 'trendy' => $currentLang === 'as' ? "ট্ৰেণ্ডি" : "TRENDY", 'post' => $currentLang === 'as' ? "পোষ্ট" : "Post", 'most_commented' => $currentLang === 'as' ? "সপ্তাহৰ আটাইতকৈ বেছ মন্তব্য কৰা প্ৰবন্ধ" : "Most Commented Article of the Week", 'may_3_2025' => $currentLang === 'as' ? "৩ মে, ২০২৫" : "May 3, 2025", 'community_manager' => $currentLang === 'as' ? "Community Manager" : "Community Manager", 'hot' => $currentLang === 'as' ? "HOT" : "HOT", 'viral_discussion' => $currentLang === 'as' ? "ভাইৰেল আলোচনা: পাঠকৰ মতামত" : "Viral Discussion: Community Speaks Out", 'may_2_2025' => $currentLang === 'as' ? "২ মে, ২০২৫" : "May 2, 2025", 'discussion_lead' => $currentLang === 'as' ? "Discussion Lead" : "Discussion Lead", // Videos Section 'in_motion' => $currentLang === 'as' ? "ইন ম’শন" : "IN MOTION", 'videos' => $currentLang === 'as' ? "ভিডিঅ’" : "VIDEOS", 'all_videos' => $currentLang === 'as' ? "সমস্ত ভিডিঅ’" : "ALL VIDEOS", 'video_thumbnail_alt' => $currentLang === 'as' ? "ভিডিঅ’ থামনেইল" : "Video Thumbnail", 'views' => $currentLang === 'as' ? "ভিউ" : "views", // Editor’s Pick 'editors_pick' => $currentLang === 'as' ? "সম্পাদকৰ পছন্দ" : "Editor's Pick", 'editors_pick_desc' => $currentLang === 'as' ? "বাছি বাছি প্ৰবন্ধবোৰ অভিজ্ঞ সম্পাদকৰ দ্বাৰা নিৰ্বাচিত। পাঠকৰ ৰেটিঙৰ ওপৰতো আধাৰিত। এই পোষ্টসমূহে অধিক মনোযোগ পান।" : "The featured articles are selected by experienced editors. It is also based on the reader’s rating. These posts have a lot of interest.", // E-Magazine 'e_magazine' => $currentLang === 'as' ? "ই-আলোচনী" : "E-MAGAZINE", 'digital' => $currentLang === 'as' ? "ডিজিটেল" : "DIGITAL", 'latest_digital' => $currentLang === 'as' ? "শেহতীয়া ডিজিটেল সংস্কৰণ" : "Latest Digital Edition", 'emag_desc' => $currentLang === 'as' ? "নিয়মিতভাৱে আপডেট কৰা আমাৰ ই-আলোচনীখন অন্বেষণ কৰক, য'ত কিউৰেট কৰা প্ৰবন্ধ, বাতৰি, আৰু অন্তৰ্দৃষ্টিসমূহ সন্নিবিষ্ট কৰা হৈছে। সাম্প্ৰতিক পৰিস্থিতি, গভীৰ কাহিনী বা বিশেষ বৈশিষ্ট্যৰ প্ৰতি আগ্ৰহী প্ৰতিজনৰ বাবে আমাৰ ডিজিটেল প্ৰকাশনে সকলো বিষয়বস্তু পোনপটীয়াকৈ চকুৰ আগত তুলি ধৰিব" : "Explore our regularly updated E-Magazine, featuring curated articles, news, and insights. Whether you’re interested in current affairs, in-depth stories, or special features, our digital publication brings the latest content straight to your screen.", 'view' => $currentLang === 'as' ? "চাওক" : "View", // Mini Player controls 'expand' => $currentLang === 'as' ? "বিস্তৃত" : "Expand", 'close' => $currentLang === 'as' ? "বন্ধ" : "Close", ]; // Section content from controller ($homeOneContent, $homeTwoContent, $homeThreeContent, $printMagazineContent). // $general is shared globally via AppServiceProvider. $content = $printMagazineContent; $weatherWidgetLanguages = [ 'en' => 'EN', 'as' => 'EN', // Use English for Assamese // Add other languages as needed ]; $weatherLang = $weatherWidgetLanguages[$currentLang] ?? 'EN'; // Note: we do NOT define $livenws, $breakings, $reg, $nat, $innat, $sports, $editors, $posts_recents, $videos here. // They must come from the controller (just as before). // We only translate text—do NOT add any new where‐clauses or functions that rely on non‐existent columns. // SEO variables (now using $t[...] for strings): $seoTitle = $t['seo_title']; $seoDescription = $t['seo_description']; $seoKeywords = $t['seo_keywords']; $ogImage = ($featurePost ?? null) ? postImageUrl($featurePost) : getImage(getFilePath('logoIcon') . '/logo.png'); @endphp @section('head')
{!! Str::limit(strip_tags($po->short_description ?: $po->description ?? ''), 150) !!}
{{ $t['read_more'] }}{!! Str::limit(strip_tags($bk->short_description ?: $bk->description ?? ''), 200) !!}
{{ $t['read_more'] }}{!! Str::limit(strip_tags($reg[0]->short_description ?: $reg[0]->description ?? ''), 300) !!}
{!! Str::limit(strip_tags($nat[0]->short_description ?: $nat[0]->description ?? ''), 300) !!}
{!! Str::limit(strip_tags($innat[0]->short_description ?: $innat[0]->description ?? ''), 300) !!}
{!! Str::limit(strip_tags($sports[0]->short_description ?: $sports[0]->description ?? ''), 150) !!}
{{ $t['editors_pick_desc'] }}