From a0bd7a4c0eb5199687a972c401dd914430c2eaa4 Mon Sep 17 00:00:00 2001 From: eshanized Date: Wed, 1 Jan 2025 11:17:59 +0530 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20style:=20ui=20enhancements?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- push.sh | 15 +++--------- src/components/home/FeatureCard.tsx | 38 +++++++++++++++++------------ 2 files changed, 25 insertions(+), 28 deletions(-) diff --git a/push.sh b/push.sh index 09746d73..03fcbe68 100755 --- a/push.sh +++ b/push.sh @@ -37,13 +37,6 @@ type_emoji=${type} type=${type_emoji#* } emoji=${type_emoji% *} -# Prompt the user to enter a scope (optional) -read -p "Enter a scope (optional): " scope -scope_part="" -if [ -n "$scope" ]; then - scope_part="($scope)" -fi - # Prompt the user to enter a short description read -p "Enter a short description: " desc if [ -z "$desc" ]; then @@ -54,13 +47,11 @@ fi read -p "Enter a longer description (optional): " long_desc # Create the commit message -commit_msg="$emoji $type$scope_part: $desc" +commit_msg="$emoji $type: $desc" # If a longer description was provided, add it to the commit message if [ -n "$long_desc" ]; then - commit_msg+=" - -$long_desc" + commit_msg+="\n\n$long_desc" fi # Print the commit message to the console @@ -83,4 +74,4 @@ if git push origin "$branch"; then echo -e "\033[1;32mChanges pushed to remote branch '$branch'.\033[0m" else error_exit "Push failed. Please check your connection or branch permissions." -fi \ No newline at end of file +fi diff --git a/src/components/home/FeatureCard.tsx b/src/components/home/FeatureCard.tsx index b2337fae..70aa6f0d 100644 --- a/src/components/home/FeatureCard.tsx +++ b/src/components/home/FeatureCard.tsx @@ -1,6 +1,6 @@ -import { motion } from 'framer-motion'; -import { LucideIcon } from 'lucide-react'; -import clsx from 'clsx'; // Optional, for cleaner class management +import { motion } from "framer-motion"; +import { LucideIcon } from "lucide-react"; +import clsx from "clsx"; interface FeatureCardProps { title: string; @@ -12,41 +12,47 @@ interface FeatureCardProps { export function FeatureCard({ title, description, icon: Icon, delay = 0 }: FeatureCardProps) { return (
- {/* Hover gradient overlay */} -
+ {/* Dynamic gradient overlay */} +
- {/* Icon centered with hover effect */} -
+ {/* Icon with subtle hover animations */} +
- {/* Title with enhanced typography */} -

+ {/* Title with modern typography */} +

{title}

- {/* Description with improved readability */} -

+ {/* Description with optimized spacing and readability */} +

{description}

+ + {/* Subtle floating shadow effect */} +