1import{H as k}from"./Header-CVACZm5S.js";import{_ as y}from"./Breadcrumb-CvI8Za9B.js";import{i as P,a as B,b as C}from"./blog-two-img3-CryDkOJg.js";import{i as S,a as E}from"./blog-two-img5-CEgqFuDo.js";import{i as A,a as D,b as T,c as M}from"./blog-two-img9-Fj2tPEvg.js";import{_,c as r,b as e,e as u,a as H,t as i,F as p,f,r as d,o as m,d as a,w as h,y as N,n as I}from"./index-BnxObZXq.js";import{C as L}from"./Certificate-BfNhEOcI.js";import{_ as F}from"./Footer-DRIz7usb.js";import"./shape6-H-JIteTK.js";import"./shape5-CVN100N7.js";import"./shape4-q8UrSedO.js";const V={data(){return{blogs:[{image:P,title:"Navigating the Job Market: Advice for Graduates",day:21,month:"DEC",author:"By Admin",views:"1.6k",comments:24,link:"blog-details"},{image:B,title:"The Importance of Diversity in Higher Education",day:21,month:"DEC",author:"By Admin",views:"1.6k",comments:24,link:"blog-details"},{image:C,title:"10 Tips for Successful Online Learning",day:21,month:"DEC",author:"By Admin",views:"1.6k",comments:24,link:"blog-details"},{image:S,title:"How to Stay Motivated While Studying from Home",day:21,month:"DEC",author:"By Admin",views:"1.6k",comments:24,link:"blog-details"},{image:E,title:"Mastering Python: Beginner to Advanced Tips",day:21,month:"DEC",author:"By Admin",views:"1.6k",comments:24,link:"blog-details"},{image:A,title:"Balancing Work and Study: Strategies for Success",day:21,month:"DEC",author:"By Admin",views:"1.6k",comments:24,link:"blog-details"},{image:D,title:"The Importance of Lifelong Learning in Today's World",day:21,month:"DEC",author:"By Admin",views:"1.6k",comments:24,link:"blog-details"},{image:T,title:"Effective Time Management for Students",day:21,month:"DEC",author:"By Admin",views:"1.6k",comments:24,link:"blog-details"},{image:M,title:"The Benefits of Learning a New Language Online",day:21,month:"DEC",author:"By Admin",views:"1.6k",comments:24,link:"blog-details"}],currentPage:1,itemsPerPage:6}},computed:{totalPages(){return Math.ceil(this.blogs.length/this.itemsPerPage)},paginatedBlogs(){const o=(this.currentPage-1)*this.itemsPerPage,t=o+this.itemsPerPage;return this.blogs.slice(o,t)},startItem(){return(this.currentPage-1)*this.itemsPerPage+1},endItem(){return Math.min(this.currentPage*this.itemsPerPage,this.blogs.length)}},methods:{changePage(o){o>=1&&o<=this.totalPages&&(this.currentPage=o,window.scrollTo({top:0,behavior:"smooth"}))}}},G={class:"blog-page-section py-120"},W={class:"container"},O={class:"flex-between gap-16 flex-wrap mb-40"},R={class:"row gy-4"},j={class:"scale-hover-item bg-main-25 rounded-16 p-12 h-100 border border-neutral-30"},z={class:"course-item__thumb rounded-12 overflow-hidden position-relative"},J=["src","alt"],$={class:"position-absolute inset-inline-end-0 inset-block-end-0 me-16 mb-16 py-12 px-24 rounded-8 bg-main-three-600 text-white fw-medium"},q={class:"mb-0 text-white fw-medium"},K={class:"pt-32 pb-24 px-16 position-relative"},Q={class:"mb-28"},U={class:"flex-align gap-14 flex-wrap my-20"},X={class:"flex-align gap-8"},Y={class:"text-neutral-500 text-lg"},Z={class:"flex-align gap-8"},ee={class:"text-neutral-500 text-lg"},te={class:"flex-align gap-8"},se={class:"text-neutral-500 text-lg"},ie={class:"flex-between gap-8 pt-24 border-top border-neutral-50 mt-28 border-dashed border-0"},ne={class:"pagination mt-40 flex-align gap-12 flex-wrap justify-content-center"},oe={class:"page-item"},ae=["disabled"],le=["onClick"],re={class:"page-item"},de=["disabled"];function me(o,t,b,x,l,n){const c=d("router-link");return m(),r("div",G,[e("div",W,[e("div",O,[u(" Showing "+i(n.startItem)+" - "+i(n.endItem)+" of "+i(l.blogs.length)+" Results ",1),t[2]||(t[2]=H('<div class="flex-align gap-16"><div class="flex-align gap-8"><span class="text-neutral-500 flex-shrink-0">Sort By :</span><select class="form-select ps-20 pe-28 py-8 fw-medium rounded-pill bg-main-25 border border-neutral-30 text-neutral-700"><option value="newest">Newest</option><option value="trending">Trending</option><option value="popular">Popular</option></select></div><button type="button" class="list-bar-btn text-xl w-40 h-40 bg-main-600 text-white rounded-8 flex-center d-lg-none"><i class="ph-bold ph-funnel"></i></button></div>',1))]),e("div",R,[(m(!0),r(p,null,f(n.paginatedBlogs,(s,g)=>(m(),r("div",{key:g,class:"col-lg-4 col-sm-6"},[e("div",j,[e("div",z,[a(c,{to:s.link,class:"w-100 h-100"},{default:h(()=>[e("img",{src:s.image,alt:s.title,class:"scale-hover-item__img rounded-12 cover-img transition-2"},null,8,J)]),_:2},1032,["to"]),e("div",$,[e("h3",q,i(s.day),1),u(" "+i(s.month),1)])]),e("div",K,[e("h4",Q,[a(c,{to:s.link,class:"link text-line-2"},{default:h(()=>[u(i(s.title),1)]),_:2},1032,["to"])]),e("div",U,[e("div",X,[t[3]||(t[3]=e("span",{class:"text-neutral-500 text-2xl d-flex"},[e("i",{class:"ph ph-user-circle"})],-1)),e("span",Y,i(s.author),1)]),t[6]||(t[6]=e("span",{class:"w-8 h-8 bg-neutral-100 rounded-circle"},null,-1)),e("div",Z,[t[4]||(t[4]=e("span",{class:"text-neutral-500 text-2xl d-flex"},[e("i",{class:"ph-bold ph-eye"}
1)],-1)),e("span",ee,i(s.views),1)]),t[7]||(t[7]=e("span",{class:"w-8 h-8 bg-neutral-100 rounded-circle"},null,-1)),e("div",te,[t[5]||(t[5]=e("span",{class:"text-neutral-500 text-2xl d-flex"},[e("i",{class:"ph ph-chat-dots"})],-1)),e("span",se,i(s.comments),1)])]),e("div",ie,[a(c,{to:s.link,class:"flex-align gap-8 text-main-600 hover-text-decoration-underline transition-1 fw-semibold"},{default:h(()=>t[8]||(t[8]=[u(" Read More "),e("i",{class:"ph ph-arrow-right"},null,-1)])),_:2,__:[8]},1032,["to"])])])])]))),128))]),e("ul",ne,[e("li",oe,[e("button",{class:"page-link text-neutral-700 fw-semibold w-40 h-40 bg-main-25 rounded-circle hover-bg-main-600 border-neutral-30 hover-border-main-600 hover-text-white flex-center p-0",disabled:l.currentPage===1,onClick:t[0]||(t[0]=s=>n.changePage(l.currentPage-1))},t[9]||(t[9]=[e("i",{class:"ph-bold ph-caret-left"},null,-1)]),8,ae)]),(m(!0),r(p,null,f(n.totalPages,s=>(m(),r("li",{class:"page-item",key:s},[e("button",{class:I(["page-link fw-semibold w-40 h-40 rounded-circle",[l.currentPage===s?"bg-main-600 text-white":"bg-main-25 text-neutral-700 hover-bg-main-600 hover-text-white"]]),onClick:N(g=>n.changePage(s),["prevent"])},i(s),11,le)]))),128)),e("li",re,[e("button",{class:"page-link text-neutral-700 fw-semibold w-40 h-40 bg-main-25 rounded-circle hover-bg-main-600 border-neutral-30 hover-border-main-600 hover-text-white flex-center p-0",disabled:l.currentPage===n.totalPages,onClick:t[1]||(t[1]=s=>n.changePage(l.currentPage+1))},t[10]||(t[10]=[e("i",{class:"ph-bold ph-caret-right"},null,-1)]),8,de)])])])])}const ce=_(V,[["render",me]]),ge={name:"BlogGrid",components:{Header:k,Breadcrumb:y,BlogPageSection:ce,Certificate:L,Footer:F}};function ue(o,t,b,x,l,n){const c=d("Header"),s=d("Breadcrumb"),g=d("BlogPageSection"),v=d("Certificate"),w=d("Footer");return m(),r(p,null,[a(c),a(s),a(g),a(v),a(w)],64)}const Be=_(ge,[["render",ue]]);export{Be as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.