-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e4c9371
commit d6a5288
Showing
10 changed files
with
137 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,20 @@ | ||
"use client" | ||
import BlogCard from "@/app/Components/Blog-Card"; | ||
import DetailCard from "@/app/Components/DetailCard"; | ||
import Header from "@/app/Components/Header"; | ||
import { useEffect } from "react"; | ||
|
||
export default function BlogPage() { | ||
useEffect(() => { | ||
document.title = "Blog App - Blog" | ||
}, []) | ||
return ( | ||
<> | ||
<Header title={"Blog"}/> | ||
<div className="flex justify-between items-center flex-wrap my-24 mx-32"> | ||
<BlogCard /> | ||
<BlogCard /> | ||
<BlogCard /> | ||
<BlogCard /> | ||
<div className="relative z-10"> | ||
<Header title={"Blog"} /> | ||
<div className="flex justify-center items-center gap-8 flex-wrap my-24 mx-32"> | ||
<DetailCard /> | ||
<BlogCard /> | ||
</div> | ||
</> | ||
</div> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
"use client" | ||
import React, { useState } from 'react' | ||
import { MdCancel } from "react-icons/md"; | ||
import Image from "next/image"; | ||
import BG from "@/app/Assets/landscape.jpg" | ||
|
||
const DetailCard = () => { | ||
const [cancel, setCancel] = useState(true); | ||
|
||
return ( | ||
<div className={cancel ? `sticky h-full w-3/4 bg-[#000000d7] rounded-2xl z-0 top-24` : 'hidden'}> | ||
<MdCancel className='text-[#ffffffcf] text-4xl absolute right-4 top-2 cursor-pointer' onClick={() => { setCancel(!cancel); }} /> | ||
<Image className='w-full rounded-t-2xl h-[60vh] object-cover' src={BG} alt='#' height={100} width={800} /> | ||
<div className='scrollbar text-white px-3 py-5 overflow-y-scroll h-[100vh] snap-y'> | ||
<h1 className='text-5xl font-bold'>DevOps Life cycle</h1> | ||
<div className='flex text-sm justify-start gap-10 my-5'> | ||
<p>December 24, 2023</p> / | ||
<p>DevOps</p> / | ||
<p>{ }2 Comments</p> | ||
</div> | ||
<div className='mt-10 divide-[#bbbbbb33] divide-y-[.5px]'> | ||
<div className='flex w-full items-center gap-10'> | ||
<span className='text-white font-semibold text-xl uppercase'>Description</span> | ||
<p className='text-lg text-gray-200 my-10'> The DevOps lifecycle is an iterative and collaborative process that integrates automation and feedback to deliver high-quality software, tailored to meet business and user requirements.</p> | ||
</div> | ||
<div className='flex w-full justify-center items-center gap-10'> | ||
<span className='text-white font-semibold text-xl uppercase'>Content</span> | ||
<p className='text-lg text-gray-200 my-10'> DevOps Lifecycle is the set of phases that includes DevOps for taking part in Development and Operation group duties for quicker software program delivery. DevOps follows positive techniques that consist of code, building, testing, releasing, deploying, operating, displaying, and planning. DevOps lifecycle follows a range of phases such as non-stop development, non-stop integration, non-stop testing, non-stop monitoring, and non-stop feedback. Each segment of the DevOps lifecycle is related to some equipment and applied sciences to obtain the process. Some of the frequently used tools are open source and are carried out primarily based on commercial enterprise requirements. DevOps lifecycle is effortless to manipulate and it helps satisfactory delivery.</p> | ||
</div> | ||
<div className='flex w-full justify-center items-center gap-10'> | ||
<span className='text-white font-semibold text-xl uppercase'>Content</span> | ||
<p className='text-lg text-gray-200 my-10'> DevOps Lifecycle is the set of phases that includes DevOps for taking part in Development and Operation group duties for quicker software program delivery. DevOps follows positive techniques that consist of code, building, testing, releasing, deploying, operating, displaying, and planning. DevOps lifecycle follows a range of phases such as non-stop development, non-stop integration, non-stop testing, non-stop monitoring, and non-stop feedback. Each segment of the DevOps lifecycle is related to some equipment and applied sciences to obtain the process. Some of the frequently used tools are open source and are carried out primarily based on commercial enterprise requirements. DevOps lifecycle is effortless to manipulate and it helps satisfactory delivery.</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
export default DetailCard |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
"use client" | ||
import Image from "next/image"; | ||
import HeaderImg from "@/app/Assets/headerImg.jpg" | ||
|
||
import { useEffect } from "react"; | ||
|
||
export default function Header({ title }) { | ||
useEffect(() => { | ||
document.title = "Blog App - Home" | ||
}); | ||
return ( | ||
<div className="h-[55vh] mb-24 relative flex justify-center items-center"> | ||
<Image src={HeaderImg} alt="#" className="object-cover bg-blend-multiply h-full w-full" priority={false} /> | ||
<h2 className="absolute text-6xl uppercase font-bold text-gray-200">{title}</h2> | ||
<h2 className="absolute text-6xl uppercase cursor-default font-bold text-gray-200">{title}</h2> | ||
</div> | ||
) | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,5 +14,7 @@ module.exports = { | |
}, | ||
}, | ||
}, | ||
plugins: [], | ||
plugins: [ | ||
// require('@tailwindcss/line-clamp') | ||
], | ||
}; |