Skip to content

Commit

Permalink
chore(documentation, styles): remove topic teaser (#4056)
Browse files Browse the repository at this point in the history
  • Loading branch information
leagrdv authored Nov 25, 2024
1 parent 5b08277 commit 2115474
Show file tree
Hide file tree
Showing 12 changed files with 6 additions and 531 deletions.
6 changes: 6 additions & 0 deletions .changeset/tidy-keys-push.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@swisspost/design-system-documentation': major
'@swisspost/design-system-styles': major
---

Removed deprecated `topic-teaser`.
13 changes: 0 additions & 13 deletions packages/documentation/cypress/e2e/components/topic-teaser.cy.ts

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

52 changes: 0 additions & 52 deletions packages/nextjs-integration/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,58 +108,6 @@ export default function Home() {
</a>
</section>

<section className="mt-huge-r">
<div className="topic-teaser mb-huge-r bg-yellow">
<div className="container">
<div className="topic-teaser-container bg-yellow">
<div className="row pt-huge-r">
<div className="topic-teaser-content">
<h2 className="topic-teaser-title font-curve-large mb-24">
<span className="bold">Post für Sie</span>
<span className="light">Einfach versenden, schnell ankommen</span>
</h2>
<ul className="link-list mb-24">
<li className="link-list-item">
<a href="#">
<span>Briefe versenden</span>
</a>
</li>

<li className="link-list-item">
<a href="#">
<span>Pakete versenden</span>
</a>
</li>

<li className="link-list-item">
<a href="#">
<span>Express und Kurier</span>
</a>
</li>

<li className="link-list-item">
<a href="#">
<span>Einschreiben aufgeben</span>
</a>
</li>
</ul>
</div>

<div className="topic-teaser-image-container">
<Image
width={1000}
height={1000}
className="topic-teaser-image w-100 h-100"
src="/street.jpg"
alt=""
/>
</div>
</div>
</div>
</div>
</div>
</section>

<section className="pt-huge-r mb-huge-r">
<div className="row">
<div className="col-lg-4 col-sm-6 col-12 mb-16">
Expand Down
1 change: 0 additions & 1 deletion packages/styles/src/components/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
@use 'timepicker';
@use 'toast';
@use 'tooltip';
@use 'topic-teaser';
@use 'transitions';
@use 'tag';

Expand Down
Loading

0 comments on commit 2115474

Please sign in to comment.