From e77c81137265d4326dd8c6dda2febc7beca479a8 Mon Sep 17 00:00:00 2001 From: Sarah Fowler Date: Wed, 25 Sep 2019 13:32:06 -0400 Subject: [PATCH 1/8] [LIGO-94] redesign Features section --- gitlab-pages/website/pages/en/index.js | 45 ++++++++------ gitlab-pages/website/static/css/custom.css | 57 +++++++++++++++++- .../website/static/img/easy-integration.svg | 18 ++++++ .../website/static/img/strong-type-system.svg | 16 +++++ .../website/static/img/syntax-agnostic.svg | 25 ++++++++ gitlab-pages/website/static/img/user.png | Bin 10929 -> 0 bytes 6 files changed, 141 insertions(+), 20 deletions(-) create mode 100644 gitlab-pages/website/static/img/easy-integration.svg create mode 100644 gitlab-pages/website/static/img/strong-type-system.svg create mode 100644 gitlab-pages/website/static/img/syntax-agnostic.svg delete mode 100644 gitlab-pages/website/static/img/user.png diff --git a/gitlab-pages/website/pages/en/index.js b/gitlab-pages/website/pages/en/index.js index c962109df..ee6c4cb0a 100644 --- a/gitlab-pages/website/pages/en/index.js +++ b/gitlab-pages/website/pages/en/index.js @@ -259,33 +259,42 @@ class Index extends React.Component { ); + const FeatureCard = props => ( +
+ +
+

{props.title}

+

{props.content}

+
+
+ ); + const Features = () => (
-

Features

- +

Features

+ +
{[ - { - content: - "Write in PascaLIGO (pascal-like syntax) or CameLIGO (caml-like syntax). If you know OCaml, you can also add your own syntax.", - image: `${baseUrl}img/edit.svg`, - imageAlign: "top", - title: "Syntax Agnostic" - }, { content: "Write types, then code, and benefit from the safety coming from type systems.", - image: `${baseUrl}img/lightning.svg`, - imageAlign: "top", + image: `${baseUrl}img/strong-type-system.svg`, title: "Strong Type System" }, + { + content: + "Write in PascaLIGO (pascal-like syntax) or CameLIGO (caml-like syntax). If you know OCaml, you can also add your own syntax.", + image: `${baseUrl}img/syntax-agnostic.svg`, + title: "Syntax Agnostic" + }, + { content: "With Granary, you can use LIGO as a lib from NodeJS.", - image: `${baseUrl}img/puzzle.svg`, - imageAlign: "top", + image: `${baseUrl}img/easy-integration.svg`, title: "Easy Integration" } - ]} - + ].map(FeatureCard)} +
); @@ -339,7 +348,7 @@ class Index extends React.Component { return (
-

Partners

+

Partners

{showcase}
{/*
@@ -372,8 +381,8 @@ class Index extends React.Component { return (
-

Team

-
{showcase}
+

Team

+
{showcase}
{/*
More {siteConfig.title} Users diff --git a/gitlab-pages/website/static/css/custom.css b/gitlab-pages/website/static/css/custom.css index 35509042f..8d0954962 100644 --- a/gitlab-pages/website/static/css/custom.css +++ b/gitlab-pages/website/static/css/custom.css @@ -462,7 +462,7 @@ body flex-direction: column; align-items: center; justify-content: center; - max-width: fit-content; + max-width: 20%; color: var(--color-primary-text); padding: 0 var(--padding-level-1); } @@ -474,18 +474,71 @@ body .profileImage { max-height: 195px; max-width: 195px; + width: 100%; border: var(--color-gray); } .profileImage:hover { box-shadow: 12px 12px 0px var(--color-primary-brand); } -.team-container { +.flex-inline-container { display: flex; flex-direction: row; justify-content: space-around; padding: var(--padding-level-1); flex-wrap: wrap; + align-items: flex-start; +} + +/** Feature Cards **/ +.card { + display: flex; + flex-direction: column; + padding: 2rem; + align-items: center; + justify-content: flex-start; + max-width: 30%; + height: auto; + background-color: var(--color-light-gray); +} + +.card:hover { + background-color: var(--color-light-blue); +} + +.card-text { + text-align: center; +} + +@media (min-width: 560px) and (max-width: 768px) { + /** Special rules to reorient feature cards at only one screen size**/ + .card { + flex-direction: row; + width: 100%; + max-width: 100%; + justify-content: left; + margin: var(--padding-level-1) 0; + } + .card-text { + text-align: left; + } +} + +@media (max-width: 768px) { + .profileContainer { + max-width: 30%; + } +} + +@media (max-width: 560px) { + .card { + max-width: 100%; + margin: var(--padding-level-1) 0; + } + .profileContainer { + max-width: 100%; + width: 100%; + } } @media only screen and (min-device-width: 360px) and (max-device-width: 736px) { diff --git a/gitlab-pages/website/static/img/easy-integration.svg b/gitlab-pages/website/static/img/easy-integration.svg new file mode 100644 index 000000000..de1284626 --- /dev/null +++ b/gitlab-pages/website/static/img/easy-integration.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/gitlab-pages/website/static/img/strong-type-system.svg b/gitlab-pages/website/static/img/strong-type-system.svg new file mode 100644 index 000000000..997b516a9 --- /dev/null +++ b/gitlab-pages/website/static/img/strong-type-system.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/gitlab-pages/website/static/img/syntax-agnostic.svg b/gitlab-pages/website/static/img/syntax-agnostic.svg new file mode 100644 index 000000000..5cc55d5ae --- /dev/null +++ b/gitlab-pages/website/static/img/syntax-agnostic.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gitlab-pages/website/static/img/user.png b/gitlab-pages/website/static/img/user.png deleted file mode 100644 index 1079d42d758029429d1bc1de92fe42762943237c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10929 zcmZ{~XH-+q7d9GtHFT+=SLrqM-lQW6i1aFgKtMv5C@qxGq$yphKNUzoM0%Cp5fTIh zB0V&zg1`;$|E_!2{czVx*2#HxnKQFz_IYMc5-rRO?ohH(0sw$J_YHL)004yepM(H% zV*JGs!U4fwh`qE-wEzHQ8r44+68t^4o8bdf03cit0D#2;02g=&wg~_PO924e&H#XN z9ss}`P|$3tiWd;N8XM>W0RJKQWbk(s0fvu*003a`?Ux{16v&PT$zI$y)g!}_QZiA? zeu2Cl1OP;$@9Szk44vOy3@ey>)TVJT7joCx)*wDA$kRgC(ozbnS=%5i=n9_n5%gSl z_sg@J{Tw0rqgG-~yl;eeu98qxGaHu7YQ*VF=@J~R^wym#{Daz2?Edf{gHyR zuqgG7qwpe)DbC>a*6}~rFK3VLYiZ}CX&>tmgqHwFHWN8FUrP*VQT_$YmomU89}=OH zsW6;NKOy*5KtRej=n?NPbp0uV+q%0ET#Pme75jfCaaWM6v>fXmjo(l zDkr9WEy42Ig(a~}ibD-?GYb{#aUJQ8Y>f+qE>Bq-0U)z9Wm0Tq0jenB=xCC4XN7fV z=_y=I`m7}(yljOf*^(tr9T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CEEKeX9fVWe+wImH~fbWptXs_Zr`v!9)Anj`PF6s(3$Ll zyxBlqn((vKm=pd9INys#=L6!E{898UxagkEbP-brn1EyLA5E*r96K+?QR5L?+QJpr z zX^0Tab>j?hx3P_q?r-c4@dRBAtc}7Mezbm%0N(Wbr5=a?X9|cZwAs7V&rNh6D+^`>Ek#P*0@r^~V<}oJ)=>bN+79Wax?nIbvaWK$H62 zz04PTX&=ev`C)0uQR4(Sf8u5Emksig4(zkxf5!=i-Jb&Oizh{35(G)M0c|MKZE{V1 zb$cP0ngJk+!{*6)6Z11d|3FYoZV%t^7mBP@JfLD MdS<#c+Rm^4FSnMZ6aWAK From 54a13b8ec59bab57031ea1126fe86d8e3da54699 Mon Sep 17 00:00:00 2001 From: Sarah Fowler Date: Wed, 25 Sep 2019 13:39:08 -0400 Subject: [PATCH 2/8] [LIGO-94] fix alignment of cards --- gitlab-pages/website/static/css/custom.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gitlab-pages/website/static/css/custom.css b/gitlab-pages/website/static/css/custom.css index 8d0954962..1454c51cb 100644 --- a/gitlab-pages/website/static/css/custom.css +++ b/gitlab-pages/website/static/css/custom.css @@ -487,7 +487,7 @@ body justify-content: space-around; padding: var(--padding-level-1); flex-wrap: wrap; - align-items: flex-start; + align-items: stretch; } /** Feature Cards **/ @@ -498,7 +498,6 @@ body align-items: center; justify-content: flex-start; max-width: 30%; - height: auto; background-color: var(--color-light-gray); } From 9673475bfd97df4b6c041d7d9434021263a56388 Mon Sep 17 00:00:00 2001 From: Sarah Fowler Date: Wed, 25 Sep 2019 14:28:48 -0400 Subject: [PATCH 3/8] [LIGO-96] Redesign partners section --- gitlab-pages/website/pages/en/index.js | 27 ++++++++--------- gitlab-pages/website/siteConfig.js | 6 ++-- gitlab-pages/website/static/css/custom.css | 30 +++++++++++++++++++ .../website/static/img/nomadic-logo.svg | 9 ++++++ .../website/static/img/stove-logo.svg | 9 ++++++ gitlab-pages/website/static/img/tq-logo-2.svg | 17 +++++++++++ 6 files changed, 81 insertions(+), 17 deletions(-) create mode 100644 gitlab-pages/website/static/img/nomadic-logo.svg create mode 100644 gitlab-pages/website/static/img/stove-logo.svg create mode 100644 gitlab-pages/website/static/img/tq-logo-2.svg diff --git a/gitlab-pages/website/pages/en/index.js b/gitlab-pages/website/pages/en/index.js index ee6c4cb0a..ed0cd79c1 100644 --- a/gitlab-pages/website/pages/en/index.js +++ b/gitlab-pages/website/pages/en/index.js @@ -271,7 +271,7 @@ class Index extends React.Component { const Features = () => (
-

Features

+

Features

{[ @@ -336,25 +336,24 @@ class Index extends React.Component { return null; } - const showcase = siteConfig.partners + const PartnerShowcase = siteConfig.partners .filter(user => user.pinned) .map(user => ( - + {user.caption} )); - const pageUrl = page => baseUrl + (language ? `${language}/` : "") + page; - return ( -
-

Partners

-
{showcase}
- {/* */} +
+ {PartnerShowcase} + {/*
*/} +
+

Our Partners

+

+ We are not alone in this world -- here're some guys who support us +

+
); }; @@ -381,7 +380,7 @@ class Index extends React.Component { return (
-

Team

+

Team

{showcase}
{/*
diff --git a/gitlab-pages/website/siteConfig.js b/gitlab-pages/website/siteConfig.js index 0d2780144..5c1352bd3 100644 --- a/gitlab-pages/website/siteConfig.js +++ b/gitlab-pages/website/siteConfig.js @@ -14,7 +14,7 @@ const partners = [ caption: "Nomadic Labs", // You will need to prepend the image path with your baseUrl // if it is not '/', like: '/test-site/img/image.jpg'. - image: "/img/nomadic-logo.jpg", + image: "/img/nomadic-logo.svg", infoLink: "https://www.nomadic-labs.com/", pinned: true }, @@ -22,7 +22,7 @@ const partners = [ caption: "Tocqueville Group", // You will need to prepend the image path with your baseUrl // if it is not '/', like: '/test-site/img/image.jpg'. - image: "/img/tq-logo.svg", + image: "/img/tq-logo-2.svg", infoLink: "https://tqgroup.io/", pinned: true }, @@ -30,7 +30,7 @@ const partners = [ caption: "Stove Labs", // You will need to prepend the image path with your baseUrl // if it is not '/', like: '/test-site/img/image.jpg'. - image: "/img/stove-logo.png", + image: "/img/stove-logo.svg", infoLink: "https://stove-labs.com", pinned: true } diff --git a/gitlab-pages/website/static/css/custom.css b/gitlab-pages/website/static/css/custom.css index 1454c51cb..d57b60e24 100644 --- a/gitlab-pages/website/static/css/custom.css +++ b/gitlab-pages/website/static/css/custom.css @@ -29,6 +29,8 @@ h4, .landing .headline { font-family: "DM Sans", sans-serif; font-weight: bold; + /** Override docusaurus rule that makes a huge top margin **/ + margin-top: 1rem; } body, @@ -490,6 +492,10 @@ body align-items: stretch; } +.team .flex-inline-container { + align-items: flex-start; +} + /** Feature Cards **/ .card { display: flex; @@ -509,6 +515,27 @@ body text-align: center; } +/** Partners **/ +.partners-container { + background-color: var(--color-light-gray); + display: flex; + justify-content: space-around; + align-content: center; + padding: var(--padding-level-3); +} + +.partners-container a { + display: flex; + align-content: center; + justify-content: center; + margin: 0 10px; +} + +.partners-text { + padding: 0 var(--padding-level-1); + border-left: 5px solid var(--color-primary-brand); +} + @media (min-width: 560px) and (max-width: 768px) { /** Special rules to reorient feature cards at only one screen size**/ .card { @@ -538,6 +565,9 @@ body max-width: 100%; width: 100%; } + .hide-small { + display: none; + } } @media only screen and (min-device-width: 360px) and (max-device-width: 736px) { diff --git a/gitlab-pages/website/static/img/nomadic-logo.svg b/gitlab-pages/website/static/img/nomadic-logo.svg new file mode 100644 index 000000000..1f0b1233a --- /dev/null +++ b/gitlab-pages/website/static/img/nomadic-logo.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/gitlab-pages/website/static/img/stove-logo.svg b/gitlab-pages/website/static/img/stove-logo.svg new file mode 100644 index 000000000..d270287f7 --- /dev/null +++ b/gitlab-pages/website/static/img/stove-logo.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/gitlab-pages/website/static/img/tq-logo-2.svg b/gitlab-pages/website/static/img/tq-logo-2.svg new file mode 100644 index 000000000..c33b7bb38 --- /dev/null +++ b/gitlab-pages/website/static/img/tq-logo-2.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + From f61a91f36ff01afa57c9b4f8533020c8e3b46701 Mon Sep 17 00:00:00 2001 From: Sarah Fowler Date: Wed, 25 Sep 2019 16:59:07 -0400 Subject: [PATCH 4/8] [LIGO-95] layout for top section --- gitlab-pages/website/pages/en/index.js | 283 +++++++++------------ gitlab-pages/website/sidebars.json | 30 ++- gitlab-pages/website/siteConfig.js | 3 +- gitlab-pages/website/static/css/custom.css | 90 +++---- 4 files changed, 184 insertions(+), 222 deletions(-) diff --git a/gitlab-pages/website/pages/en/index.js b/gitlab-pages/website/pages/en/index.js index ed0cd79c1..3bd5004a3 100644 --- a/gitlab-pages/website/pages/en/index.js +++ b/gitlab-pages/website/pages/en/index.js @@ -13,6 +13,91 @@ const MarkdownBlock = CompLibrary.MarkdownBlock; /* Used to read markdown */ const Container = CompLibrary.Container; const GridBlock = CompLibrary.GridBlock; +const PascalLIGOTab = () => ( +
+
+ +
+          
+            // variant defining pseudo multi-entrypoint actions
+            
+ type action is +
| Increment of int +
| Decrement of int +
+
+ function add (const a : int ; const b : int) : int is +
block {"{ skip }"} with a + b
+
+ function subtract (const a : int ; const b : int) : int is +
block {"{ skip }"} with a - b
+
+ // real entrypoint that re-routes the flow based on the action + provided +
+ function main (const p : action ; const s : int) : (list(operation) + * int) is +
block {"{ skip }"} with ((nil : list(operation)), +
case p of +
| Increment(n) -> add(s, n) +
| Decrement(n) -> subtract(s, n) +
end) +
+
+
+
+
+
+); + +const CamelLIGOTab = () => ( +
+
+
+        
+          type storage = int 
+
+ (* variant defining pseudo multi-entrypoint actions *)
+
+ type action =
| Increment of int +
| Decrement of int +
+
+ let add (a: int) (b: int) : int = a + b
+
+ let subtract (a: int) (b: int) : int = a - b
+
+ (* real entrypoint that re-routes the flow based on the action + provided *) +
+
+ let%entry main (p : action) storage =
let storage =
match + p with +
| Increment n -> add storage n
| Decrement n -> subtract + storage n
in (([] : operation list), storage) +
+
+
+
+
+); + +const LinkButton = props => ( +
+ + +); + class HomeSplash extends React.Component { render() { const { siteConfig, language = "" } = this.props; @@ -21,167 +106,49 @@ class HomeSplash extends React.Component { const langPart = `${language ? `${language}/` : ""}`; const docUrl = doc => `${baseUrl}${docsPart}${langPart}${doc}`; - const SplashContainer = props => ( -
-
-
-
-
-
- PascaLIGO -
-
- CameLIGO -
-
ReasonLIGO (coming soon)
- {/*
Camligo
*/} -
-
-
-
- -
-                        
-                          // variant defining pseudo multi-entrypoint actions
-                          
- type action is -
| Increment of int -
| Decrement of int -
-
- function add (const a : int ; const b : int) : int is -
block {"{ skip }"} with a + b
-
- function subtract (const a : int ; const b : int) : - int is -
block {"{ skip }"} with a - b
-
- // real entrypoint that re-routes the flow based on - the action provided -
- function main (const p : action ; const s : int) : - (list(operation) * int) is -
block {"{ skip }"} with ((nil : - list(operation)), -
case p of -
| Increment(n) -> add(s, n) -
| Decrement(n) -> subtract(s, n) -
end) -
-
-
-
-
-
-
-
-
-                      
-                        type storage = int 
-
- (* variant defining pseudo multi-entrypoint actions *){" "} -
-
- type action =
| Increment of int -
| Decrement of int -
-
- let add (a: int) (b: int) : int = a + b
-
- let subtract (a: int) (b: int) : int = a - b
-
- (* real entrypoint that re-routes the flow based on the - action provided *) -
-
- let%entry main (p : action) storage =
let storage - =
match p with -
| Increment n -> add storage n
| Decrement - n -> subtract storage n
in (([] : operation list), - storage) -
-
-
-
-
-
+ const SampleCode = props => ( +
+
+
+
+ PascaLIGO
- - {props.children} +
+ CameLIGO +
+
ReasonLIGO (coming soon)
+
+
+ {PascalLIGOTab()} + {CamelLIGOTab()}
); - const Logo = props => ( -
- Project Logo -
- ); - - const ProjectTitle = () => ( -

- {siteConfig.tagline} -

- ); - - const PromoSection = props => ( -
-
-
{props.children}
-
-
- ); - - const Button = props => ( - - ); - return ( - -
- - - - - - +
+
+

{siteConfig.tagline}

+

{siteConfig.taglineSub}

+ + Get Started +
- + +
); } } @@ -347,7 +314,6 @@ class Index extends React.Component { return (
{PartnerShowcase} - {/*
*/}

Our Partners

@@ -376,17 +342,10 @@ class Index extends React.Component { )); - const pageUrl = page => baseUrl + (language ? `${language}/` : "") + page; - return ( -

+

Team

{showcase}
- {/* */}
); }; diff --git a/gitlab-pages/website/sidebars.json b/gitlab-pages/website/sidebars.json index 3f80e2e51..7936cdc34 100644 --- a/gitlab-pages/website/sidebars.json +++ b/gitlab-pages/website/sidebars.json @@ -1,21 +1,39 @@ { "docs": { "Setup": ["setup/installation", "setup/editor-support"], - "Language Basics": ["language-basics/cheat-sheet", "language-basics/types", "language-basics/variables", "language-basics/functions", "language-basics/entrypoints", "language-basics/operators"], + "Language Basics": [ + "language-basics/cheat-sheet", + "language-basics/types", + "language-basics/variables", + "language-basics/functions", + "language-basics/entrypoints", + "language-basics/operators" + ], "API": ["api-cli-commands"] }, "contributors-docs": { - "Introduction": ["contributors/origin", "contributors/philosophy", "contributors/getting-started", "contributors/documentation-and-releases"], + "Introduction": [ + "contributors/origin", + "contributors/philosophy", + "contributors/getting-started", + "contributors/documentation-and-releases" + ], "Big Picture": [ "contributors/big-picture/overview", - "contributors/big-picture/front-end", - "contributors/big-picture/middle-end", + "contributors/big-picture/front-end", + "contributors/big-picture/middle-end", "contributors/big-picture/back-end", "contributors/big-picture/vendors" ], - "Road Map": ["contributors/road-map/short-term", "contributors/road-map/long-term"] + "Road Map": [ + "contributors/road-map/short-term", + "contributors/road-map/long-term" + ] }, "tutorials": { - "Get Started": ["tutorials/get-started/tezos-taco-shop-smart-contract", "tutorials/get-started/tezos-taco-shop-payout"] + "Get Started": [ + "tutorials/get-started/tezos-taco-shop-smart-contract", + "tutorials/get-started/tezos-taco-shop-payout" + ] } } diff --git a/gitlab-pages/website/siteConfig.js b/gitlab-pages/website/siteConfig.js index 5c1352bd3..ab081f669 100644 --- a/gitlab-pages/website/siteConfig.js +++ b/gitlab-pages/website/siteConfig.js @@ -82,7 +82,8 @@ const team = [ const siteConfig = { title: "LIGO", // Title for your website. tagline: - "LIGO is a statically typed high-level smart-contract language that compiles down to Michelson. It seeks to be easy to use, extensible and safe.", + "LIGO is a statically typed high-level smart-contract language that compiles down to Michelson.", + taglineSub: "It seeks to be easy to use, extensible and safe.", url: "https://your-docusaurus-test-site.com", // Your website URL baseUrl: "/", // Base URL for your project */ // For github.io type URLs, you would set the url and baseUrl like: diff --git a/gitlab-pages/website/static/css/custom.css b/gitlab-pages/website/static/css/custom.css index d57b60e24..c5250c0e3 100644 --- a/gitlab-pages/website/static/css/custom.css +++ b/gitlab-pages/website/static/css/custom.css @@ -92,17 +92,11 @@ body, .landing .subhead { font-size: 1rem; } -.footnote { +.footnote, +footnote { font-size: 0.75rem; } -.projectTitle small { - max-width: 700px; - text-align: center; - margin: 0 auto; - margin-top: 0.7em; -} - .fixedHeaderContainer header .headerTitleWithLogo { display: none; } @@ -118,12 +112,7 @@ body, background: #1a1a1a; } -.homeContainer { - box-shadow: inset 0 -10px 10px -6px rgba(177, 176, 176, 0.2); - background: #f6f4f4; -} - -.homeContainer .hljs { +.hljs { text-align: left; background: transparent; } @@ -149,9 +138,9 @@ body, border-bottom: 4px solid #1a1a1a; } -.homeContainer .tabs .nav-tabs > div:last-of-type { +.disabled { cursor: default; - color: #24292e64; + color: #24292e64 !important; border-bottom: none; } @@ -165,9 +154,20 @@ body, top: 4px; } -.promoSection .buttonWrapper:first-of-type > a.button { - background: #b2210c; - color: white; +/** Top Section **/ +.home-container { + display: flex; + align-items: center; + justify-content: space-between; + padding: var(--padding-level-4); +} + +.home-text { + max-width: 40%; +} + +.code-sample { + max-width: 55%; } blockquote { @@ -197,26 +197,11 @@ blockquote { } */ a { - color: rgba(178, 33, 12, 0.8); + color: var(--color-white); } a:hover { - color: rgba(178, 33, 12, 1); -} - -.homeContainer .homeWrapper .projectLogo { - display: block; - position: relative; - padding: 0; -} - -.projectTitle { - margin-top: 30px; - margin-bottom: 0; -} - -.projectTitle small { - margin: 0 auto; + font-weight: bold; } .promoSection .promoRow { @@ -240,7 +225,8 @@ a:hover { margin-top: -25px; } -.features { +.features, +.team { background: white; margin-top: -40px; position: relative; @@ -269,18 +255,6 @@ html { color: #b2210c; } -.productShowcaseSection.team .logos img { - border-radius: 50%; - height: 150px; - margin-bottom: 0px; - padding-left: 40px; - padding-right: 40px; -} - -.productShowcaseSection.team .logos p { - padding-top: 0px; -} - .toc .toggleNav { margin-top: 12px; } @@ -289,6 +263,10 @@ html { padding-top: 60px; } +.mainContainer > * { + padding: var(--padding-level-4) 0; +} + .tocActive .onPageNav > .toc-headings { padding-top: 24px; } @@ -357,6 +335,7 @@ body font-weight: normal; line-height: 1.375rem; text-transform: none; + text-align: center; } .button, @@ -385,7 +364,8 @@ body .large-secondary-button, .large-secondary-button:hover { border-radius: 37px; - padding: 20px; + padding: 5px 20px; + min-height: 56px; min-width: 132px; color: var(--color-white); } @@ -522,6 +502,7 @@ body justify-content: space-around; align-content: center; padding: var(--padding-level-3); + margin: var(--padding-level-4) 0; } .partners-container a { @@ -573,13 +554,16 @@ body @media only screen and (min-device-width: 360px) and (max-device-width: 736px) { } -@media only screen and (min-width: 1200px) { -} - @media only screen and (max-width: 1023px) { } +@media only screen and (min-width: 1280px) { +} + @media only screen and (min-width: 1400px) { + .landing h4.tagline-text { + font-size: 2.25rem; + } } @media only screen and (min-width: 1500px) { From f542cde28322d24f5d6874c485deb5677c060e85 Mon Sep 17 00:00:00 2001 From: Sarah Fowler Date: Wed, 25 Sep 2019 17:36:43 -0400 Subject: [PATCH 5/8] [LIGO-95] I AM A CSS GENIUS\!\! --- gitlab-pages/website/pages/en/index.js | 44 +++++++++++----------- gitlab-pages/website/static/css/custom.css | 33 ++++++++++++++-- gitlab-pages/website/static/img/geo.svg | 11 ++++++ 3 files changed, 63 insertions(+), 25 deletions(-) create mode 100644 gitlab-pages/website/static/img/geo.svg diff --git a/gitlab-pages/website/pages/en/index.js b/gitlab-pages/website/pages/en/index.js index 3bd5004a3..8c9cac7de 100644 --- a/gitlab-pages/website/pages/en/index.js +++ b/gitlab-pages/website/pages/en/index.js @@ -107,29 +107,31 @@ class HomeSplash extends React.Component { const docUrl = doc => `${baseUrl}${docsPart}${langPart}${doc}`; const SampleCode = props => ( -
-
-
-
- PascaLIGO +
+
+
+
+
+ PascaLIGO +
+
+ CameLIGO +
+
ReasonLIGO (coming soon)
-
- CameLIGO +
+ {PascalLIGOTab()} + {CamelLIGOTab()}
-
ReasonLIGO (coming soon)
-
-
- {PascalLIGOTab()} - {CamelLIGOTab()}
diff --git a/gitlab-pages/website/static/css/custom.css b/gitlab-pages/website/static/css/custom.css index c5250c0e3..0167f638e 100644 --- a/gitlab-pages/website/static/css/custom.css +++ b/gitlab-pages/website/static/css/custom.css @@ -159,15 +159,27 @@ footnote { display: flex; align-items: center; justify-content: space-between; - padding: var(--padding-level-4); + padding: var(--padding-level-3); } .home-text { max-width: 40%; } -.code-sample { - max-width: 55%; +.sample-code-container { + display: flex; + justify-content: center; + box-sizing: border-box; + max-width: 60%; + background: url("/img/geo.svg") top right/140px 140px no-repeat, + url("/img/geo.svg") bottom left/200px 200px no-repeat; +} + +.sample-code { + max-width: 80%; + padding: 25px; + box-shadow: 0px 0px 70px rgba(13, 15, 51, 0.06); + background-color: white; } blockquote { @@ -555,12 +567,25 @@ body } @media only screen and (max-width: 1023px) { + .home-container { + flex-direction: column-reverse; + margin-top: var(--padding-level-1); + } + .home-text { + align-content: center; + text-align: center; + max-width: 90%; + padding-top: var(--padding-level-2); + } + .sample-code-container { + max-width: 100%; + } } @media only screen and (min-width: 1280px) { } -@media only screen and (min-width: 1400px) { +@media only screen and (min-width: 1440px) { .landing h4.tagline-text { font-size: 2.25rem; } diff --git a/gitlab-pages/website/static/img/geo.svg b/gitlab-pages/website/static/img/geo.svg new file mode 100644 index 000000000..4def0999c --- /dev/null +++ b/gitlab-pages/website/static/img/geo.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + From 6b9f5f3d39af946fe340d10a37f93339d7382170 Mon Sep 17 00:00:00 2001 From: Sarah Fowler Date: Wed, 25 Sep 2019 17:58:03 -0400 Subject: [PATCH 6/8] [LIGO-95] fix profile hover rule --- gitlab-pages/website/static/css/custom.css | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gitlab-pages/website/static/css/custom.css b/gitlab-pages/website/static/css/custom.css index 0167f638e..93ab1d3e0 100644 --- a/gitlab-pages/website/static/css/custom.css +++ b/gitlab-pages/website/static/css/custom.css @@ -176,7 +176,7 @@ footnote { } .sample-code { - max-width: 80%; + width: 80%; padding: 25px; box-shadow: 0px 0px 70px rgba(13, 15, 51, 0.06); background-color: white; @@ -465,15 +465,16 @@ body color: var(--color-primary-brand); } +.profileContainer:hover .profileImage { + box-shadow: 12px 12px 0px var(--color-primary-brand); +} + .profileImage { max-height: 195px; max-width: 195px; width: 100%; border: var(--color-gray); } -.profileImage:hover { - box-shadow: 12px 12px 0px var(--color-primary-brand); -} .flex-inline-container { display: flex; From 2cf6aafff2bc6083010d281b11f933c08012fb4e Mon Sep 17 00:00:00 2001 From: Sarah Fowler Date: Thu, 26 Sep 2019 09:56:45 -0400 Subject: [PATCH 7/8] [LIGO-95] minor css fixes --- gitlab-pages/website/static/css/custom.css | 28 ++++++++-------------- 1 file changed, 10 insertions(+), 18 deletions(-) diff --git a/gitlab-pages/website/static/css/custom.css b/gitlab-pages/website/static/css/custom.css index 93ab1d3e0..3deaba1a4 100644 --- a/gitlab-pages/website/static/css/custom.css +++ b/gitlab-pages/website/static/css/custom.css @@ -41,12 +41,20 @@ body, font-family: "Open Sans", sans-serif; } -code, +/** TODO: code font size is currently 85%; designs have it as 1rem (16px); +this breaks some of the tiny-text in the internal pages, so wait until those +are fixed to set this to the correct size +**/ +.landing code, .mono { font-family: "Source Code Pro", monospace; font-size: 1rem; } +code { + font-family: "Source Code Pro", monospace; +} + h1 { font-size: 2.625rem; } @@ -191,24 +199,8 @@ blockquote { blockquote code { opacity: 0.5; } -/* -blockquote a { - color: rgba(255,255,255, 0.8); - border-bottom: 1px solid rgba(255,255,255, 0.8); -} -blockquote a:hover { - color: rgba(255,255,255, 1); - border-bottom: 1px solid rgba(255,255,255, 1); -} */ -/* -blockquote { - background-color: rgba(252, 214, 0, 0.687); - border-left-color: rgba(240, 210, 37, 1); - color: rgba(0, 0, 0, 0.632); -} */ - -a { +.landing a { color: var(--color-white); } From 6cd5f661489eafc550725e9d5e2b132724044e4e Mon Sep 17 00:00:00 2001 From: Sarah Fowler Date: Thu, 26 Sep 2019 11:34:57 -0400 Subject: [PATCH 8/8] [LIGO-94] minor css fix --- gitlab-pages/website/static/css/custom.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gitlab-pages/website/static/css/custom.css b/gitlab-pages/website/static/css/custom.css index 3deaba1a4..2d9708a74 100644 --- a/gitlab-pages/website/static/css/custom.css +++ b/gitlab-pages/website/static/css/custom.css @@ -200,11 +200,19 @@ blockquote code { opacity: 0.5; } +a { + color: var(--color-primary-text); +} + +a:hover { + color: var(--color-primary-brand); +} + .landing a { color: var(--color-white); } -a:hover { +.landing a:hover { font-weight: bold; }