@redocly/marketing-pages 0.1.14 → 0.1.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- import c,{useEffect as s,useState as d}from"react";import a from"styled-components";import{linearGradient as u}from"polished";import{Button as m}from"../Button/CustomButton";const S=()=>{const[t,n]=d(!0);return s(()=>{const o=()=>{const i=document.querySelectorAll(".get-started-link");let e=!1;i.forEach(l=>{const r=l.getBoundingClientRect();r.top>=0&&r.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&(e=!0)}),n(!e)};return window.addEventListener("scroll",o),()=>{window.removeEventListener("scroll",o)}},[]),c.createElement(p,{to:"https://auth.cloud.redocly.com/registration",show:t},"Start 30-day free trial")},p=a(m)`
1
+ import c,{useEffect as s,useState as d}from"react";import a from"styled-components";import{linearGradient as m}from"polished";import{Button as u}from"../Button/CustomButton";const S=()=>{const[t,n]=d(!1);return s(()=>{const o=()=>{const i=document.querySelectorAll(".get-started-link");let e=!1;i.forEach(l=>{const r=l.getBoundingClientRect();r.top>=0&&r.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&(e=!0)}),n(!e)};return window.addEventListener("scroll",o),()=>{window.removeEventListener("scroll",o)}},[]),c.createElement(p,{to:"https://auth.cloud.redocly.com/registration",show:t},"Start 30-day free trial")},p=a(u)`
2
2
  display: ${t=>t.show?"block":"none"};
3
- background-color: ${u({colorStops:["#0068FB","#7E41FF"],toDirection:"to bottom right"})};
3
+ background-color: ${m({colorStops:["#0068FB","#7E41FF"],toDirection:"to bottom right"})};
4
4
  margin: 0;
5
5
  height: 64px;
6
6
  padding: 12px 24px;
@@ -1,10 +1,7 @@
1
- import e from"react";import n from"styled-components";import{Box as i}from"../../ui/Box";import{BottomRealmSection as r,CardsSection as m,CenterRealmSection as o,ImageSection as a,SymphonyOfDocumentation as l,TopRealmSection as c}from"./components";import{breakpoints as t}from"@redocly/theme/core/utils";import{ConfiguredLayout as d}from"../../components/PageWrapper/ConfiguredLayout";const E={seo:{title:"Realm",description:"Welcome to Realm: The Unified API Journey"},slug:"/realm"};function y(){return e.createElement(i,{width:"100vw",height:"fit-content",position:"relative"},e.createElement(p,{src:require("./images/bg-top.svg")}),e.createElement(s,{src:require("./images/bg-cards.svg")}),e.createElement(d,null,e.createElement(c,null),e.createElement(a,null),e.createElement(l,null),e.createElement(o,null),e.createElement(m,null),e.createElement(r,null)))}const p=n.img`
2
- display: flex;
3
- justify-content: center;
4
- align-items: center;
1
+ import e from"react";import n from"styled-components";import{Box as i}from"../../ui/Box";import{BottomRealmSection as m,CardsSection as r,CenterRealmSection as o,ImageSection as a,SymphonyOfDocumentation as l,TopRealmSection as d}from"./components";import{breakpoints as t}from"@redocly/theme/core/utils";import{ConfiguredLayout as p}from"../../components/PageWrapper/ConfiguredLayout";const E={seo:{title:"Realm",description:"Welcome to Realm: The Unified API Journey"},slug:"/realm"};function S(){return e.createElement(i,{width:"100vw",height:"fit-content",position:"relative"},e.createElement(c,{src:require("./images/bg-top.svg")}),e.createElement(s,{src:require("./images/bg-cards.svg")}),e.createElement(p,null,e.createElement(d,null),e.createElement(a,null),e.createElement(l,null),e.createElement(o,null),e.createElement(r,null),e.createElement(m,null)))}const c=n.img`
5
2
  position: absolute;
6
3
  top: 0;
7
- width: inherit;
4
+ width: 100%;
8
5
  margin-top: 400px;
9
6
 
