diff --git a/src/app/globals.css b/src/app/globals.css index b5e4dbf..4c79a60 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -8,6 +8,7 @@ --ext-color-primary-3: #2e2d51; --ext-color-primary-4: #d4a187; --ext-color-primary-5: #e7ccc0; + --ext-color-primary-6: #64b3b4; --background: #ffffff; --foreground: #171717; } @@ -19,6 +20,7 @@ --ext-color-primary-3: #2e2d51; --ext-color-primary-4: #d4a187; --ext-color-primary-5: #e7ccc0; + --ext-color-primary-6: #64b3b4; --background: #0a0a0a; --foreground: #ededed; } @@ -34,18 +36,25 @@ body { .ext-btn { @apply py-2 px-4 rounded-full hover:opacity-95 hover:scale-95 transition-transform font-semibold no-underline; } - .ext-btn-primary { @apply bg-extColorPrimary text-white; } - .ext-btn-primary2 { @apply bg-extColorPrimary2 text-white; } - .ext-btn-primary3 { @apply bg-extColorPrimary3 text-white; } + .ext-btn-primary4 { + @apply bg-extColorPrimary4 text-white; + } + + .ext-btn-shadow-sm { + @apply py-2 px-3 rounded-full text-sm font-medium no-underline shadow-[0px_0px_10px_0px_rgba(0,0,0,0.5)]; + } + .ext-btn-shadow-sm-primary4 { + @apply bg-extColorPrimary4 text-white hover:text-white hover:bg-extColorPrimary6 transition-colors; + } } .bg-gradient { diff --git a/src/components/Blogs/BlogCardItem.tsx b/src/components/Blogs/BlogCardItem.tsx index 554f8ec..af8a0a5 100644 --- a/src/components/Blogs/BlogCardItem.tsx +++ b/src/components/Blogs/BlogCardItem.tsx @@ -19,36 +19,21 @@ export interface BlogCardItemProps { export function BlogCardItem({ data }: BlogCardItemProps) { return ( -
-
-
+
+
+ -
-

+
+

{data.title} -

-
{data.contentPreview}
-
- {!!data?.author?.name && ( - - )} - +

+
@@ -58,22 +43,14 @@ export function BlogCardItem({ data }: BlogCardItemProps) { export function BlogCardItemSkeleton() { return ( -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
diff --git a/tailwind.config.ts b/tailwind.config.ts index ecba4b4..e199f93 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -15,6 +15,8 @@ export default { extColorPrimary2: "var(--ext-color-primary-2)", extColorPrimary3: "var(--ext-color-primary-3)", extColorPrimary4: "var(--ext-color-primary-4)", + extColorPrimary5: "var(--ext-color-primary-5)", + extColorPrimary6: "var(--ext-color-primary-6)", }, }, },