forked from emre/www_projectmycelium_com
refactor: improve MediaHero and MediaType responsive design for mobile and tablet viewports
- Changed MediaHero H4 top margin from mt-8 to lg:mt-8 mt-4 for better mobile spacing - Changed download button icon size from h-12 w-12 to h-5 w-5 md:h-6 md:w-6 with responsive padding and text sizing - Changed logo_dark grid gap from gap-2 lg:gap-0 to gap-0 for consistent spacing - Changed logo_dark border color from border-gray-100 to border-gray-800 for better dark background contrast - Changed Media
This commit is contained in:
@@ -61,19 +61,19 @@ export function MediaHero() {
|
||||
Download official Mycelium logos for light and dark backgrounds in SVG and PNG formats.
|
||||
</P>
|
||||
|
||||
<H4 className="mt-8 text-gray-800 tracking-normal flex items-center gap-2">
|
||||
<H4 className="lg:mt-8 mt-4 text-gray-800 tracking-normal flex items-center gap-2">
|
||||
<span>Mycelium Logos (Light)</span>
|
||||
<a
|
||||
href="/images/mediakit/logo_light.zip"
|
||||
download
|
||||
className="inline-flex items-center justify-center rounded-full p-1 text-gray-800 hover:text-cyan-600 hover:bg-cyan-50 transition-colors text-xs"
|
||||
className="inline-flex items-center justify-center rounded-full p-1 text-gray-800 hover:text-cyan-600 hover:bg-cyan-50 transition-colors text-[10px] md:text-xs md:p-1.5"
|
||||
aria-label="Download Mycelium light logos zip"
|
||||
>
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 20 20"
|
||||
fill="currentColor"
|
||||
className="h-12 w-12"
|
||||
className="h-5 w-5 md:h-6 md:w-6"
|
||||
>
|
||||
<path d="M10 2a.75.75 0 0 1 .75.75v8.19l2.22-2.22a.75.75 0 1 1 1.06 1.06l-3.5 3.5a.75.75 0 0 1-1.06 0l-3.5-3.5a.75.75 0 0 1 1.06-1.06l2.22 2.22V2.75A.75.75 0 0 1 10 2Z" />
|
||||
<path d="M3.5 12.75a.75.75 0 0 1 .75.75v1.5h11.5v-1.5a.75.75 0 0 1 1.5 0v2.25a.75.75 0 0 1-.75.75H4.25A.75.75 0 0 1 3.5 15v-1.5a.75.75 0 0 1 .75-.75Z" />
|
||||
@@ -124,14 +124,14 @@ export function MediaHero() {
|
||||
<a
|
||||
href="/images/mediakit/logo_dark.zip"
|
||||
download
|
||||
className="inline-flex items-center justify-center rounded-full p-1 text-gray-800 hover:text-cyan-600 hover:bg-cyan-50 transition-colors text-xs"
|
||||
className="inline-flex items-center justify-center rounded-full p-1 text-gray-800 hover:text-cyan-600 hover:bg-cyan-50 transition-colors text-[10px] md:text-xs md:p-1.5"
|
||||
aria-label="Download Mycelium dark logos zip"
|
||||
>
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 20 20"
|
||||
fill="currentColor"
|
||||
className="h-12 w-12"
|
||||
className="h-5 w-5 md:h-6 md:w-6"
|
||||
>
|
||||
<path d="M10 2a.75.75 0 0 1 .75.75v8.19l2.22-2.22a.75.75 0 1 1 1.06 1.06l-3.5 3.5a.75.75 0 0 1-1.06 0l-3.5-3.5a.75.75 0 0 1 1.06-1.06l2.22 2.22V2.75A.75.75 0 0 1 10 2Z" />
|
||||
<path d="M3.5 12.75a.75.75 0 0 1 .75.75v1.5h11.5v-1.5a.75.75 0 0 1 1.5 0v2.25a.75.75 0 0 1-.75.75H4.25A.75.75 0 0 1 3.5 15v-1.5a.75.75 0 0 1 .75-.75Z" />
|
||||
@@ -140,11 +140,11 @@ export function MediaHero() {
|
||||
</H4>
|
||||
|
||||
<div className="bg-[#121212] w-full max-w-8xl mx-auto mt-6">
|
||||
<dl className="grid grid-cols-1 lg:grid-cols-4 gap-2 lg:gap-0">
|
||||
<dl className="grid grid-cols-1 lg:grid-cols-4 gap-0">
|
||||
{logo_dark.map((item) => (
|
||||
<div
|
||||
key={item.id}
|
||||
className="group gap-2 bg-[#121212] px-4 py-2 border border-gray-100 lg:border-t lg:border-b border-l-0.5 border-r-0.5 transition-all duration-300 ease-in-out hover:scale-[1.02] hover:border-cyan-500 hover:shadow-lg hover:shadow-cyan-500/20"
|
||||
className="group gap-2 bg-[#121212] px-4 py-2 border border-gray-800 lg:border-t lg:border-b border-l-0.5 border-r-0.5 transition-all duration-300 ease-in-out hover:scale-[1.02] hover:border-cyan-500 hover:shadow-lg hover:shadow-cyan-500/20"
|
||||
>
|
||||
<img
|
||||
src={item.image}
|
||||
|
||||
Reference in New Issue
Block a user