Skip to content

Commit

Permalink
change change
Browse files Browse the repository at this point in the history
  • Loading branch information
ivke995 committed Feb 14, 2025
1 parent 56ce82b commit 9889621
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
4 changes: 0 additions & 4 deletions apps/website/src/components/_grid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,3 @@ grid-cols-6 md:grid-cols-12
gap-x-3 lg:gap-x-7
gap-y-7 lg:gap-y-12
`;

export const hero_grid_classes = `
grid grid-cols-6 md:grid-cols-12
lg:gap-x-7 lg:gap-y-12`
8 changes: 4 additions & 4 deletions apps/website/src/components/hero.astro
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
---
import { hero_grid_classes } from "./_grid";
import { grid_classes } from "./_grid";
import Pill from "./Pill.astro";
import Section from "./Section.astro";
---

<Section className="!py-0 !px-0">
<div
class={`${hero_grid_classes} bg-[#424C6D] flex rounded-b-2xl overflow-hidden max-sm:mx-4 mx-7`}
class={`${grid_classes} !gap-0 bg-[#424C6D] flex rounded-b-2xl overflow-hidden max-sm:mx-4 mx-7`}
>
<div
class="col-start-3 col-span-4 md:col-start-6 md:col-span-7 xl:col-start-8 xl-col-span-5 rounded-bl-lg"
class="col-start-3 col-span-4 md:col-start-6 md:col-span-7 xl:col-start-8 xl:col-span-5 rounded-bl-lg"
>
<img src="/croco-13.png" alt="" class="" />
</div>
Expand Down Expand Up @@ -61,7 +61,7 @@ import Section from "./Section.astro";
</div>
</div>
<h4 class="text-base text-start md:text-center mx-4 md:mx-7 font-bold uppercase mt-[72px]">Trusted By:</span>
<div class="overflow-x-auto whitespace-nowrap px-4">
<div class="overflow-x-auto whitespace-nowrap px-4 no-scrollbar">
<div class="flex gap-7 justify-center my-8 lg:my-10 min-w-max">
<img src="/conductor.svg" alt="" class="grayscale opacity-50 w-[200px]" />
<img
Expand Down
8 changes: 8 additions & 0 deletions apps/website/src/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@
.will-change-transform {
will-change: transform;
}
.no-scrollbar::-webkit-scrollbar {
display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
}

* {
Expand Down

0 comments on commit 9889621

Please sign in to comment.