10
7
  @media screen and (min-width: ${t.small}) {
@@ -18,9 +15,14 @@ import e from"react";import n from"styled-components";import{Box as i}from"../..
18
15
  @media screen and (min-width: ${t.large}) {
19
16
  margin-top: 0;
20
17
  }
18
+
19
+ @media screen and (min-width: 2500px) {
20
+ margin-top: 0;
21
+ width: 40%;
22
+ }
21
23
  `,s=n.img`
22
24
  position: absolute;
23
- width: inherit;
25
+ width: 100%;
24
26
  top: 5200px;
25
27
  right: 0;
26
28
  z-index: -1;
@@ -36,4 +38,12 @@ import e from"react";import n from"styled-components";import{Box as i}from"../..
36
38
  @media screen and (min-width: ${t.large}) {
37
39
  top: 5600px;
38
40
  }
39
- `;export{y as default,E as frontmatter};
41
+
42
+ @media screen and (min-width: 2000px) {
43
+ top: 4500px;
44
+ }
45
+
46
+ @media screen and (min-width: 2500px) {
47
+ width: 40%;
48
+ }
49
+ `;export{S as default,E as frontmatter};
@@ -1,8 +1,53 @@
1
- import e from"react";import r from"styled-components";import{Box as i}from"../../ui/Box";import{breakpoints as o}from"@redocly/theme/core/utils";import{TopRedocSection as n,FeatureOverviewSection as l,InteractiveDocumentationSection as c,BottomRedocSection as m,FeatureOverviewCard as a,FeatureCardsSection as s,BetterTogetherSection as u}from"./components";import{ConfiguredLayout as t}from"../../components/PageWrapper/ConfiguredLayout";import{H1Title as d}from"../../components/TypographyElements";const y={seo:{title:"Redoc",description:"Redoc is everything API docs should be"},slug:"/redoc"};function b(){return e.createElement(i,{width:"100vw",height:"fit-content",marginTop:"-64px",position:"relative"},e.createElement("img",{src:require("./images/top-bg.svg"),style:{position:"absolute",width:"inherit"}}),e.createElement(t,{style:{position:"relative"}},e.createElement(n,null),e.createElement(a,null)),e.createElement("img",{src:require("./images/feature-cards-bg.svg"),style:{position:"absolute",width:"inherit"}}),e.createElement(t,null,e.createElement(s,null),e.createElement(l,null)),e.createElement("img",{src:require("./images/interactive-documentation-bg.svg"),style:{position:"absolute",width:"inherit"}}),e.createElement(t,null,e.createElement(c,null)),e.createElement("img",{src:require("./images/better-together-bg.svg"),style:{position:"absolute",width:"inherit"}}),e.createElement(t,null,e.createElement(u,null),e.createElement(m,null)))}const x=r(d)`
1
+ import e from"react";import t from"styled-components";import{Box as n}from"../../ui/Box";import{breakpoints as r}from"@redocly/theme/core/utils";import{TopRedocSection as o,FeatureOverviewSection as a,InteractiveDocumentationSection as c,BottomRedocSection as m,FeatureOverviewCard as l,FeatureCardsSection as d,BetterTogetherSection as s}from"./components";import{ConfiguredLayout as i}from"../../components/PageWrapper/ConfiguredLayout";import{H1Title as p}from"../../components/TypographyElements";const S={seo:{title:"Redoc",description:"Redoc is everything API docs should be"},slug:"/redoc"};function k(){return e.createElement(n,{width:"100vw",height:"fit-content",marginTop:"-64px",position:"relative"},e.createElement(u,{src:require("./images/top-bg.svg")}),e.createElement(i,{style:{position:"relative"}},e.createElement(o,null),e.createElement(l,null)),e.createElement(h,{src:require("./images/feature-cards-bg.svg")}),e.createElement(i,null,e.createElement(d,null),e.createElement(a,null)),e.createElement(g,{src:require("./images/interactive-documentation-bg.svg")}),e.createElement(i,null,e.createElement(c,null)),e.createElement(w,{src:require("./images/better-together-bg.svg")}),e.createElement(i,null,e.createElement(s,null),e.createElement(m,null)))}const y=t(p)`
2
2
  color: var(--secondary-color);
3
3
  margin-bottom: 0;
4
4
 
5
- @media screen and (min-width: ${o.medium}) {
5
+ @media screen and (min-width: ${r.medium}) {
6
6
  text-align: left;
7
7
  }
8
- `;export{x as PageTitle,b as default,y as frontmatter};
8
+ `,u=t.img`
9
+ position: absolute;
10
+ width: inherit;
11
+
12
+ @media screen and (min-width: 2500px) {
13
+ top: 0;
14
+ }
15
+ `,h=t.img`
16
+ position: absolute;
17
+ width: inherit;
18
+
19
+ @media screen and (min-width: ${r.large}) {
20
+ top: 3600px;
21
+ right: 0;
22
+ }
23
+
24
+ @media screen and (min-width: 2500px) {
25
+ top: 600px;
26
+ height: 40%;
27
+ }
28
+ `,g=t.img`
29
+ position: absolute;
30
+ width: inherit;
31
+
32
+ @media screen and (min-width: ${r.large}) {
33
+ top: 3600px;
34
+ right: 0;
35
+ }
36
+
37
+ @media screen and (min-width: 2000px) {
38
+ height: 40%;
39
+ top: 1500px;
40
+ }
41
+ `,w=t.img`
42
+ position: absolute;
43
+ width: inherit;
44
+
45
+ @media screen and (min-width: ${r.large}) {
46
+ top: 3600px;
47
+ right: 0;
48
+ }
49
+
50
+ @media screen and (min-width: 2500px) {
51
+ top: 0;
52
+ }
53
+ `;export{y as PageTitle,k as default,S as frontmatter};
@@ -1,4 +1,4 @@
1
- import e from"react";import n from"styled-components";import{breakpoints as t}from"@redocly/theme/core/utils";import{AuthorTopic as f,BetterTogetherSection as g,CenterStage as w,CreativitySection as h,DescriptionTopics as E,FoundersLetter as x,TransformYourApiSection as v}from"./components";import{Box as S}from"../../ui/Box";import{useMediaQuery as r}from"../../hooks/useMediaQuery";import{ConfiguredLayout as $}from"../../components/PageWrapper/ConfiguredLayout";const k={seo:{title:"Revel"},slug:"/revel"};function A(){const[o,a]=e.useState(!1),[l,m]=e.useState(!1),[s,d]=e.useState(!1),c=r(`(max-width: calc(${t.small} - 1px))`),u=r(`only screen and (min-width : ${t.small}) and (max-width : calc(${t.medium} - 1px))`),p=r(`(min-width: ${t.medium})`);return e.useEffect(()=>{const i=()=>{a(c),d(u),m(p)};return i(),window.addEventListener("resize",i),()=>window.removeEventListener("resize",i)},[]),e.createElement(b,{width:"100vw",height:"fit-content"},e.createElement($,null,e.createElement(v,null),e.createElement(f,null),e.createElement(E,null),e.createElement(x,null),e.createElement(L,{src:o&&s&&require("./images/bg-middle.svg")||l&&require("./images/bg-large.svg")||require("./images/bg.svg")}),e.createElement(h,null),e.createElement(y,{src:require("./images/bg-better-together.svg")}),e.createElement(g,null),e.createElement(w,null)))}const b=n(S)`
1
+ import e from"react";import n from"styled-components";import{breakpoints as t}from"@redocly/theme/core/utils";import{AuthorTopic as f,BetterTogetherSection as w,CenterStage as h,CreativitySection as g,DescriptionTopics as E,FoundersLetter as x,TransformYourApiSection as v}from"./components";import{Box as S}from"../../ui/Box";import{useMediaQuery as r}from"../../hooks/useMediaQuery";import{ConfiguredLayout as $}from"../../components/PageWrapper/ConfiguredLayout";const k={seo:{title:"Revel"},slug:"/revel"};function A(){const[o,a]=e.useState(!1),[m,l]=e.useState(!1),[s,d]=e.useState(!1),c=r(`(max-width: calc(${t.small} - 1px))`),u=r(`only screen and (min-width : ${t.small}) and (max-width : calc(${t.medium} - 1px))`),p=r(`(min-width: ${t.medium})`);return e.useEffect(()=>{const i=()=>{a(c),d(u),l(p)};return i(),window.addEventListener("resize",i),()=>window.removeEventListener("resize",i)},[]),e.createElement(b,{width:"100vw",height:"fit-content"},e.createElement($,null,e.createElement(v,null),e.createElement(f,null),e.createElement(E,null),e.createElement(x,null),e.createElement(L,{src:o&&s&&require("./images/bg-middle.svg")||m&&require("./images/bg-large.svg")||require("./images/bg.svg")}),e.createElement(g,null),e.createElement(y,{src:require("./images/bg-better-together.svg")}),e.createElement(w,null),e.createElement(h,null)))}const b=n(S)`
2
2
  padding: 0 16px;
3
3
  position: relative;
4
4
 
@@ -16,6 +16,12 @@ import e from"react";import n from"styled-components";import{breakpoints as t}fr
16
16
  `,y=n.img`
17
17
  position: absolute;
18
18
  width: 80vw;
19
+
20
+ @media screen and (min-width: 2500px) {
21
+ width: 40%;
22
+ bottom: 0;
23
+ left: 0;
24
+ }
19
25
  `,L=n.img`
20
26
  position: absolute;
21
27
  right: 0;
@@ -24,4 +30,9 @@ import e from"react";import n from"styled-components";import{breakpoints as t}fr
24
30
  @media screen and (min-width: ${t.small}) {
25
31
  top: 32%;
26
32
  }
33
+
34
+ @media screen and (min-width: 2500px) {
35
+ width: 40%;
36
+ top: 0;
37
+ }
27
38
  `;export{A as default,k as frontmatter};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redocly/marketing-pages",
3
- "version": "0.1.14",
3
+ "version": "0.1.16",
4
4
  "keywords": [],
5
5
  "author": "",
6
6
  "license": "UNLICENSED",
@@ -43,7 +43,7 @@
43
43
  "ulid": "^2.3.0",
44
44
  "vitest": "^3.1.3",
45
45
  "html2canvas": "^1.4.1",
46
- "jspdf": "^3.0.1",
46
+ "jspdf": "^3.0.2",
47
47
  "json-schema-to-ts": "^3.1.0"
48
48
  },
49
49
  "peerDependencies": {