Skip to content

Commit

Permalink
chore: remove ProductDescription section
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgemoya committed Dec 20, 2024
1 parent 91fd6d9 commit 7f31fba
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 304 deletions.
8 changes: 0 additions & 8 deletions apps/web/vibes/soul/docs/product-description.mdx

This file was deleted.

21 changes: 0 additions & 21 deletions apps/web/vibes/soul/examples.ts
Original file line number Diff line number Diff line change
Expand Up @@ -660,27 +660,6 @@ export const examples = [
files: ['examples/primitives/products-carousel/index.tsx'],
component: lazy(() => import('./examples/primitives/products-carousel')),
},
{
name: 'product-description-electric-example',
dependencies: [],
registryDependencies: ['product-description-electric'],
files: ['examples/sections/product-description/electric.tsx'],
component: lazy(() => import('./examples/sections/product-description/electric')),
},
{
name: 'product-description-warm-example',
dependencies: [],
registryDependencies: ['product-description-warm'],
files: ['examples/sections/product-description/warm.tsx'],
component: lazy(() => import('./examples/sections/product-description/warm')),
},
{
name: 'product-description-luxury-example',
dependencies: [],
registryDependencies: ['product-description-luxury'],
files: ['examples/sections/product-description/luxury.tsx'],
component: lazy(() => import('./examples/sections/product-description/luxury')),
},
{
name: 'product-detail-electric-example',
dependencies: [],
Expand Down
7 changes: 0 additions & 7 deletions apps/web/vibes/soul/examples/pages/product/electric.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ import { action as subscribeAction } from '@/vibes/soul/examples/primitives/inli
import { localeAction } from '@/vibes/soul/examples/primitives/navigation/actions';
import { navigationLinks } from '@/vibes/soul/examples/primitives/navigation/electric';
import { footerLinks, logo } from '@/vibes/soul/examples/sections/footer/electric';
import {
accordions,
productDescriptionImage,
} from '@/vibes/soul/examples/sections/product-description/electric';
import { action, fields } from '@/vibes/soul/examples/sections/product-detail/action';
import { product } from '@/vibes/soul/examples/sections/product-detail/electric';
import { reviews } from '@/vibes/soul/examples/sections/reviews';
Expand All @@ -16,7 +12,6 @@ import { Navigation } from '@/vibes/soul/primitives/navigation';
import { FeaturedProductsCarousel } from '@/vibes/soul/sections/featured-products-carousel';
import { Footer } from '@/vibes/soul/sections/footer';
import { IconBlock } from '@/vibes/soul/sections/icon-block';
import { ProductDescription } from '@/vibes/soul/sections/product-description';
import { ProductDetail } from '@/vibes/soul/sections/product-detail';
import { Reviews } from '@/vibes/soul/sections/reviews';
import { Subscribe } from '@/vibes/soul/sections/subscribe';
Expand All @@ -43,8 +38,6 @@ export default async function Preview() {

<ProductDetail action={action} fields={fields} product={product} />

<ProductDescription accordions={accordions} image={productDescriptionImage} />

<IconBlock
list={[
{
Expand Down
7 changes: 0 additions & 7 deletions apps/web/vibes/soul/examples/pages/product/luxury.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ import { action as subscribeAction } from '@/vibes/soul/examples/primitives/inli
import { localeAction } from '@/vibes/soul/examples/primitives/navigation/actions';
import { navigationLinks } from '@/vibes/soul/examples/primitives/navigation/luxury';
import { footerLinks, logo } from '@/vibes/soul/examples/sections/footer/luxury';
import {
accordions,
productDescriptionImage,
} from '@/vibes/soul/examples/sections/product-description/luxury';
import { action, fields } from '@/vibes/soul/examples/sections/product-detail/action';
import { product } from '@/vibes/soul/examples/sections/product-detail/luxury';
import { reviews } from '@/vibes/soul/examples/sections/reviews';
Expand All @@ -16,7 +12,6 @@ import { Navigation } from '@/vibes/soul/primitives/navigation';
import { FeaturedProductsCarousel } from '@/vibes/soul/sections/featured-products-carousel';
import { Footer } from '@/vibes/soul/sections/footer';
import { IconBlock } from '@/vibes/soul/sections/icon-block';
import { ProductDescription } from '@/vibes/soul/sections/product-description';
import { ProductDetail } from '@/vibes/soul/sections/product-detail';
import { Reviews } from '@/vibes/soul/sections/reviews';
import { Subscribe } from '@/vibes/soul/sections/subscribe';
Expand Down Expand Up @@ -44,8 +39,6 @@ export default async function Preview() {

<ProductDetail action={action} fields={fields} product={product} />

<ProductDescription accordions={accordions} image={productDescriptionImage} />

<IconBlock
list={[
{
Expand Down
7 changes: 0 additions & 7 deletions apps/web/vibes/soul/examples/pages/product/warm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ import { action as subscribeAction } from '@/vibes/soul/examples/primitives/inli
import { localeAction } from '@/vibes/soul/examples/primitives/navigation/actions';
import { navigationLinks } from '@/vibes/soul/examples/primitives/navigation/warm';
import { footerLinks, logo } from '@/vibes/soul/examples/sections/footer/warm';
import {
accordions,
productDescriptionImage,
} from '@/vibes/soul/examples/sections/product-description/warm';
import { action, fields } from '@/vibes/soul/examples/sections/product-detail/action';
import { product } from '@/vibes/soul/examples/sections/product-detail/warm';
import { reviews } from '@/vibes/soul/examples/sections/reviews';
Expand All @@ -16,7 +12,6 @@ import { Navigation } from '@/vibes/soul/primitives/navigation';
import { FeaturedProductsCarousel } from '@/vibes/soul/sections/featured-products-carousel';
import { Footer } from '@/vibes/soul/sections/footer';
import { IconBlock } from '@/vibes/soul/sections/icon-block';
import { ProductDescription } from '@/vibes/soul/sections/product-description';
import { ProductDetail } from '@/vibes/soul/sections/product-detail';
import { Reviews } from '@/vibes/soul/sections/reviews';
import { Subscribe } from '@/vibes/soul/sections/subscribe';
Expand Down Expand Up @@ -44,8 +39,6 @@ export default async function Preview() {

<ProductDetail action={action} fields={fields} product={product} />

<ProductDescription accordions={accordions} image={productDescriptionImage} />

<IconBlock
list={[
{
Expand Down

This file was deleted.

This file was deleted.

47 changes: 0 additions & 47 deletions apps/web/vibes/soul/examples/sections/product-description/warm.tsx

This file was deleted.

6 changes: 0 additions & 6 deletions apps/web/vibes/soul/navigation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,6 @@ export const navigation = [
file: 'docs/products-carousel.mdx',
component: 'products-carousel',
},
{
title: 'Product Description',
slug: 'product-description',
file: 'docs/product-description.mdx',
component: 'product-description',
},
{
title: 'Product List',
slug: 'products-list',
Expand Down
6 changes: 0 additions & 6 deletions apps/web/vibes/soul/primitives.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,6 @@ export const primitives = [
registryDependencies: ['product-card'],
files: ['primitives/products-list/index.tsx'],
},
{
name: 'product-description',
dependencies: [],
registryDependencies: ['accordions'],
files: ['sections/product-description/index.tsx'],
},
{
name: 'rating',
dependencies: [],
Expand Down
6 changes: 0 additions & 6 deletions apps/web/vibes/soul/sections.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,6 @@ export const sections = [
'sections/products-list-section/sorting.tsx',
],
},
{
name: 'product-description',
dependencies: [],
registryDependencies: ['accordions'],
files: ['sections/product-description/index.tsx'],
},
{
name: 'reset-password-section',
dependencies: [],
Expand Down
89 changes: 0 additions & 89 deletions apps/web/vibes/soul/sections/product-description/index.tsx

This file was deleted.

0 comments on commit 7f31fba

Please sign in to comment.