mirror of
https://github.com/rohitg00/skillkit.git
synced 2026-11-19 02:13:58 +00:00
fix: improve mobile responsiveness for agents and features sections
This commit is contained in:
@@ -201,13 +201,13 @@ export function Agents(): React.ReactElement {
|
||||
href={agent.url}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="flex flex-col items-center gap-3 group opacity-70 hover:opacity-100 transition-all duration-300 px-8 flex-shrink-0"
|
||||
className="flex flex-col items-center gap-2 sm:gap-3 group opacity-70 hover:opacity-100 transition-all duration-300 px-4 sm:px-8 flex-shrink-0"
|
||||
title={agent.name}
|
||||
>
|
||||
<div className="text-zinc-200 group-hover:text-white transition-colors [&_svg]:w-14 [&_svg]:h-14">
|
||||
<div className="text-zinc-200 group-hover:text-white transition-colors [&_svg]:w-10 [&_svg]:h-10 sm:[&_svg]:w-14 sm:[&_svg]:h-14">
|
||||
{agent.icon}
|
||||
</div>
|
||||
<span className="text-zinc-500 font-mono text-xs group-hover:text-zinc-300 transition-colors whitespace-nowrap">
|
||||
<span className="text-zinc-500 font-mono text-[10px] sm:text-xs group-hover:text-zinc-300 transition-colors whitespace-nowrap">
|
||||
{agent.name}
|
||||
</span>
|
||||
</a>
|
||||
|
||||
@@ -80,18 +80,18 @@ export function Features(): React.ReactElement {
|
||||
<p className="text-zinc-500 font-mono text-sm mb-6">
|
||||
Universal bridge for AI coding agents.
|
||||
</p>
|
||||
<div className="flex gap-8">
|
||||
<div className="flex gap-6 sm:gap-8">
|
||||
<div>
|
||||
<div className="text-3xl font-bold text-white font-mono">17+</div>
|
||||
<div className="text-zinc-600 text-xs font-mono">Agents</div>
|
||||
<div className="text-2xl sm:text-3xl font-bold text-white font-mono">17+</div>
|
||||
<div className="text-zinc-600 text-[10px] sm:text-xs font-mono">Agents</div>
|
||||
</div>
|
||||
<div>
|
||||
<div className="text-3xl font-bold text-white font-mono">1</div>
|
||||
<div className="text-zinc-600 text-xs font-mono">Command</div>
|
||||
<div className="text-2xl sm:text-3xl font-bold text-white font-mono">1</div>
|
||||
<div className="text-zinc-600 text-[10px] sm:text-xs font-mono">Command</div>
|
||||
</div>
|
||||
<div>
|
||||
<div className="text-3xl font-bold text-white font-mono">∞</div>
|
||||
<div className="text-zinc-600 text-xs font-mono">Skills</div>
|
||||
<div className="text-2xl sm:text-3xl font-bold text-white font-mono">∞</div>
|
||||
<div className="text-zinc-600 text-[10px] sm:text-xs font-mono">Skills</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -118,7 +118,7 @@ export function Features(): React.ReactElement {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-6 gap-3">
|
||||
<div className="grid grid-cols-1 xs:grid-cols-2 md:grid-cols-3 lg:grid-cols-6 gap-3">
|
||||
{FEATURES.map((feature, index) => (
|
||||
<div
|
||||
key={feature.title}
|
||||
|
||||
@@ -15,6 +15,14 @@
|
||||
tailwind.config = {
|
||||
darkMode: 'class',
|
||||
theme: {
|
||||
screens: {
|
||||
'xs': '475px',
|
||||
'sm': '640px',
|
||||
'md': '768px',
|
||||
'lg': '1024px',
|
||||
'xl': '1280px',
|
||||
'2xl': '1536px',
|
||||
},
|
||||
extend: {
|
||||
fontFamily: {
|
||||
sans: ['Inter', 'sans-serif'],
|
||||
|
||||
Reference in New Issue
Block a user