import * as React from 'react'; import { EnvProvider } from '@/context/EnvContext'; import Providers from '@/components/Providers'; import '../styles/globals.css'; const url = 'https://web.readest.com/'; const title = 'Readest — Where You Read, Digest and Get Insight'; const description = 'Discover Readest, the ultimate online ebook reader for immersive and organized reading. ' + 'Enjoy seamless access to your digital library, powerful tools for highlighting, bookmarking, ' + 'and note-taking, and support for multiple book views. ' + 'Perfect for deep reading, analysis, and understanding. Explore now!'; const previewImage = 'https://cdn.readest.com/images/open_graph_preview_read_now.png'; export const metadata = { title, description, generator: 'Next.js', manifest: '/manifest.json', keywords: ['epub', 'pdf', 'ebook', 'reader', 'readest', 'pwa'], authors: [ { name: 'readest', url: 'https://github.com/readest/readest', }, ], icons: [ { rel: 'apple-touch-icon', url: '/apple-touch-icon.png' }, { rel: 'icon', url: '/icon.png' }, ], }; export const viewport = { width: 'device-width', initialScale: 1, maximumScale: 1, userScalable: false, viewportFit: 'cover', }; export default function RootLayout({ children }: { children: React.ReactNode }) { return ( {title} {children} ); }