Skip to content

Commit

Permalink
chore: default show install buttons on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
vdhieu committed Dec 15, 2023
1 parent 14d3076 commit 0ac2174
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions components/LandingPage/About.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ const products = [

export default function About() {
return (
<div id="about" className="relative bg-white px-5 lg:px-20 py-12">
<div className="relative z-0 max-w-7xl mx-auto space-y-5">
<div id="about" className="relative bg-white py-12">
<div className="relative z-0 max-w-7xl px-5 lg:px-20 mx-auto space-y-5">
<div className="justify-between items-center gap-3 inline-flex w-full">
<img
alt="icon info"
Expand Down
4 changes: 2 additions & 2 deletions components/LandingPage/Banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { Button, Typography } from '@mochi-ui/core'

export default function Banner() {
return (
<div id="neko-emoji-banner" className="bg-stone-50 px-5 lg:px-20 py-20">
<div className="max-w-7xl mx-auto flex flex-wrap items-center justify-center">
<div id="neko-emoji-banner" className="bg-stone-50 py-20">
<div className="max-w-7xl px-5 lg:px-20 mx-auto flex flex-wrap items-center justify-center">
<div className="w-full lg:w-5/12 order-2 lg:order-1 space-y-4">
<Typography
level="h1"
Expand Down
4 changes: 2 additions & 2 deletions components/LandingPage/Gallery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ export default function Gallery() {
return (
<div
id="gallery"
className="relative bg-white px-5 lg:px-20 py-8 lg:py-28 overflow-hidden"
className="relative bg-white py-8 lg:py-28 overflow-hidden"
>
<div
className={clsx(
'relative z-0 max-w-7xl mx-auto grid grid-cols-5 lg:grid-cols-8 gap-5 lg:gap-10 transition-all overflow-hidden',
'relative z-0 max-w-7xl px-5 lg:px-20 mx-auto grid grid-cols-5 lg:grid-cols-8 gap-5 lg:gap-10 transition-all overflow-hidden',
{
'h-[400px] lg:h-[500px]': !showAll,
'max-h-full': showAll,
Expand Down
5 changes: 3 additions & 2 deletions components/layout/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ const mobileNavItems = [
type="multiple"
className="!p-0 !text-neutral-900 rounded-none shadow-none"
key="install-accordion"
defaultValue={['1']}
>
<AccordionItem value="1">
<AccordionTrigger
Expand All @@ -83,7 +84,7 @@ const mobileNavItems = [
>
Install
</AccordionTrigger>
<AccordionContent className="mt-4 !px-1 !py-0 gap-1">
<AccordionContent className="gap-1">
{installContentMenus}
</AccordionContent>
</AccordionItem>
Expand All @@ -100,7 +101,7 @@ export default function Navbar() {
<div className="w-full fixed lg:sticky top-0 shadow bg-white z-40">
<div className="max-w-7xl mx-auto">
<TopBar
className="border-none"
className="border-none lg:!px-0"
leftSlot={
<Link
href=""
Expand Down

0 comments on commit 0ac2174

Please sign in to comment.