Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

286-fix: Delete dublicates headers #339

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions src/widgets/events/events.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,6 @@ describe('Events', () => {
expect(subtitleElement).toBeVisible();
});

it('renders the section label correctly', () => {
const { getByText } = renderWithRouter(<Events />);
const sectionLabel = getByText('events & meetups');

expect(sectionLabel).toBeVisible();
});

it('renders the paragraph text correctly', () => {
const { getByText } = renderWithRouter(<Events />);
const paragraphText = getByText(/we have organized 150\+ events/i);
Expand Down
2 changes: 0 additions & 2 deletions src/widgets/events/ui/events.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import photo3 from '@/shared/assets/photo-3.webp';
import { getActualDataList } from '@/shared/helpers/getActualDataList';
import Image from '@/shared/ui/image';
import { Paragraph } from '@/shared/ui/paragraph';
import { SectionLabel } from '@/shared/ui/section-label';
import { Subtitle } from '@/shared/ui/subtitle';
import { Title } from '@/shared/ui/title';

Expand All @@ -33,7 +32,6 @@ export const Events = () => {
<article id="events" className={cn(cx('events'), 'container')}>
<div className={cn(cx('events', 'content'), 'content')}>
<section className={cx('info')}>
<SectionLabel label="events & meetups" />
<Title text="Meet us at events" hasAsterisk />
<Subtitle text="For years we have been organizing meetups and conferences, where you can always learn something new, share your knowledge, discover new technologies, meet old and find new friends." />
<Paragraph>
Expand Down
2 changes: 0 additions & 2 deletions src/widgets/merch/ui/merch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { ArrowIcon } from '@/shared/icons';
import Image from '@/shared/ui/image';
import { LinkCustom } from '@/shared/ui/link-custom';
import { Paragraph } from '@/shared/ui/paragraph';
import { SectionLabel } from '@/shared/ui/section-label';
import { Subtitle } from '@/shared/ui/subtitle';
import { Title } from '@/shared/ui/title';

Expand All @@ -14,7 +13,6 @@ export const Merch = () => (
<div id="merch" className="merch container">
<div className="merch content column-2">
<div className="info">
<SectionLabel label="merch" />
<Title text="RS merch" hasAsterisk />
<Subtitle text="Are you an RS sloth fan and looking for RS merch?" />
<Paragraph>
Expand Down
Loading