Skip to content

Commit 35305ce

Browse files
committed
cards
1 parent 3c18ed6 commit 35305ce

2 files changed

Lines changed: 1 addition & 15 deletions

File tree

src/app/features/home/home.component.html

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -110,17 +110,6 @@ <h1 class="text-4xl sm:text-5xl md:text-6xl lg:text-5xl xl:text-6xl font-bold te
110110
</div>
111111
</div>
112112

113-
<!-- Mobile: Screenshot fallback -->
114-
<div class="lg:hidden hero-screenshot">
115-
<img
116-
src="/screenshots/filings-presentations.jpeg"
117-
alt="Nullabroke filing search interface showing the query builder with 19 saved queries, SQL-like search syntax, and results for 8-K presentation filings"
118-
class="w-full rounded-xl"
119-
loading="eager"
120-
width="1920"
121-
height="1080"
122-
/>
123-
</div>
124113
</div>
125114
</div>
126115
</section>

src/app/features/home/home.component.spec.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,17 +49,14 @@ describe('HomeComponent', () => {
4949
expect(h1?.textContent).toContain('precision');
5050
});
5151

52-
it('should render hero mockups on desktop and screenshot on mobile', () => {
52+
it('should render hero floating mockups', () => {
5353
const el: HTMLElement = fixture.nativeElement;
5454
const mockups = el.querySelector('.hero-mockups');
5555
expect(mockups).toBeTruthy();
5656
const mockupResults = el.querySelector('.mockup-results');
5757
expect(mockupResults).toBeTruthy();
5858
const mockupQueries = el.querySelector('.mockup-queries');
5959
expect(mockupQueries).toBeTruthy();
60-
const heroImg = el.querySelector('.hero-screenshot img') as HTMLImageElement;
61-
expect(heroImg).toBeTruthy();
62-
expect(heroImg.src).toContain('filings-presentations');
6360
});
6461

6562
it('should render the scrolling marquee with 8 items', () => {

0 commit comments

Comments
 (0)