Logo
Explore Help
Sign In
AderKonstantin/darkwave
1
0
Fork 0
You've already forked darkwave
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
b66149a0ec2c49681d2d15ad5e0f3de646db4597
darkwave/app/blogpost/layout.tsx

17 lines
406 B
TypeScript
Raw Normal View History

✨ feat: Implement blog post layout and page template This commit introduces the layout and page components for the blog post feature. The main changes include: - Implement the `RootLayout` component in `app/blogpost/layout.tsx` to provide the overall structure and styling for the blog post pages. - Implement the `PostPage` component in `app/blogpost/page.tsx` to display the content of a specific blog post, including the post title, metadata, and the post body (template). - Add placeholder content and styling for the blog post page, including the use of the `Image` component to display a featured image. These changes lay the foundation for the blog post feature, allowing users to view and interact with individual blog posts on the website.
2025-03-26 15:39:25 +03:00
import "../globals.css";
import Link from "next/link";
import AnimatedLink from "@/components/animatedLink";
import Image from "next/image";
import MainHeader from "@/components/header/main";
import MainFooter from "@/components/footer/main";
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<div className="text-base">
{children}
</div>
);
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.4 Page: 26ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API