@redocly/marketing-pages 0.1.6 → 0.1.8
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.
- package/README.md +13 -1
- package/dist/index.page.js +1 -1
- package/dist/pages/careers/careers.page.js +1 -1
- package/dist/pages/learning-center/components/CardsBlock.d.ts +16 -1
- package/dist/pages/learning-center/components/CardsBlock.js +9 -9
- package/dist/pages/learning-center/learn.page.d.ts +4 -1
- package/dist/pages/learning-center/learn.page.js +3 -3
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -22,4 +22,16 @@ npm link @redocly/marketing-pages
|
|
|
22
22
|
|
|
23
23
|
3. Run `npm run dev` in this repo.
|
|
24
24
|
|
|
25
|
-
4. Run `npm start` in the marketing-site-portal repo.
|
|
25
|
+
4. Run `npm start` in the marketing-site-portal repo.
|
|
26
|
+
|
|
27
|
+
## Release
|
|
28
|
+
|
|
29
|
+
The release process is fully automated using [Changesets](https://github.com/changesets/changesets). Here's how it works:
|
|
30
|
+
|
|
31
|
+
### Automated Release Flow
|
|
32
|
+
|
|
33
|
+
1. **Changes merged to main** - Any changes merged to the main branch trigger the release workflow
|
|
34
|
+
2. **Auto-changeset creation** - If no changeset exists, the system automatically creates one for a patch version bump
|
|
35
|
+
3. **Version Packages PR** - A pull request is created with the title "chore: release new version 🚀"
|
|
36
|
+
4. **Review & Merge** - Review a Version Packages PR and merge when ready to release
|
|
37
|
+
5. **Automatic publishing** - The package is automatically published to npm after merging
|
package/dist/index.page.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import t from"react";import{Home as e}from"./pages/home/Home";
|
|
1
|
+
import t from"react";import{Home as e}from"./pages/home/Home";const n={seo:{title:"The Best API Documentation Tool"}};function m(){return t.createElement(e,null)}export{m as default,n as frontmatter};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{linearGradient as f}from"polished";import e,{useRef as x}from"react";import{Link as y}from"@redocly/theme";import{Box as t}from"../../ui/Box";import{Button as a}from"../../components/Button/CustomButton";import{CallToAction as h}from"../../components/CallToAction/CallToAction";import{Centered as i,MediaBox as o,Skewed as s}from"../../components/PositionItems";import{Circle as u,CircleWrapper as g}from"../../components/Circle/Circle";import{Position as b}from"./components/Position";import{StickyMeme as w}from"./components/StickyMeme";import{BgWrapper as W,TopSection as _,PageText as C,Text as d,Title as p,TextGradientElement as T,PositionsSection as S,BottomSection as k,SubText as n,CareersContainer as A,DocumentationSection as v,ButtonWrapper as D,CenteredSection as P}from"./components/styled";import{PageTitle as j}from"../redoc/redoc.page";import{H4Title as l}from"../../components/TypographyElements";const K={seo:{title:"Careers"},slug:"/careers"};function Q({positions:E}){const m=x(),c=()=>{if(m.current){const{offsetTop:r}=m.current;window.scrollTo({top:r-20,behavior:"smooth"})}};return e.createElement(W,null,e.createElement(s,{angle:0,bg:f({colorStops:["rgb(0, 104, 251)","rgb(126, 65, 255)"],toDirection:"to right bottom"}),offsetBottom:"-70%",style:{paddingBottom:"64px"}},e.createElement(o,null,e.createElement(_,null,e.createElement(t,null,e.createElement(A,null,e.createElement(t,null,e.createElement(j,null,"Careers at Redocly"),e.createElement(C,null,"Come build the future of the API economy ",e.createElement("br",null)," from anywhere in the big big world."),e.createElement(D,{display:"flex",justifyContent:{_:"center",small:"flex-start"}},e.createElement(a,{size:"medium",className:"landing-button",onClick:c},"See Open Positions")))),e.createElement(v,null,e.createElement(t,null,e.createElement(T,null,"Documentation is kind of our jam")))),e.createElement(w,{handleScroll:c}))),e.createElement(g,{style:{zIndex:-1},top:"-540px"},e.createElement(u,{size:"770px",top:"130px",left:"-455px"}),e.createElement(u,{size:"920px",left:"-550px"}))),e.createElement(o,{style:{paddingTop:"64px"}},e.createElement(P,{maxWidth:"930px"},e.createElement(d,null,"We are a tight-knit team of API enthusiasts trying to crack the world's best developer experience, and put it a single interactive product that teams adore. Docs are just the start."),e.createElement(d,null,"Join us. And yes, we\u2019ll also draw you a portrait.")),e.createElement(t,{pb:"15%",ref:m},e.createElement(i,null,e.createElement(p,null,"Open positions")),e.createElement(S,null,E.map(r=>e.createElement(b,{id:r.id,title:r.title,key:r.id,subtitle:r.subtitle,description:r.description}))),e.createElement(i,{maxWidth:"540px"},e.createElement(l,{color:"var(--color-text-indigo)",mb:{base:0}},e.createElement("span",null,"Email us at "),e.createElement(y,{to:"mailto:
|
|
1
|
+
import{linearGradient as f}from"polished";import e,{useRef as x}from"react";import{Link as y}from"@redocly/theme";import{Box as t}from"../../ui/Box";import{Button as a}from"../../components/Button/CustomButton";import{CallToAction as h}from"../../components/CallToAction/CallToAction";import{Centered as i,MediaBox as o,Skewed as s}from"../../components/PositionItems";import{Circle as u,CircleWrapper as g}from"../../components/Circle/Circle";import{Position as b}from"./components/Position";import{StickyMeme as w}from"./components/StickyMeme";import{BgWrapper as W,TopSection as _,PageText as C,Text as d,Title as p,TextGradientElement as T,PositionsSection as S,BottomSection as k,SubText as n,CareersContainer as A,DocumentationSection as v,ButtonWrapper as D,CenteredSection as P}from"./components/styled";import{PageTitle as j}from"../redoc/redoc.page";import{H4Title as l}from"../../components/TypographyElements";const K={seo:{title:"Careers"},slug:"/careers"};function Q({positions:E}){const m=x(),c=()=>{if(m.current){const{offsetTop:r}=m.current;window.scrollTo({top:r-20,behavior:"smooth"})}};return e.createElement(W,null,e.createElement(s,{angle:0,bg:f({colorStops:["rgb(0, 104, 251)","rgb(126, 65, 255)"],toDirection:"to right bottom"}),offsetBottom:"-70%",style:{paddingBottom:"64px"}},e.createElement(o,null,e.createElement(_,null,e.createElement(t,null,e.createElement(A,null,e.createElement(t,null,e.createElement(j,null,"Careers at Redocly"),e.createElement(C,null,"Come build the future of the API economy ",e.createElement("br",null)," from anywhere in the big big world."),e.createElement(D,{display:"flex",justifyContent:{_:"center",small:"flex-start"}},e.createElement(a,{size:"medium",className:"landing-button",onClick:c},"See Open Positions")))),e.createElement(v,null,e.createElement(t,null,e.createElement(T,null,"Documentation is kind of our jam")))),e.createElement(w,{handleScroll:c}))),e.createElement(g,{style:{zIndex:-1},top:"-540px"},e.createElement(u,{size:"770px",top:"130px",left:"-455px"}),e.createElement(u,{size:"920px",left:"-550px"}))),e.createElement(o,{style:{paddingTop:"64px"}},e.createElement(P,{maxWidth:"930px"},e.createElement(d,null,"We are a tight-knit team of API enthusiasts trying to crack the world's best developer experience, and put it a single interactive product that teams adore. Docs are just the start."),e.createElement(d,null,"Join us. And yes, we\u2019ll also draw you a portrait.")),e.createElement(t,{pb:"15%",ref:m},e.createElement(i,null,e.createElement(p,null,"Open positions")),e.createElement(S,null,E.map(r=>e.createElement(b,{id:r.id,title:r.title,key:r.id,subtitle:r.subtitle,description:r.description}))),e.createElement(i,{maxWidth:"540px"},e.createElement(l,{color:"var(--color-text-indigo)",mb:{base:0}},e.createElement("span",null,"Email us at "),e.createElement(y,{to:"mailto:careers@redocly.com",style:{color:"#0044D4"}},"careers@redocly.com"),e.createElement("span",null," if you think you could provide value to Redocly in another role"))))),e.createElement(s,{angle:{_:0,medium:0},bg:"#F0F5FF",offsetTop:{_:"-1%",medium:"-10%",large:"-5%"},style:{paddingTop:"64px"}},e.createElement(o,null,e.createElement(i,null,e.createElement(p,null,"Why work at Redocly")),e.createElement(k,null,e.createElement(t,{flexDirection:{_:"column",medium:"row"},display:"flex"},e.createElement(t,{minWidth:105,justifyContent:{_:"center",medium:"flex-end"},display:"flex"},e.createElement("img",{src:require("./images/market.svg"),alt:"Incredible market",width:80})),e.createElement(t,{ml:{medium:"20px"},textAlign:{_:"center",medium:"left"}},e.createElement(l,{mb:{base:"-0.5rem"},mt:{base:0}},"Incredible market"),e.createElement(t,{maxWidth:"310px",m:"auto"},e.createElement(n,null,"APIs are the new economy. It needs better, smarter, faster docs.")))),e.createElement(t,{flexDirection:{_:"column",medium:"row"},display:"flex"},e.createElement(t,{minWidth:105,justifyContent:{_:"center",medium:"flex-end"},display:"flex"},e.createElement("img",{src:require("./images/startup.svg"),alt:"Startup environment",width:88})),e.createElement(t,{ml:{medium:"20px"},textAlign:{_:"center",medium:"left"}},e.createElement(l,{mb:{base:"-0.5rem"},mt:{base:0}},"Startup environment"),e.createElement(t,{maxWidth:"310px",m:"auto"},e.createElement(n,null,"We\u2019re small but tough (and funded). Join us early on when the future\u2019s brightest.")))),e.createElement(t,{flexDirection:{_:"column",medium:"row"},display:"flex"},e.createElement(t,{minWidth:105,justifyContent:{_:"center",medium:"flex-end"},display:"flex"},e.createElement("img",{src:require("./images/world.svg"),alt:"World-class customers",width:80})),e.createElement(t,{ml:{medium:"20px"},textAlign:{_:"center",medium:"left"}},e.createElement(l,{mb:{base:"-0.5rem"},mt:0},"World-class customers"),e.createElement(t,{maxWidth:"310px",m:"auto"},e.createElement(n,null,"Thousands of unicorns, enterprises and G-orgs trust us every day.")))),e.createElement(t,{flexDirection:{_:"column",medium:"row"},display:"flex"},e.createElement(t,{minWidth:105,justifyContent:{_:"center",medium:"flex-end"},display:"flex"},e.createElement("img",{src:require("./images/work.svg"),alt:"Work from anywhere",width:105})),e.createElement(t,{ml:{medium:"20px"},textAlign:{_:"center",medium:"left"}},e.createElement(l,{mb:{base:"-0.5rem"},mt:{base:0}},"Work from anywhere"),e.createElement(t,{maxWidth:"310px",m:"auto"},e.createElement(n,null,"Remote-first team working across projects and time zones.")))),e.createElement(t,{flexDirection:{_:"column",medium:"row"},display:"flex"},e.createElement(t,{minWidth:105,justifyContent:{_:"center",medium:"flex-end"},display:"flex"},e.createElement("img",{src:require("./images/autonomy.svg"),alt:"Autonomy & growth",width:70})),e.createElement(t,{ml:{medium:"20px"},textAlign:{_:"center",medium:"left"}},e.createElement(l,{mb:{base:"-0.5rem"},mt:{base:0}},"Autonomy & growth"),e.createElement(t,{maxWidth:"310px",m:"auto"},e.createElement(n,null,"Scratch your head. Pull-request the ace up your sleeve. Get it done. Repeat.")))),e.createElement(t,{flexDirection:{_:"column",medium:"row"},display:"flex"},e.createElement(t,{minWidth:105,justifyContent:{_:"center",medium:"flex-end"},display:"flex"},e.createElement("img",{src:require("./images/salary.svg"),alt:"Texan-sized salary",width:100})),e.createElement(t,{ml:{medium:"20px"},textAlign:{_:"center",medium:"left"}},e.createElement(l,{mb:{base:"-0.5rem"},mt:{base:0}},"Texan-sized salary"),e.createElement(t,{maxWidth:"310px",m:"auto"},e.createElement(n,null,"Wherever you choose to live. (Won\u2019t beat Austin\u2019s live music scene. Sorry)"))))))),e.createElement(h,{title:"Superpower your API lifecycle with Redocly"},e.createElement(a,{to:"https://auth.cloud.redocly.com/registration",style:{height:"50px"},size:"large",className:"landing-button"},"Start 30-day free trial"),e.createElement(a,{to:"/enterprise/",variant:"outlined",style:{height:"50px"},size:"large"},"Enterprise")))}export{Q as default,K as frontmatter};
|
|
@@ -1,2 +1,17 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
export
|
|
2
|
+
export type CardProps = {
|
|
3
|
+
id: number;
|
|
4
|
+
key: string;
|
|
5
|
+
title: string;
|
|
6
|
+
description: string;
|
|
7
|
+
thumbnail: string;
|
|
8
|
+
moreItems: string;
|
|
9
|
+
landingPage: string;
|
|
10
|
+
items: {
|
|
11
|
+
title: string;
|
|
12
|
+
link: string;
|
|
13
|
+
}[];
|
|
14
|
+
};
|
|
15
|
+
export declare const CardsBlock: ({ cards }: {
|
|
16
|
+
cards: CardProps[];
|
|
17
|
+
}) => React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import*as e from"react";import r from"styled-components";import{Link as
|
|
1
|
+
import*as e from"react";import r from"styled-components";import{Link as d}from"@redocly/theme";import{Card as p}from"@redocly/theme/markdoc/components/Cards/Card";import{Cards as c}from"@redocly/theme/markdoc/components/Cards/Cards";const E=({cards:l})=>{const o=document.getElementsByTagName("h3");for(let t=0;t<o.length;t++)o[t].getElementsByTagName("path")[0]?.setAttribute("d","M8.53906 2.625L7.91344 3.23444L11.2297 6.5625H2.41406V7.4375H11.2297L7.91344 10.7507L8.53906 11.375L12.9141 7L8.53906 2.625Z");return e.createElement(y,{columns:3,children:l.map((t,a)=>e.createElement(s,{key:a,title:`Learn ${t.title}`,image:t.thumbnail,to:t.landingPage,children:e.createElement(x,null,e.createElement(m,null,t.description),e.createElement(v,{onClick:i=>i.stopPropagation()},t.items.map((i,n)=>e.createElement("div",{key:n,style:{width:"100%"}},e.createElement(h,{key:n,to:i.link},e.createElement("div",null,e.createElement("img",{src:require("../images/ellipse.svg")}),e.createElement("p",null,i.title)),e.createElement("svg",{width:"22",height:"23",viewBox:"0 0 23 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{x:"0.664062",width:"22",height:"22",rx:"11",fill:"inherit"}),e.createElement("path",{d:"M12.5391 6.625L11.9134 7.23444L15.2297 10.5625H6.41406V11.4375H15.2297L11.9134 14.7507L12.5391 15.375L16.9141 11L12.5391 6.625Z",fill:"inherit"}))),e.createElement(g,null))),t.moreItems&&e.createElement(f,null,"and ",t.moreItems)))}))})},s=r(p)`
|
|
2
2
|
max-width: 405px;
|
|
3
|
-
`,
|
|
3
|
+
`,m=r.p`
|
|
4
4
|
color: var(--text-color-primary);
|
|
5
5
|
font-family: Inter;
|
|
6
6
|
font-size: 16px;
|
|
@@ -14,15 +14,15 @@ import*as e from"react";import r from"styled-components";import{Link as s}from"@
|
|
|
14
14
|
padding: 0 16px;
|
|
15
15
|
|
|
16
16
|
margin: 0;
|
|
17
|
-
`,
|
|
17
|
+
`,x=r.div`
|
|
18
18
|
display: flex;
|
|
19
19
|
flex-direction: column;
|
|
20
20
|
gap: 12px;
|
|
21
|
-
`,
|
|
21
|
+
`,g=r.div`
|
|
22
22
|
margin: 2px 8px;
|
|
23
23
|
height: 1px;
|
|
24
24
|
background: var(--border-color-secondary);
|
|
25
|
-
`,
|
|
25
|
+
`,h=r(d)`
|
|
26
26
|
border-radius: 6px;
|
|
27
27
|
background: transparent;
|
|
28
28
|
display: flex;
|
|
@@ -73,7 +73,7 @@ import*as e from"react";import r from"styled-components";import{Link as s}from"@
|
|
|
73
73
|
transition: transform 0.3s ease-in-out;
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
`,
|
|
76
|
+
`,f=r.div`
|
|
77
77
|
display: flex;
|
|
78
78
|
padding: 8px;
|
|
79
79
|
align-items: center;
|
|
@@ -86,11 +86,11 @@ import*as e from"react";import r from"styled-components";import{Link as s}from"@
|
|
|
86
86
|
font-size: 14px;
|
|
87
87
|
font-weight: 400;
|
|
88
88
|
line-height: 22px;
|
|
89
|
-
`,
|
|
89
|
+
`,v=r.div`
|
|
90
90
|
display: flex;
|
|
91
91
|
flex-direction: column;
|
|
92
92
|
padding: 0 8px 16px 8px;
|
|
93
|
-
`,
|
|
93
|
+
`,y=r(c)`
|
|
94
94
|
--cards-gap: 24px;
|
|
95
95
|
--card-content-gap: 8px;
|
|
96
96
|
--card-padding: 16px 0 0 0;
|
|
@@ -129,4 +129,4 @@ import*as e from"react";import r from"styled-components";import{Link as s}from"@
|
|
|
129
129
|
height: unset;
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
|
-
`;export{
|
|
132
|
+
`;export{E as CardsBlock};
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { CardProps } from './components/CardsBlock';
|
|
2
3
|
export declare const frontmatter: {
|
|
3
4
|
seo: {
|
|
4
5
|
title: string;
|
|
5
6
|
};
|
|
6
7
|
slug: string;
|
|
7
8
|
};
|
|
8
|
-
export default function (
|
|
9
|
+
export default function ({ cards }: {
|
|
10
|
+
cards: CardProps[];
|
|
11
|
+
}): React.JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import e from"react";import
|
|
1
|
+
import e from"react";import n from"styled-components";import{Box as l}from"../../ui/Box";import{breakpoints as t}from"@redocly/theme/core/utils";import{TopLearnBlock as m,CardsBlock as p,BottomLearnBlock as c}from"./components";const b={seo:{title:"Learn"},slug:"/learn"};function w({cards:a}){const[i,r]=e.useState(localStorage.getItem("colorSchema")||"light");return e.useEffect(()=>{const o=new MutationObserver(()=>{document.documentElement.classList.contains("dark")?r("dark"):r("light")});return o.observe(document.documentElement,{attributes:!0}),()=>{o.disconnect()}},[]),e.createElement(s,{backgroundColor:"var(--bg-color)",width:"100vw",height:"fit-content",position:"relative"},e.createElement(d,{src:i==="light"?require("./images/hero-img.svg"):require("./images/hero-img-dark.svg")}),e.createElement(m,null),e.createElement(p,{cards:a}),e.createElement(c,null))}const d=n.img`
|
|
2
2
|
position: absolute;
|
|
3
3
|
max-width: 1384px;
|
|
4
4
|
width: -webkit-fill-available;
|
|
5
|
-
`,
|
|
5
|
+
`,s=n(l)`
|
|
6
6
|
display: flex;
|
|
7
7
|
align-items: center;
|
|
8
8
|
flex-direction: column;
|
|
@@ -23,4 +23,4 @@ import e from"react";import o from"styled-components";import{Box as a}from"../..
|
|
|
23
23
|
gap: 64px;
|
|
24
24
|
padding: 0 128px 64px 128px;
|
|
25
25
|
}
|
|
26
|
-
`;export{
|
|
26
|
+
`;export{w as default,b as frontmatter};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redocly/marketing-pages",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": "",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"test:vitest:watch": "vitest",
|
|
12
12
|
"copy-images": "copyfiles -u 1 \"src/**/*.{png,svg,jpg,jpeg,gif,webp}\" dist",
|
|
13
13
|
"dev": "tsc --watch",
|
|
14
|
-
"test": "npm run test:vitest"
|
|
14
|
+
"test": "npm run test:vitest",
|
|
15
|
+
"changeset:publish": "changeset publish"
|
|
15
16
|
},
|
|
16
17
|
"exports": {
|
|
17
18
|
"./*": "./dist/*"
|
|
@@ -51,6 +52,7 @@
|
|
|
51
52
|
"styled-components": ">=5.3.11"
|
|
52
53
|
},
|
|
53
54
|
"devDependencies": {
|
|
55
|
+
"@changesets/cli": "^2.29.5",
|
|
54
56
|
"@redocly/config": "^0.24.0",
|
|
55
57
|
"@redocly/theme": "^0.53.0",
|
|
56
58
|
"@shikijs/types": "3.4.0",
|