diff --git a/src/components/Hero.tsx b/src/components/Hero.tsx index 1fbc9bf..9fcc3aa 100644 --- a/src/components/Hero.tsx +++ b/src/components/Hero.tsx @@ -162,13 +162,13 @@ const Hero = () => { variants={containerVariants} > - NEW - Creator Packs are here! - + Osmium out + { }} whileTap={{ scale: 0.95 }} > - { Check Music Copyright - + @@ -256,4 +256,4 @@ const Hero = () => { ) } -export default React.memo(Hero) \ No newline at end of file +export default React.memo(Hero) diff --git a/src/components/PopularTools.tsx b/src/components/PopularTools.tsx index 5256983..2c0dfc8 100644 --- a/src/components/PopularTools.tsx +++ b/src/components/PopularTools.tsx @@ -17,10 +17,10 @@ const PopularTools = () => { const tools: Tool[] = [ { id: 1, - title: 'Music Copyright Checker', - description: 'Check if a song is copyrighted before using it in your videos.', + title: 'Osmium', + description: 'Osmium will be the first and the last tool for your copyright checks.', icon: IconMusic, - path: '/gappa', + path: 'https://osmiumchecks.vercel.app/', color: 'from-blue-500/80 to-blue-600/80' }, { @@ -97,57 +97,74 @@ const PopularTools = () => { whileInView="visible" viewport={{ once: true }} > - {tools.map((tool) => ( + {tools.map((tool) => { + const isExternal = tool.path.startsWith('http'); + const card = ( + + + + + + {tool.title} + + + {tool.description} + + + + Try it now + + + ); + + return ( - setHoveredId(tool.id)} - onMouseLeave={() => setHoveredId(null)} - > - setHoveredId(tool.id)} + onMouseLeave={() => setHoveredId(null)} + > + {card} + + ) : ( + setHoveredId(tool.id)} + onMouseLeave={() => setHoveredId(null)} > - - - - - {tool.title} - - - {tool.description} - - - - Try it now - - - + {card} + + )} - ))} + )})} ); }; -export default React.memo(PopularTools); \ No newline at end of file +export default React.memo(PopularTools);
+ {tool.description} +
- {tool.description} -