Skip to content

Commit

Permalink
docs: container padding
Browse files Browse the repository at this point in the history
  • Loading branch information
mauroreisvieira committed Dec 26, 2024
1 parent 39751af commit 2c8f7ed
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
7 changes: 3 additions & 4 deletions src/stories/ecommerce/examples/collections/Collections.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
import React, { useMemo, useReducer } from "react";
// UI Components
import { Text, Container, Stack, Box, Accordion, Grid, Checkbox } from "@stewed/react";
import { Text, Container, Stack, Box, Accordion, Grid, Checkbox, Separator } from "@stewed/react";
// Partials
import { Products } from "./components/Products";
import { Header } from "./components/Header";
// Hooks
import { useFetchImages } from "../../../../api/useFetchImages";
// Icons
import { HiMinusSm, HiOutlinePlusSm } from "react-icons/hi";
// Data
import { FILTERS, PRODUCTS } from "./components/data";
import { Header } from "./components/Header";
import { Separator } from "@stewed/react";
import { Slider } from "@stewed/react";

interface Filters {
tag: string[];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ interface HeaderProps {

export function Header({ sort, setSort }: HeaderProps): React.ReactElement {
return (
<Box skin="neutral-faded" padding={{ block: "4xl", inline: "lg" }}>
<Container screen="xl" alignment="center" padding={{ block: "7xl" }}>
<Box skin="neutral-faded" padding={{ block: "4xl" }}>
<Container screen="xl" alignment="center" padding={{ block: "7xl", inline: "lg" }}>
<Stack justify="between" items="baseline">
<div>
<Text as="h1" size="3xl" weight="medium">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from "react";
// UI Components
import { Hoverable, MotionProps, Text, Card, Motion, Box, Stack, Button } from "@stewed/react";
// Icons
import { IoEyeOutline, IoHeartOutline, IoStar } from "react-icons/io5";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from "react";
// UI Components
import { Box, Grid, Stack, Text } from "@stewed/react";
// Partials
import { ProductItem, type ProductItemProps } from "./ProductItem";

interface ProductsProps {
Expand Down

0 comments on commit 2c8f7ed

Please sign in to comment.