Skip to content

Commit

Permalink
refactor:blog-items for add linear gradient
Browse files Browse the repository at this point in the history
  • Loading branch information
ademsuslu committed Dec 6, 2024
1 parent ad460c5 commit 2bbc0ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/shared/blog/blog-items.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const BlogItems: React.FC<Props> = ({ data }) => {
>
<div className="absolute w-full h-full top-0 left-0 transition duration-300 group-hover/card:bg-black opacity-60"></div>

<div className="text content">
<div className="text content rounded-md bg-gradient-to-b from-sky-800 p-1 ">
<h1 className="font-bold text-xl md:text-2xl text-gray-50 relative z-10">
{data.title}
</h1>
Expand Down
4 changes: 3 additions & 1 deletion tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ const config: Config = {
],
theme: {
extend: {

gradientColorStopPositions: {
33: '33%',
},
animation: {
scroll: 'scroll var(--animation-duration, 40s) var(--animation-direction, forwards) linear infinite',
move: "move 5s linear infinite",
Expand Down

0 comments on commit 2bbc0ae

Please sign in to comment.