From ea1d66da1992acf22be32ecdb277796d46998b4d Mon Sep 17 00:00:00 2001
From: lharti <7027812+lharti@users.noreply.github.com>
Date: Thu, 14 Nov 2024 08:46:58 +0100
Subject: [PATCH] fix(web): landing page style (#112)
* fix(web): landing page style
* chore(release): bump versions
- jsonthing-web@0.5.5
---
apps/jsonthing-web/CHANGELOG.md | 11 +++
apps/jsonthing-web/package.json | 2 +-
.../pages/LandingPage/LandingPage.spec.tsx | 23 ++++-
.../pages/LandingPage/LandingPage.tsx | 67 ++-----------
.../LandingPageHero/LandingPageHero.spec.tsx | 20 ++++
.../LandingPageHero/LandingPageHero.tsx | 96 +++++++++++++++++++
.../LandingPageHero.spec.tsx.snap | 54 +++++++++++
.../LandingPage/LandingPageHero/index.ts | 1 +
.../__snapshots__/LandingPage.spec.tsx.snap | 63 ------------
9 files changed, 213 insertions(+), 124 deletions(-)
create mode 100644 apps/jsonthing-web/src/components/pages/LandingPage/LandingPageHero/LandingPageHero.spec.tsx
create mode 100644 apps/jsonthing-web/src/components/pages/LandingPage/LandingPageHero/LandingPageHero.tsx
create mode 100644 apps/jsonthing-web/src/components/pages/LandingPage/LandingPageHero/__snapshots__/LandingPageHero.spec.tsx.snap
create mode 100644 apps/jsonthing-web/src/components/pages/LandingPage/LandingPageHero/index.ts
delete mode 100644 apps/jsonthing-web/src/components/pages/LandingPage/__snapshots__/LandingPage.spec.tsx.snap
diff --git a/apps/jsonthing-web/CHANGELOG.md b/apps/jsonthing-web/CHANGELOG.md
index 4f48e80..039a83b 100644
--- a/apps/jsonthing-web/CHANGELOG.md
+++ b/apps/jsonthing-web/CHANGELOG.md
@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.5.5](https://github.com/lharti/jsonthing/compare/jsonthing-web@0.5.4...jsonthing-web@0.5.5) (2024-11-14)
+
+
+### Bug Fixes
+
+* **web:** landing page style ([eaf8bca](https://github.com/lharti/jsonthing/commit/eaf8bca1705f5451c3647fd728f5890e7013475a))
+
+
+
+
+
## [0.5.4](https://github.com/lharti/jsonthing/compare/jsonthing-web@0.5.3...jsonthing-web@0.5.4) (2024-11-13)
diff --git a/apps/jsonthing-web/package.json b/apps/jsonthing-web/package.json
index 0b143fb..4d20ad2 100644
--- a/apps/jsonthing-web/package.json
+++ b/apps/jsonthing-web/package.json
@@ -1,6 +1,6 @@
{
"name": "jsonthing-web",
- "version": "0.5.4",
+ "version": "0.5.5",
"private": true,
"scripts": {
"dev": "next dev --turbo",
diff --git a/apps/jsonthing-web/src/components/pages/LandingPage/LandingPage.spec.tsx b/apps/jsonthing-web/src/components/pages/LandingPage/LandingPage.spec.tsx
index 926d056..6f5345f 100644
--- a/apps/jsonthing-web/src/components/pages/LandingPage/LandingPage.spec.tsx
+++ b/apps/jsonthing-web/src/components/pages/LandingPage/LandingPage.spec.tsx
@@ -1,15 +1,32 @@
+import { LandingPageHero } from '@/components/pages/LandingPage/LandingPageHero'
import { render } from '@testing-library/react'
import React from 'react'
-import { LandingPage } from './LandingPage'
+import { LandingPage } from '.'
-jest.mock('@/components/CreateNewDocButton')
+jest.mock('./LandingPageHero')
describe('
- {`Edit, - and access your JSON documents with automatically generated API endpoints.`} -
- -+ {`Edit, and access your JSON documents with automatically generated API endpoints.`} +
+ ++ Edit, and access your JSON documents with automatically generated API endpoints. +
+ +- Edit, - and access your JSON documents with automatically generated API endpoints. -
-