nemidanam, etela'i nadaram! :D

This commit is contained in:
parsa aghaei committed 2024-09-30 20:22:05 +03:30
1 parent ff6149badd
commit bd9680be4e
4 files changed
+31 -4

No files matched your search

@@ -4,7 +4,7 @@ import Button from "../button/button";
export default function Header() {
return (
<div className="fixed top-10 flex w-full items-center justify-around">
<div className="fixed top-10 flex w-[1280px] items-center justify-between">
<Image
src={"/images/blog/logo/logo-no-background.png"}
width={200}
@@ -0,0 +1,25 @@
export default function New() {
return (
<div className="flex w-full flex-wrap justify-between gap-5">
<div className="relative flex w-[55%] flex-col border">
<img
src={"/images/blog/logo/logo-no-background.png"}
alt="parsaaghayi's blog logo"
className="absolute z-0"
/>
<div className="flex items-center justify-center gap-2">
<p className="text-white text-[16px] font-[400]">BY</p>
<h2 className="text-white text-[16px] font-[400]">AUTHOR NAME</h2>
<p className="text-white text-[16px] font-[400]">IN</p>
<h2 className="text-white text-[16px] font-[400]">CATEGORY</h2>
</div>
<h1>How to accept rejection gracefully — and use it to grow</h1>
<p>
User research is the reality check every project needs. Here’s our
guide to why you should be doing it — and how to get started.
</p>
</div>
<div className="flex w-[40%] border">list</div>
</div>
);
}
+1 -1
View File
@@ -13,7 +13,7 @@ export default function RootLayout({
children: React.ReactNode;
}>) {
return (
<div className="flex w-full flex-wrap pt-5">
<div className="flex w-full flex-wrap justify-center">
<link
rel="icon"
href="/images/favicons/blog-icon.png"
+4 -2
View File
@@ -1,7 +1,9 @@
import New from "./components/home/new/new";
export default async function Blog() {
return (
<div className="">
Blog
<div className="w-[1280px]">
<New />
</div>
);
}