Files
rootxwire/src/pages/rtl-page-blog/index.jsx
2025-06-16 12:55:55 +05:30

42 lines
1.2 KiB
JavaScript

import React, { useEffect } from 'react';
//= Layout
import MainLayout from 'layouts/Main';
//= Components
import NavbarRTL from 'components/Navbars/StartupNav/RTLNav';
import BlogSlider from 'components/Blog/BlogSlider';
import PopularPosts from 'components/Blog/PopularPosts';
import AllNews from 'components/Blog/AllNews';
import Footer from 'components/Startup/Footer';
//= Scripts
import { fixRtlStylesheetsOrder } from 'common/fixStylesheetsOrder';
const RTLPageBlog = () => {
useEffect(() => {
fixRtlStylesheetsOrder();
}, []);
return (
<MainLayout>
<NavbarRTL whiteNotRounded />
<main className="blog-page style-5">
<BlogSlider style="5" rtl />
<PopularPosts style="5" rtl />
<AllNews style="5" rtl />
</main>
<Footer rtl />
</MainLayout>
)
}
export const Head = () => {
return (
<>
<title>Rootxwire - المدونة</title>
<link rel="stylesheet" href="/assets/css/lib/bootstrap.rtl.min.css" />
<link rel="stylesheet" href="/assets/css/style.css" />
<link rel="stylesheet" href="/assets/css/rtl_style.css" />
</>
)
}
export default RTLPageBlog;