diff --git a/src/components/buttons/button.js b/src/components/buttons/button.js index 0293deebe..488d26efc 100644 --- a/src/components/buttons/button.js +++ b/src/components/buttons/button.js @@ -1,5 +1,6 @@ import * as React from "react" import {Link} from "gatsby"; +import { AnchorLink } from "gatsby-plugin-anchor-links"; export default class Button extends React.Component { render() { @@ -19,7 +20,11 @@ export default class Button extends React.Component { return } else if(this.props.type === 'anchor'){ - return + return ( + + {buttonTitle} + + ) } } } diff --git a/src/components/footer-box-2.js b/src/components/footer-box-2.js new file mode 100644 index 000000000..d5a202928 --- /dev/null +++ b/src/components/footer-box-2.js @@ -0,0 +1,43 @@ +import * as React from "react"; +import { Link } from "gatsby"; +import { AnchorLink } from "gatsby-plugin-anchor-links"; +import Button from "../components/buttons/button"; + +function FooterBox2({ footerBoxes2 }) { + return ( +
+

Start using Celestia

+
+ {footerBoxes2 && + footerBoxes2.map((box, index) => { + return ( +
+
+ {/*
*/} +
+
{box.title}
+
{box.text}
+
+
+ {box.link.type === "internal" ? ( +
+
+
+
+
+ ); + })} +
+
+ ); +} + +export default FooterBox2; diff --git a/src/components/footer.js b/src/components/footer.js index 79f0b12a0..da6d65c27 100644 --- a/src/components/footer.js +++ b/src/components/footer.js @@ -1,221 +1,281 @@ -import * as React from "react" -import { Link } from "gatsby" +import * as React from "react"; +import { Link } from "gatsby"; +import addToMailchimp from "gatsby-plugin-mailchimp"; +import { AnchorLink } from "gatsby-plugin-anchor-links"; import FooterBox from "../components/footer-box"; -import Discord from "./socials/discord"; -import Github from "./socials/github"; -import Email from "./socials/email"; -import Twitter from "./socials/twitter"; -import Youtube from "./socials/youtube"; - -import addToMailchimp from 'gatsby-plugin-mailchimp' - -import ReactModal from 'react-modal' - - -ReactModal.setAppElement('#___gatsby') - -const navigation = [ - { - text: "Home", - url: "/", - type: 'internal' - },{ - text: "Technology", - url: "/technology/", - type: 'internal' - },{ - text: "Team", - url: "/team/", - type: 'internal' - },{ - text: "Resources", - url: "/resources/", - type: 'internal' - },{ - text: "Blog", - url: "https://blog.celestia.org", - type: 'external' - },{ - text: "FAQ", - url: "/faq/", - type: 'internal' - },{ - text: "Careers", - url: "/careers/", - type: 'internal' - },{ - text: "Brand", - url: "https://company-223625.frontify.com/d/JoSwaZS4Mjpj", - type: 'external' - },{ - text: "Press", - url: "/press/", - type: 'internal' - },{ - text: "Forum", - url: "https://forum.celestia.org", - type: 'external' - },{ - text: "Ecosystem Jobs", - url: "https://celestia.pallet.com/jobs", - type: 'external' - },{ - text: "Terms of Service", - url: "/tos/", - type: 'internal' - },{ - text: "Privacy Policy", - url: "/privacy/", - type: 'internal' - }, -] +import FooterBox2 from "../components/footer-box-2"; +import ReactModal from "react-modal"; + +ReactModal.setAppElement("#___gatsby"); + +const navigation = { + column1: { + title: "Developers", + links: [ + { + text: "Developer portal", + url: "/developer-portal", + type: "internal", + }, + { + text: "Docs", + url: "https://docs.celestia.org/", + type: "external", + }, + { + text: "Github", + url: "https://github.com/celestiaorg", + type: "external", + }, + ], + }, + column2: { + title: "Resources", + links: [ + { + text: "Technology", + url: "/technology", + type: "internal", + }, + { + text: "Glossary", + url: "/glossary", + type: "internal", + }, + { + text: "Blog", + url: "https://blog.celestia.org", + type: "external", + }, + { + text: "Podcast", + url: "https://podcast.celestia.org/", + type: "external", + }, + { + text: "Resources", + url: "/resources", + type: "internal", + }, + ], + }, + column3: { + title: "Misc", + links: [ + { + text: "Brand", + url: "https://company-223625.frontify.com/d/JoSwaZS4Mjpj", + type: "external", + }, + { + text: "Press", + url: "/press/", + type: "internal", + }, + { + text: "Ecosystem Jobs", + url: "https://celestia.pallet.com/jobs", + type: "external", + }, + { + text: "Terms of Service", + url: "/tos/", + type: "internal", + }, + { + text: "Privacy Policy", + url: "/privacy/", + type: "internal", + }, + ], + }, +}; class Footer extends React.Component { - constructor(props) { - super(props); - - this.state = { - email : '', - listFields : { - 'group[57543]': '1' - }, - isModalOpen: false, - popupTitle: '', - msg: '' - }; - } - handleModalOpen = event => { - this.setState({ isModalOpen: true }) - document.body.style.overflow = 'hidden'; - } - - handleModalClose = event => { - this.setState({ isModalOpen: false }) - document.body.style.overflow = 'unset'; - } - - - mailchimp(url){ - addToMailchimp(this.state.email, this.state.listFields, url) // listFields are optional if you are only capturing the email address. - .then(data => { - this.setState({msg:data.msg}); - if(data.result === 'error' && data.msg.includes("is already subscribed")){ - this.setState({success:true}); - this.setState({isModalOpen:true}); - this.setState({popupTitle:'Thank you!'}); - this.setState({msg:'Thank you for subscribing!'}); - }else{ - if(data.result === 'success'){ - this.setState({success:true}); - this.setState({isModalOpen:true}); - this.setState({popupTitle:'Thank you!'}); - this.setState({msg:this.state.msg}); - }else{ - this.setState({isModalOpen:true}); - this.setState({popupTitle:'Error'}); - } - } - //console.log(data) - }) - .catch(() => { - }) - } - - _handleSubmit = e => { - e.preventDefault(); - const listFields = {}; - - listFields['group[57543][1]'] = 1 - - this.setState(prevState => ({ - listFields - }),()=> { - if(this.state.email){ - this.mailchimp('https://celestia.us6.list-manage.com/subscribe/post?u=cde2461ba84f5279fff352829&id=8d165e36d3') - } - }) - } - - - change = (e) => { - e.preventDefault(); - this.setState({ email: e.target.value }) - }; - - render() { - return ( -
- ) - } + constructor(props) { + super(props); + + this.state = { + email: "", + listFields: { + "group[57543]": "1", + }, + isModalOpen: false, + popupTitle: "", + msg: "", + }; + } + handleModalOpen = (event) => { + this.setState({ isModalOpen: true }); + document.body.style.overflow = "hidden"; + }; + + handleModalClose = (event) => { + this.setState({ isModalOpen: false }); + document.body.style.overflow = "unset"; + }; + + mailchimp(url) { + addToMailchimp(this.state.email, this.state.listFields, url) // listFields are optional if you are only capturing the email address. + .then((data) => { + this.setState({ msg: data.msg }); + if (data.result === "error" && data.msg.includes("is already subscribed")) { + this.setState({ success: true }); + this.setState({ isModalOpen: true }); + this.setState({ popupTitle: "Thank you!" }); + this.setState({ msg: "Thank you for subscribing!" }); + } else { + if (data.result === "success") { + this.setState({ success: true }); + this.setState({ isModalOpen: true }); + this.setState({ popupTitle: "Thank you!" }); + this.setState({ msg: this.state.msg }); + } else { + this.setState({ isModalOpen: true }); + this.setState({ popupTitle: "Error" }); + } + } + //console.log(data) + }) + .catch(() => {}); + } + + _handleSubmit = (e) => { + e.preventDefault(); + const listFields = {}; + + listFields["group[57543][1]"] = 1; + + this.setState( + (prevState) => ({ + listFields, + }), + () => { + if (this.state.email) { + this.mailchimp("https://celestia.us6.list-manage.com/subscribe/post?u=cde2461ba84f5279fff352829&id=8d165e36d3"); + } + } + ); + }; + + change = (e) => { + e.preventDefault(); + this.setState({ email: e.target.value }); + }; + + render() { + return ( +
+
+ {/* {this.props.FooterBoxes && } */} + {this.props.FooterBoxes2 && } + +
+
+
Subscribe to our Newsletter
+ +
this._handleSubmit(e)} className={"needs-validation"}> + this.change(e)} + required + /> + +
+
+
+
+
+ +
+
+
Follow us
+ + Community + +
+
+
+
+ +
+
+

+ This website is maintained by Celestia Labs, trading name of Strange Loop Labs AG, Werdenbergerweg 11, 9490 Vaduz, + Liechtenstein. +

+

+ Made with by Designatives +

+
+
+
+ +
+

{this.state.popupTitle}

+
+ +
+ +
+ ); + } } -export default Footer +export default Footer; diff --git a/src/components/glossary-nav.js b/src/components/glossary-nav.js index 1ce0be3e1..6adc372a4 100644 --- a/src/components/glossary-nav.js +++ b/src/components/glossary-nav.js @@ -28,7 +28,7 @@ const GlossaryNav = ({url}) => { return (
- {prev && next ?
+ {prev && next ?
{prev &&
diff --git a/src/components/header.js b/src/components/header.js index b5a6fe4ba..c0148a22c 100644 --- a/src/components/header.js +++ b/src/components/header.js @@ -11,60 +11,32 @@ const navigation = [ type: 'internal', submenus: [ { - text: "What is Celestia", + text: "What is Celestia?", subtext: "Start here", url: "/what-is-celestia/", icon: "menu/logo.svg", type: 'internal' }, { - text: "FAQ", - subtext: "Learn", - url: "/faq/", - icon: "menu/faq.svg", - type: 'internal' - }, - { - text: "Read our blog", - subtext: "Celestia Blog", - url: "https://blog.celestia.org/", - icon: "menu/documentation.svg", - type: 'external' - }, - { - text: "Technology", - subtext: "Tech", - url: "/technology/", - icon: "menu/technology-svg.svg", - type: 'internal' - }, - { - text: "Learn Modular", + text: "Dive into modular", subtext: "Dive deep", url: "/learn/", icon: "menu/books.svg", type: 'internal' }, { - text: "Glossary", - subtext: "Explore", - url: "/glossary/", - icon: "menu/search.svg", + text: "FAQ", + subtext: "Learn", + url: "/faq/", + icon: "menu/faq.svg", type: 'internal' }, { - text: "Videos, Podcasts, Whitepapers", - subtext: "Resources", - url: "/resources/", - icon: "menu/resources.svg", + text: "Read the whitepaper", + subtext: "Research paper", + url: "/faq/", + icon: "menu/research.svg", type: 'internal' - }, - { - text: "Podcast", - subtext: "Listen", - url: "https://podcast.celestia.org/", - icon: "menu/mic.svg", - type: 'external' } ] },{ @@ -79,53 +51,24 @@ const navigation = [ type: 'internal' }, { - text: "Read our docs", - subtext: "Celestia Docs", + text: "Read the docs", + subtext: "Celestia Documentation", url: "https://docs.celestia.org/", icon: "menu/documentation.svg", type: 'external' }, { - text: "View our GitHub repos", + text: "View the GitHub repos", subtext: "GitHub repositories", url: "https://github.com/celestiaorg", icon: "menu/github.svg", type: 'external' - }, - { - text: "Read the LazyLedger whitepaper", - subtext: "Research paper", - url: "https://arxiv.org/pdf/1905.09274.pdf", - icon: "menu/research.svg", - type: 'external' - }, + } ] },{ - text: "Explore", - url: "", - submenus: [ - { - text: "Run a light node", - subtext: "Node operator", - url: "/run-a-light-node/", - icon: "menu/technology-svg.svg", - type: 'internal' - }, - { - text: "Join the community", - subtext: "Social channels", - url: "/community/", - icon: "menu/forum.svg", - type: 'internal' - }, - { - text: "Explore the ecosystem", - subtext: "Celestia ecosystem", - url: "/ecosystem/", - icon: "menu/careers.svg", - type: 'internal' - }, - ] + text: "Run a node", + url: "/run-a-light-node/", + type: 'internal' }, ] diff --git a/src/components/layout.js b/src/components/layout.js index 6d06065bc..e7c52ee2a 100644 --- a/src/components/layout.js +++ b/src/components/layout.js @@ -2,12 +2,12 @@ import React from "react"; import Header from "./header"; import Footer from "./footer"; -export default function Layout({ children, footerBoxes }) { +export default function Layout({ children, footerBoxes, footerBoxes2 }) { return ( <>
{children} -
+
); } diff --git a/src/components/modules/anchorMenu.js b/src/components/modules/anchorMenu.js index ebe1e0170..04028573c 100644 --- a/src/components/modules/anchorMenu.js +++ b/src/components/modules/anchorMenu.js @@ -1,5 +1,5 @@ import * as React from "react" - +import { AnchorLink } from "gatsby-plugin-anchor-links"; export default class AnchorMenu extends React.Component { render() { return
@@ -9,8 +9,7 @@ export default class AnchorMenu extends React.Component { {this.props.anchors.map((anchor,index) => ( - {anchor.text} - + {anchor.text} ))} diff --git a/src/components/modules/featured-learn.js b/src/components/modules/featured-learn.js index 8a6ec1a7c..eeca53656 100644 --- a/src/components/modules/featured-learn.js +++ b/src/components/modules/featured-learn.js @@ -38,7 +38,7 @@ export default function FeaturedLearn(props) { const next = index === data.allMarkdownRemark.edges.length - 1 ? 0 : index+1; return ( -
+
{content.title}
{content.text &&
{content.text}
}
- - {content.link.text} - - - - - +
@@ -48,19 +37,7 @@ export default function IconCard({ imageClass, content, variant, iconPosition =
{content.title}
{content.text &&
{content.text}
}
diff --git a/src/components/modules/toc.js b/src/components/modules/toc.js index 600a595fc..aa92a978c 100644 --- a/src/components/modules/toc.js +++ b/src/components/modules/toc.js @@ -1,37 +1,19 @@ -import React, {useEffect} from "react" +import React, { useState } from "react" import { AnchorLink } from "gatsby-plugin-anchor-links"; const ToC = ({ headings, frontmatter }) => { - useEffect(() => { - const observer = new IntersectionObserver(entries => { - entries.forEach(entry => { - const id = entry.target.getAttribute('id'); - if (document.querySelector(`.toc-item`)) { - if (entry.intersectionRatio > 0 ) { - document.querySelector(`.toc-item a[href*="#${id}"]`) && document.querySelector(`.toc-item a[href*="#${id}"]`).parentElement.classList.add('selected'); - } else { - document.querySelector(`.toc-item a[href*="#${id}"]`) && document.querySelector(`.toc-item a[href*="#${id}"]`).parentElement.classList.remove('selected'); - } - } - }); - }); - - // Track all sections that have an `id` applied - if(document.querySelector(`.toc-item`)){ - document.querySelectorAll('h4[id]').forEach((section) => { - observer.observe(section); - }); - } + const [selectedItem, setSelectedItem] = useState(0); - //}); - }, []); + const handleItemClick = (index) => { + setSelectedItem(index); + } return (
{headings.map((heading, index) => { if (heading.depth === 4) { return ( -
+
handleItemClick(index)}> {heading.value} @@ -43,4 +25,4 @@ const ToC = ({ headings, frontmatter }) => { ); } -export default ToC +export default ToC \ No newline at end of file diff --git a/src/components/sections/backers-sections.js b/src/components/sections/backers-sections.js index ce616240c..b025d424d 100644 --- a/src/components/sections/backers-sections.js +++ b/src/components/sections/backers-sections.js @@ -1,166 +1,203 @@ -import * as React from "react" +import * as React from "react"; import Backer from "../modules/backer"; -import Carousel from 'react-multi-carousel'; -import 'react-multi-carousel/lib/styles.css'; +import Carousel from "react-multi-carousel"; +import "react-multi-carousel/lib/styles.css"; -import {content} from "../../datas/home/content" +import { content } from "../../datas/home/content"; import Resource from "../modules/resource"; -import {resources} from "../../datas/home/resources"; +import { resources } from "../../datas/home/resources"; import Button from "../buttons/button"; -import {videos} from "../../datas/resources/videos"; -import {podcasts} from "../../datas/resources/podcasts"; -import {whitepapers} from "../../datas/resources/whitepapers"; +import { videos } from "../../datas/resources/videos"; +import { podcasts } from "../../datas/resources/podcasts"; +import { whitepapers } from "../../datas/resources/whitepapers"; const responsive = { - desktop: { - breakpoint: { max: 3000, min: 1024 }, - items: 6, - slidesToSlide:3 - }, - laptop: { - breakpoint: { max: 1440, min: 640 }, - items: 5, - slidesToSlide:3 - }, - tablet: { - breakpoint: { max: 1024, min: 464 }, - items: 3, - slidesToSlide:3 - }, - mobile: { - breakpoint: { max: 640, min: 0 }, - items: 1, - slidesToSlide:1 - } + desktop: { + breakpoint: { max: 3000, min: 1024 }, + items: 6, + slidesToSlide: 3, + }, + laptop: { + breakpoint: { max: 1440, min: 640 }, + items: 5, + slidesToSlide: 3, + }, + tablet: { + breakpoint: { max: 1024, min: 464 }, + items: 3, + slidesToSlide: 3, + }, + mobile: { + breakpoint: { max: 640, min: 0 }, + items: 1, + slidesToSlide: 1, + }, }; - const ButtonGroup = ({ next, previous, goToSlide, ...rest }) => { - return ( -
- - -
- ); + return ( +
+ + +
+ ); }; export default class BackersSection extends React.Component { - constructor(props) { - super(props); - this.state = { - posts : [] - }; - } - async getPosts() { - try { - let response = await fetch('https://blog.celestia.org/ghost/api/v3/content/posts/?key=000cf34311006e070b17fffcfd&limit=5&fields=title,text,feature_image,url'); - let responseJson = await response.json(); + constructor(props) { + super(props); + this.state = { + posts: [], + }; + } + async getPosts() { + try { + let response = await fetch( + "https://blog.celestia.org/ghost/api/v3/content/posts/?key=000cf34311006e070b17fffcfd&limit=5&fields=title,text,feature_image,url" + ); + let responseJson = await response.json(); - const blogPosts = []; - for (const [key, value] of Object.entries(responseJson.posts)) { - blogPosts.push({category:'blog', title:value.title, text: value.text, image: value.feature_image, url: value.url}); - } - this.setState({posts:blogPosts}) - } catch(error) { - console.error(error); - } - } - getContent(id){ - var content = ''; - switch (resources[id].category){ - case "blog": - content = this.state.posts[resources[id].id]; - break; - case "video": - content = videos[resources[id].id]; - break; - case "podcast": - content = podcasts[resources[id].id]; - break; - case "whitepaper": - content = whitepapers[resources[id].id]; - break; - default: - content = resources[id]; - break; - } - return content - } - componentDidMount() { - this.getPosts(); - } - render() { - const self = this; - return ( -
- {this.props.enableBackers &&
-

{content.backersSection.title}

-
{content.backersSection.subtitle}
+ const blogPosts = []; + for (const [key, value] of Object.entries(responseJson.posts)) { + blogPosts.push({ category: "blog", title: value.title, text: value.text, image: value.feature_image, url: value.url }); + } + this.setState({ posts: blogPosts }); + } catch (error) { + console.error(error); + } + } + getContent(id) { + var content = ""; + switch (resources[id].category) { + case "blog": + content = this.state.posts[resources[id].id]; + break; + case "video": + content = videos[resources[id].id]; + break; + case "podcast": + content = podcasts[resources[id].id]; + break; + case "whitepaper": + content = whitepapers[resources[id].id]; + break; + default: + content = resources[id]; + break; + } + return content; + } + componentDidMount() { + this.getPosts(); + } + render() { + const self = this; + return ( +
+ {this.props.enableBackers && ( +
+

{content.backersSection.title}

+
{content.backersSection.subtitle}
-
- }> - { self.props.backers && self.props.backers.map(function(backer,index){ - if(index %2 === 0){ - const next = index + 1; - if(next < self.props.backers.length){ - return
- }else{ - if(index <= self.props.backers.length){ - return
- } - } - } - })} - { self.props.backers && self.props.backers.map(function(backer,index){ - if(index %2 === 0){ - const next = index + 1; - if(next < self.props.backers.length){ - return
- }else{ - if(index <= self.props.backers.length){ - return
- } - } - } - })} -
-
-
} +
+ } + > + {self.props.backers && + self.props.backers.map(function (backer, index) { + if (index % 2 === 0) { + const next = index + 1; + if (next < self.props.backers.length) { + return ( +
+ + +
+ ); + } else { + if (index <= self.props.backers.length) { + return ( +
+ +
+ ); + } + } + } + })} + {self.props.backers && + self.props.backers.map(function (backer, index) { + if (index % 2 === 0) { + const next = index + 1; + if (next < self.props.backers.length) { + return ( +
+ + +
+ ); + } else { + if (index <= self.props.backers.length) { + return ( +
+ +
+ ); + } + } + } + })} +
+
+
+ )} -
-

Blog

+
+

Blog

-
-
-
- -
-
-
-
- -
-
- -
-
- -
-
- -
-
-
-
-
+
+
+ +
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
-
-
-
-
-
-
- ) - } +
+
+
+
+
+ + ); + } } diff --git a/src/datas/careers/seoContent.js b/src/datas/careers/seoContent.js index c1d1cb167..9c936f4eb 100644 --- a/src/datas/careers/seoContent.js +++ b/src/datas/careers/seoContent.js @@ -1,5 +1,5 @@ export const seoContent = { - title: "Celestia - Careers", + title: "Careers | celestia.org", ogTitle: "Careers | celestia.org", description: "Join our team of leading engineers, researchers, and entrepreneurs in pioneering the first modular blockchain design.", image: "/celestia-default-og-image.jpg", diff --git a/src/datas/community/seoContent.js b/src/datas/community/seoContent.js index 0592e797b..ec291f73d 100644 --- a/src/datas/community/seoContent.js +++ b/src/datas/community/seoContent.js @@ -1,5 +1,5 @@ export const seoContent = { - title: "Celestia - Community", + title: "Community | celestia.org", ogTitle: "Community | celestia.org", description: "Discover community hubs, discussion forums, and resources that are used by the global Celestia community.", image: "/celestia-default-og-image.jpg", diff --git a/src/datas/developer-portal/frameworks.js b/src/datas/developer-portal/frameworks.js index 2e8e2279c..ef831e8b1 100644 --- a/src/datas/developer-portal/frameworks.js +++ b/src/datas/developer-portal/frameworks.js @@ -10,7 +10,7 @@ export const frameworks = { type: "external", link: { text:"Explore Caldera", - url: "https://docs.celestia.org/developers/taro-testnet/", + url: "https://calderaxyz.gitbook.io/caldera-documentation/getting-started/create-a-mainnet-chain", }, }, { diff --git a/src/datas/developer-portal/seoContent.js b/src/datas/developer-portal/seoContent.js index 341353f1f..6b11af93d 100644 --- a/src/datas/developer-portal/seoContent.js +++ b/src/datas/developer-portal/seoContent.js @@ -1,5 +1,5 @@ export const seoContent = { - title: "Celestia - Developer Portal", + title: "Developer Portal | celestia.org", ogTitle: "Developer Portal | celestia.org", description: "The homepage for Celestia developers. Tutorials. Resources. Community.", image: "/developer-portal-og-image.jpg", diff --git a/src/datas/ecosystem/seoContent.js b/src/datas/ecosystem/seoContent.js index 26e857c0b..2b8ea09a4 100644 --- a/src/datas/ecosystem/seoContent.js +++ b/src/datas/ecosystem/seoContent.js @@ -1,5 +1,5 @@ export const seoContent = { - title: "Celestia - Ecosystem", + title: "Ecosystem | celestia.org", ogTitle: "Ecosystem | celestia.org", description: "Celestia Ecosystem provides a wide range of apps and services built in the Celestia ecosystem.", image: "/ecosystem-og-image.jpg", diff --git a/src/datas/faq/seoContent.js b/src/datas/faq/seoContent.js index e096ed2c6..9aab87a19 100644 --- a/src/datas/faq/seoContent.js +++ b/src/datas/faq/seoContent.js @@ -1,5 +1,5 @@ export const seoContent = { - title: "Celestia - FAQ", + title: "FAQ | celestia.org", ogTitle: "FAQ | celestia.org", description: "Find answers to frequently asked questions about Celestia.", image: "/celestia-default-og-image.jpg", diff --git a/src/datas/glossary/seoContent.js b/src/datas/glossary/seoContent.js index 57c979c42..abca5f802 100644 --- a/src/datas/glossary/seoContent.js +++ b/src/datas/glossary/seoContent.js @@ -1,5 +1,5 @@ export const seoContent = { - title: "Celestia - Glossary", + title: "Glossary | celestia.org", ogTitle: "Glossary | celestia.org", description: "Explore new terms about Celestia and modular blockchains.", image: "/celestia-default-og-image.jpg", diff --git a/src/datas/home/advantages.js b/src/datas/home/advantages.js index fbd587c00..511a5d9ec 100644 --- a/src/datas/home/advantages.js +++ b/src/datas/home/advantages.js @@ -1,7 +1,7 @@ export const advantages = [ { id: '1', - title: 'Build', + title: 'Deploy Fast', text: 'Deploy your own blockchain in minutes, as easily as a smart contract', image: 'advantages/advantage-1.png', },{ @@ -16,7 +16,7 @@ export const advantages = [ image: 'advantages/advantage-3.png', },{ id: '4', - title: 'Sovereign', + title: 'Be Sovereign', text: 'Build sovereign rollups, a new type of self-governing blockchain with minimal platform risk', image: 'advantages/advantage-4.png', }, diff --git a/src/datas/home/explore-celestia.js b/src/datas/home/explore-celestia.js new file mode 100644 index 000000000..fa62b4a61 --- /dev/null +++ b/src/datas/home/explore-celestia.js @@ -0,0 +1,18 @@ +export const exploreCelestia = [ + { + title: 'Explore the ecosystem', + text: "Explore Celestia’s ecosystem of rollups and modular infrastructure", + image: 'home/explore-1.png', + link: "/ecosystem", + },{ + title: 'Use TIA', + text: 'Pay for blobspace, secure the network, and participate in governance', + image: 'home/explore-2.png', + link: "/what-is-tia", + },{ + title: 'Run a light node', + text: 'Join the first modular data availability network in as little as 2 clicks', + image: 'home/explore-3.png', + link: "/run-a-light-node", + } +] diff --git a/src/datas/home/hero-section.js b/src/datas/home/hero-section.js index 35f61956c..4c90c5c9f 100644 --- a/src/datas/home/hero-section.js +++ b/src/datas/home/hero-section.js @@ -3,16 +3,16 @@ export const heroData = { text: 'Celestia is a modular consensus and data network, built to enable anyone to easily deploy their own blockchain with minimal overhead.', buttons:[ { - text: 'Learn Celestia', + text: 'Build modular', class: 'simple', type: 'internal', - url: '/what-is-celestia/' + url: '/developer-portal/' }, { - text: 'Build modular', + text: 'Explore', class: 'white', - type: 'internal', - url: '/developer-portal/' + type: 'anchor', + url: '/#explore-celestia' } ] } diff --git a/src/datas/home/seoContent.js b/src/datas/home/seoContent.js index d58fce689..f2e8f852d 100644 --- a/src/datas/home/seoContent.js +++ b/src/datas/home/seoContent.js @@ -1,5 +1,5 @@ export const seoContent = { - title: "Celestia - Home", + title: "Home | celestia.org", ogTitle: "Home | celestia.org", description: "Celestia is a modular consensus and data network, built to enable anyone to easily deploy their own blockchain with minimal overhead.", image: "/celestia-default-og-image.jpg", diff --git a/src/datas/home/social-channels.js b/src/datas/home/social-channels.js new file mode 100644 index 000000000..9619738ae --- /dev/null +++ b/src/datas/home/social-channels.js @@ -0,0 +1,54 @@ +export const socialChannels = { + title: "Social channels", + description: "Communication channels for the community, discussions, updates, and news.", + items: [ + { + id: 1, + title: "X", + text: "Read the latest", + image: "home/twitter-black.png", + type: "external", + url: "https://twitter.com/CelestiaOrg", + }, + { + id: 2, + title: "Discord", + text: "Get involved", + image: "home/discord-black.png", + type: "external", + url: "https://discord.com/invite/YsnTPcSfWQ", + }, + { + id: 3, + title: "Github", + text: "Build with us", + image: "home/github-black.png", + type: "external", + url: "https://github.com/celestiaorg", + }, + { + id: 4, + title: "Telegram", + text: "Join discussion", + image: "home/telegram-black.png", + type: "external", + url: "https://t.me/CelestiaCommunity", + }, + { + id: 5, + title: "Forum", + text: "Read Updates", + image: "home/forum-black.png", + type: "external", + url: "https://forum.celestia.org/", + }, + { + id: 6, + title: "Reddit", + text: "See more", + image: "home/reddit-black.png", + type: "external", + url: "https://www.reddit.com/r/CelestiaNetwork/", + }, + ], +}; diff --git a/src/datas/press/seoContent.js b/src/datas/press/seoContent.js index 6bffbb050..d149bfd30 100644 --- a/src/datas/press/seoContent.js +++ b/src/datas/press/seoContent.js @@ -1,5 +1,5 @@ export const seoContent = { - title: "Celestia - Press", + title: "Press | celestia.org", ogTitle: "Press | celestia.org", description: "Find branding, news, social channels, and press contacts.", image: "/celestia-default-og-image.jpg", diff --git a/src/datas/resources/seoContent.js b/src/datas/resources/seoContent.js index bc0dba6f6..95fc2dd2f 100644 --- a/src/datas/resources/seoContent.js +++ b/src/datas/resources/seoContent.js @@ -1,5 +1,5 @@ export const seoContent = { - title: "Celestia - Resources", + title: "Resources | celestia.org", ogTitle: "Resources | celestia.org", description: "Explore blog posts, podcasts episodes, YouTube videos, and research papers about the Celestia network.", image: "/celestia-default-og-image.jpg", diff --git a/src/datas/team/content.js b/src/datas/team/content.js index 72cc2f276..76e8e5192 100644 --- a/src/datas/team/content.js +++ b/src/datas/team/content.js @@ -1,7 +1,7 @@ export const content = { title : 'Meet the team', - subtitle: 'We\'re building the Celestia network', - text: 'Our team has deep experience building and scaling blockchains from projects like Ethereum, Cosmos and Harmony.

We are on a mission to change the way that blockchains and decentralized applications are built—making them more secure, scalable and sovereign. We envision a world where global communities have the power to self-organize without being burdened by existing power structures.', + subtitle: '', + text: 'We are on a mission to change the way that blockchains and decentralized applications are built—making them more secure, scalable and sovereign. We envision a world where global communities have the power to self-organize without being burdened by existing power structures.', menus: [ { id : 'team', diff --git a/src/datas/team/seoContent.js b/src/datas/team/seoContent.js index 0d240bfe4..fd294b0fe 100644 --- a/src/datas/team/seoContent.js +++ b/src/datas/team/seoContent.js @@ -1,5 +1,5 @@ export const seoContent = { - title: "Celestia - Team", + title: "Team | celestia.org", ogTitle: "Team | celestia.org", description: "Meet the team building the Celestia network.", image: "/celestia-default-og-image.jpg", diff --git a/src/datas/technology/seoContent.js b/src/datas/technology/seoContent.js index d452f02f0..106626617 100644 --- a/src/datas/technology/seoContent.js +++ b/src/datas/technology/seoContent.js @@ -1,5 +1,5 @@ export const seoContent = { - title: "Celestia - Technology", + title: "Technology | celestia.org", ogTitle: "Technology | celestia.org", description: "Learn about the core technology powering Celestia's new modular blockchain architecture.", image: "/celestia-default-og-image.jpg", diff --git a/src/datas/what-is-celestia/content.js b/src/datas/what-is-celestia/content.js index 8949e599c..33f857205 100644 --- a/src/datas/what-is-celestia/content.js +++ b/src/datas/what-is-celestia/content.js @@ -1,22 +1,22 @@ -export const FooterBoxes = [ +export const FooterBoxes2 = [ { - title: 'Experiment with testnet', - text: 'Join a growing ecosystem of developers building rollups and applications on the Mocha testnet.', - button: { - text: 'Get started', - href: 'https://docs.celestia.org/', - id: 'operator', - type: 'simple' + title: 'Build your app', + text: 'Deploy your own chain or smart contract on Celestia’s public testnets', + link: { + text: 'Find your best option', + href: '/developer-portal/', + type: 'internal', + id: 'build', } }, { - title: 'Join our growing team', - text: 'Join our team of leading engineers in pioneering the first modular blockchain network.', - button: { - text: 'Current openings', - href: '/careers', - id: 'career', - type: 'simple' + title: 'Explore what you can do', + text: 'Go through Celestia’s world of apps, run your own node, learn about TIA, or even do all three!', + link: { + text: 'Show me', + href: '/#explore-celestia', + type: 'anchor', + id: 'explore', } } ] diff --git a/src/datas/what-is-celestia/seoContent.js b/src/datas/what-is-celestia/seoContent.js index 69da9fc43..d53c9d23b 100644 --- a/src/datas/what-is-celestia/seoContent.js +++ b/src/datas/what-is-celestia/seoContent.js @@ -1,5 +1,5 @@ export const seoContent = { - title: "Celestia - What is Celestia?", + title: "What is Celestia? | celestia.org", ogTitle: "What is Celestia? | celestia.org", description: "A complete beginner's guide to how Celestia works, its key benefits, and how anyone in the world will be able to create their own blockchain in minutes.", image: "/what-is-celestia-og-image.jpg", diff --git a/src/datas/what-is-celestia/toc.js b/src/datas/what-is-celestia/toc.js new file mode 100644 index 000000000..4d71c3502 --- /dev/null +++ b/src/datas/what-is-celestia/toc.js @@ -0,0 +1,37 @@ +export const tableOfContent = [ + { + depth: 1, + id: "what-is-a-modular-blockchain", + value: "What is a modular blockchain?", + }, + { + depth: 1, + id: "what-is-data-availability", + value: "What is data availability?", + }, + { + depth: 1, + id: "what-are-rollups", + value: "What are rollups?", + }, + { + depth: 1, + id: "whats-it-like-to-build-on-Celestia", + value: "What's it like to build on Celestia?", + }, + { + depth: 1, + id: "modularism-not-maximalism", + value: "Modularism, not maximalism", + }, + { + depth: 1, + id: "layer-0-social-consensus", + value: "Layer 0 social consensus", + }, + { + depth: 1, + id: "start-using-celestia", + value: "Start using Celestia", + }, +]; diff --git a/src/datas/what-is-tia/content.js b/src/datas/what-is-tia/content.js new file mode 100644 index 000000000..72c3b7015 --- /dev/null +++ b/src/datas/what-is-tia/content.js @@ -0,0 +1,21 @@ +export const FooterBoxes = [ + { + title: 'Join our growing ecosystem', + text: 'View job openings and career opportunities in the Celestia ecosystem.', + button: { + text: 'Current openings', + href: 'https://celestia.pallet.com/jobs', + id: 'operator', + type: 'simple' + } + },{ + title: 'Build on our developer beta', + text: 'Join a growing modular ecosystem of developers building on testnet.', + button: { + text: 'Get started', + href: '/developer-portal/', + id: 'operator', + type: 'simple' + } + } +] diff --git a/src/datas/what-is-tia/hero-data.js b/src/datas/what-is-tia/hero-data.js new file mode 100644 index 000000000..8fb015f50 --- /dev/null +++ b/src/datas/what-is-tia/hero-data.js @@ -0,0 +1,18 @@ +export const heroData = { + title: "What is TIA?", + text: "Learn about TIA, the native token of the Celestia blockchain.", + buttons: [ + { + text: "Pay for Data", + class: "simple", + type: "external", + url: "https://docs.celestia.org/learn/submit-data", + }, + { + text: "Stake TIA", + class: "white", + type: "anchor", + url: "staking-and-custody", + } + ], +}; diff --git a/src/datas/what-is-tia/role.js b/src/datas/what-is-tia/role.js new file mode 100644 index 000000000..5b829a6a0 --- /dev/null +++ b/src/datas/what-is-tia/role.js @@ -0,0 +1,45 @@ +export const role = { + title: "TIA's role in Celestia", + items: [ + { + id: 1, + title: "Pay for blobspace", + text: "Rollups pay to publish data to Celestia’s blobspace using TIA.", + image: "what-is-tia/what-is-tia-role-1.png", + links: [ + { + text: "Create wallet with celestia-node", + url: "https://docs.celestia.org/developers/celestia-node-key/", + type: "external", + }, + { + text: "Learn more", + url: "https://docs.celestia.org/learn/submit-data/", + type: "external", + }, + ], + }, + { + id: 2, + title: "Secure the network", + text: "Users stake TIA to participate in consensus and secure Celestia.", + image: "what-is-tia/what-is-tia-role-2.png", + type: "external", + links: [ + { + text: "View documentation", + url: "https://docs.celestia.org/learn/tia", + type: "external", + }, + ], + }, + { + id: 3, + title: "Gas token for rollups", + text: "Developers can use TIA as a gas token for their rollups.", + image: "what-is-tia/what-is-tia-role-3.png", + type: "external", + links: [], + }, + ], +}; diff --git a/src/datas/what-is-tia/seoContent.js b/src/datas/what-is-tia/seoContent.js new file mode 100644 index 000000000..a40c4c8df --- /dev/null +++ b/src/datas/what-is-tia/seoContent.js @@ -0,0 +1,5 @@ +export const seoContent = { + title: "What is TIA? | celestia.org", + description: "Learn about TIA, the native token of the Celestia blockchain.", + image: "", +}; diff --git a/src/datas/what-is-tia/wallets.js b/src/datas/what-is-tia/wallets.js new file mode 100644 index 000000000..f0f749cae --- /dev/null +++ b/src/datas/what-is-tia/wallets.js @@ -0,0 +1,42 @@ +export const wallets = { + title: "Wallets", + details: "", + items: [ + { + id: 1, + title: "Keplr Wallet", + device: ["IOS", "Android", "Desktop"], + image: "what-is-tia/kepler-icon.jpg", + backdropClass: "opacity-50", + url: "https://www.keplr.app/", + type: "external", + }, + { + id: 2, + title: "Cosmostation", + device: ["IOS", "Android", "Desktop"], + image: "what-is-tia/cosmostation-icon.jpg", + backdropClass: "opacity-100", + url: "https://cosmostation.io/products/cosmostation_extension", + type: "external", + }, + { + id: 3, + title: "Leap", + device: ["IOS", "Android", "Desktop"], + image: "what-is-tia/leap-icon.jpg", + backdropClass: "opacity-100", + url: "https://www.leapwallet.io/", + type: "external", + }, + { + id: 4, + title: "Ledger", + device: ["IOS", "Android", "Desktop"], + image: "what-is-tia/ledger-icon.jpg", + backdropClass: "opacity-50", + url: "https://www.ledger.com/", + type: "external", + }, + ], +}; diff --git a/src/images/celestia-monolithic-modular-diagram.png b/src/images/celestia-monolithic-modular-diagram.png new file mode 100644 index 000000000..1c82c235d Binary files /dev/null and b/src/images/celestia-monolithic-modular-diagram.png differ diff --git a/src/images/footer-box2-1.png b/src/images/footer-box2-1.png new file mode 100644 index 000000000..80da296a8 Binary files /dev/null and b/src/images/footer-box2-1.png differ diff --git a/src/images/footer-box2-1.svg b/src/images/footer-box2-1.svg new file mode 100644 index 000000000..32d350b0f --- /dev/null +++ b/src/images/footer-box2-1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/images/footer-box2-2.png b/src/images/footer-box2-2.png new file mode 100644 index 000000000..ac5a74e61 Binary files /dev/null and b/src/images/footer-box2-2.png differ diff --git a/src/images/footer-box2-2.svg b/src/images/footer-box2-2.svg new file mode 100644 index 000000000..ed1c3dc8c --- /dev/null +++ b/src/images/footer-box2-2.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/src/images/home/discord-black.png b/src/images/home/discord-black.png new file mode 100644 index 000000000..2e9c2a21e Binary files /dev/null and b/src/images/home/discord-black.png differ diff --git a/src/images/home/explore-1.png b/src/images/home/explore-1.png new file mode 100644 index 000000000..719c48b40 Binary files /dev/null and b/src/images/home/explore-1.png differ diff --git a/src/images/home/explore-2.png b/src/images/home/explore-2.png new file mode 100644 index 000000000..f5cba1f8a Binary files /dev/null and b/src/images/home/explore-2.png differ diff --git a/src/images/home/explore-3.png b/src/images/home/explore-3.png new file mode 100644 index 000000000..2d4d910fa Binary files /dev/null and b/src/images/home/explore-3.png differ diff --git a/src/images/home/forum-black.png b/src/images/home/forum-black.png new file mode 100644 index 000000000..da6a6b0ec Binary files /dev/null and b/src/images/home/forum-black.png differ diff --git a/src/images/home/github-black.png b/src/images/home/github-black.png new file mode 100644 index 000000000..b731d1fd0 Binary files /dev/null and b/src/images/home/github-black.png differ diff --git a/src/images/home/modular-meetup.jpg b/src/images/home/modular-meetup.jpg new file mode 100644 index 000000000..9862897fe Binary files /dev/null and b/src/images/home/modular-meetup.jpg differ diff --git a/src/images/home/modular-summit-2023.jpg b/src/images/home/modular-summit-2023.jpg new file mode 100644 index 000000000..8f0b0cdae Binary files /dev/null and b/src/images/home/modular-summit-2023.jpg differ diff --git a/src/images/home/reddit-black.png b/src/images/home/reddit-black.png new file mode 100644 index 000000000..e331a10cb Binary files /dev/null and b/src/images/home/reddit-black.png differ diff --git a/src/images/home/telegram-black.png b/src/images/home/telegram-black.png new file mode 100644 index 000000000..874065e31 Binary files /dev/null and b/src/images/home/telegram-black.png differ diff --git a/src/images/home/twitter-black.png b/src/images/home/twitter-black.png new file mode 100644 index 000000000..ea2bbc5c5 Binary files /dev/null and b/src/images/home/twitter-black.png differ diff --git a/src/images/home/x-caption-logo.jpg b/src/images/home/x-caption-logo.jpg new file mode 100644 index 000000000..29e33a7e4 Binary files /dev/null and b/src/images/home/x-caption-logo.jpg differ diff --git a/src/images/home/x-caption-logo.png b/src/images/home/x-caption-logo.png new file mode 100644 index 000000000..c1478d0bb Binary files /dev/null and b/src/images/home/x-caption-logo.png differ diff --git a/src/images/what-is-celestia/celestia-data-availability.png b/src/images/what-is-celestia/celestia-data-availability.png new file mode 100644 index 000000000..3d39313dd Binary files /dev/null and b/src/images/what-is-celestia/celestia-data-availability.png differ diff --git a/src/images/what-is-celestia/celestia-infographics-paths.png b/src/images/what-is-celestia/celestia-infographics-paths.png index 2cc8fa302..1efc8281f 100644 Binary files a/src/images/what-is-celestia/celestia-infographics-paths.png and b/src/images/what-is-celestia/celestia-infographics-paths.png differ diff --git a/src/images/what-is-celestia/celestia-modular.png b/src/images/what-is-celestia/celestia-modular.png new file mode 100644 index 000000000..1c82c235d Binary files /dev/null and b/src/images/what-is-celestia/celestia-modular.png differ diff --git a/src/images/what-is-celestia/celestia-modularizm.png b/src/images/what-is-celestia/celestia-modularizm.png new file mode 100644 index 000000000..4589796b6 Binary files /dev/null and b/src/images/what-is-celestia/celestia-modularizm.png differ diff --git a/src/images/what-is-celestia/celestia-monolithic-modular-diagram.png b/src/images/what-is-celestia/celestia-monolithic-modular-diagram.png deleted file mode 100644 index 5a7a3e5ea..000000000 Binary files a/src/images/what-is-celestia/celestia-monolithic-modular-diagram.png and /dev/null differ diff --git a/src/images/what-is-celestia/celestia-what-are-rollups.png b/src/images/what-is-celestia/celestia-what-are-rollups.png new file mode 100644 index 000000000..e41e6d3ad Binary files /dev/null and b/src/images/what-is-celestia/celestia-what-are-rollups.png differ diff --git a/src/images/what-is-celestia/celestia-what-is-diagram.png b/src/images/what-is-celestia/celestia-what-is-diagram.png deleted file mode 100644 index 15ef6ed2b..000000000 Binary files a/src/images/what-is-celestia/celestia-what-is-diagram.png and /dev/null differ diff --git a/src/images/what-is-celestia/celestia-what-is-modular.png b/src/images/what-is-celestia/celestia-what-is-modular.png new file mode 100644 index 000000000..ddd981551 Binary files /dev/null and b/src/images/what-is-celestia/celestia-what-is-modular.png differ diff --git a/src/images/what-is-celestia/web-celestia-diagram.png b/src/images/what-is-celestia/web-celestia-diagram.png deleted file mode 100644 index acc56914b..000000000 Binary files a/src/images/what-is-celestia/web-celestia-diagram.png and /dev/null differ diff --git a/src/images/what-is-tia/cosmostation-backdrop.jpg b/src/images/what-is-tia/cosmostation-backdrop.jpg new file mode 100644 index 000000000..a856d00be Binary files /dev/null and b/src/images/what-is-tia/cosmostation-backdrop.jpg differ diff --git a/src/images/what-is-tia/cosmostation-icon.jpg b/src/images/what-is-tia/cosmostation-icon.jpg new file mode 100644 index 000000000..6e875a1f9 Binary files /dev/null and b/src/images/what-is-tia/cosmostation-icon.jpg differ diff --git a/src/images/what-is-tia/kepler-backdrop.jpg b/src/images/what-is-tia/kepler-backdrop.jpg new file mode 100644 index 000000000..d855d0c7e Binary files /dev/null and b/src/images/what-is-tia/kepler-backdrop.jpg differ diff --git a/src/images/what-is-tia/kepler-icon.jpg b/src/images/what-is-tia/kepler-icon.jpg new file mode 100644 index 000000000..67bfafb3d Binary files /dev/null and b/src/images/what-is-tia/kepler-icon.jpg differ diff --git a/src/images/what-is-tia/leap-icon.jpg b/src/images/what-is-tia/leap-icon.jpg new file mode 100644 index 000000000..451b68f12 Binary files /dev/null and b/src/images/what-is-tia/leap-icon.jpg differ diff --git a/src/images/what-is-tia/ledger-icon.jpg b/src/images/what-is-tia/ledger-icon.jpg new file mode 100644 index 000000000..043878a09 Binary files /dev/null and b/src/images/what-is-tia/ledger-icon.jpg differ diff --git a/src/images/what-is-tia/what-is-tia-1.png b/src/images/what-is-tia/what-is-tia-1.png new file mode 100644 index 000000000..483dccb16 Binary files /dev/null and b/src/images/what-is-tia/what-is-tia-1.png differ diff --git a/src/images/what-is-tia/what-is-tia-custody-1.png b/src/images/what-is-tia/what-is-tia-custody-1.png new file mode 100644 index 000000000..b7ab2780b Binary files /dev/null and b/src/images/what-is-tia/what-is-tia-custody-1.png differ diff --git a/src/images/what-is-tia/what-is-tia-role-1.png b/src/images/what-is-tia/what-is-tia-role-1.png new file mode 100644 index 000000000..d32932e49 Binary files /dev/null and b/src/images/what-is-tia/what-is-tia-role-1.png differ diff --git a/src/images/what-is-tia/what-is-tia-role-2.png b/src/images/what-is-tia/what-is-tia-role-2.png new file mode 100644 index 000000000..98ccc8ae7 Binary files /dev/null and b/src/images/what-is-tia/what-is-tia-role-2.png differ diff --git a/src/images/what-is-tia/what-is-tia-role-3.png b/src/images/what-is-tia/what-is-tia-role-3.png new file mode 100644 index 000000000..df30071ad Binary files /dev/null and b/src/images/what-is-tia/what-is-tia-role-3.png differ diff --git a/src/pages/careers.js b/src/pages/careers.js index 6113cf4e8..be0dcd21f 100644 --- a/src/pages/careers.js +++ b/src/pages/careers.js @@ -54,16 +54,16 @@ const CareersPage = () => {
-
+

{content.title}

-
{content.subtitle}
-
+
{content.subtitle}
+
{content.text} - {content.button &&
+ {content.button &&
-
-

{content.perks.title}

+
+

{content.perks.title}

{content.perks.perks.map((perk,index) => ( diff --git a/src/pages/community.js b/src/pages/community.js index 01c2611ba..93f50954d 100644 --- a/src/pages/community.js +++ b/src/pages/community.js @@ -29,7 +29,7 @@ const Community = () => {

{heroData.title}

-
+
{/* {heroData.buttons.map((button, index) => (
+ -
-
-

Roadmap

- -
-
    - {roadmaps && - roadmaps.map(function (roadmap, index) { - return ; - })} -
-
-
-
+
+

Join the community

+
Join the Celestia community online or hang out at one of the grassroots Modular Meetups
-
-
-
-
-

Run a node on testnet

-
Experiment and practice running a node on testnet in preparation for mainnet.
-
- - +
+
+
+
+ {socialChannels.items.map(function (item) { + return ( + + ); + })} +
+
+ +
+ Find more +
+ +
+
-
-

Build on our developer beta

-
Build on Celestia and be the first to explore the benefits of its novel architecture.
- - - +
+
+
+
+ {""} +
+
+
+
Modular Summit 2023
+
+
+
+
+
+
+
+ {""} +
+
+
+
Modular Meetup
+
+
+
+
- } - /> - -
+
-
@@ -160,4 +274,4 @@ const IndexPage = () => { ); }; -export default IndexPage; \ No newline at end of file +export default IndexPage; diff --git a/src/pages/markdown-pages/learn/sovereign rollups-misconceptions of sovereign rollups.md b/src/pages/markdown-pages/learn/sovereign rollups-misconceptions of sovereign rollups.md index c09f7b0f5..c48f02277 100644 --- a/src/pages/markdown-pages/learn/sovereign rollups-misconceptions of sovereign rollups.md +++ b/src/pages/markdown-pages/learn/sovereign rollups-misconceptions of sovereign rollups.md @@ -2,7 +2,7 @@ order: 10 path: "/learn/" slug: "/learn/sovereign-rollups/misconceptions/" -edit: "https://github.com/celestiaorg/celestia.org/blob/main/src/pages/markdown-pages/learn/sovereign%20rollups-misconceptions%20of%sovereign%rollups.md" +edit: "https://github.com/celestiaorg/celestia.org/blob/main/src/pages/markdown-pages/learn/sovereign%20rollups-misconceptions%20of%20sovereign%20rollups.md" date: "2023-03-21" icon: "" category: "Intermediate" diff --git a/src/pages/press.js b/src/pages/press.js index e29c19dd7..7caef4c68 100644 --- a/src/pages/press.js +++ b/src/pages/press.js @@ -19,7 +19,7 @@ const Press = () => { />
-
+

{pressData.title}

{pressData.text}

diff --git a/src/pages/run-a-light-node.js b/src/pages/run-a-light-node.js index 642229a74..09ebca605 100644 --- a/src/pages/run-a-light-node.js +++ b/src/pages/run-a-light-node.js @@ -26,7 +26,7 @@ const DevPortal = () => {

{heroData.title}

-
+
{ + const [showTocCategories, setShowTocCategories] = useState(false); + const [selectedItem, setSelectedItem] = useState(0); + const handleItemClick = (index) => { + setSelectedItem(index); + }; - console.log(seoContent) return ( - - + +
-

What is Celestia?

-

- A complete beginner's guide to how Celestia works, its key benefits, and how anyone in the world will be able to create - their own blockchain in minutes. -

+

What is Celestia?

- Celestia is a new technology that powers, scales and secures Web3 applications. To achieve this, Celestia - introduces a new modular blockchain architecture that solves the core scaling problems of today’s blockchains. + A complete beginner's guide to how Celestia works, its key benefits, and how anyone + in the world can create their own blockchain in minutes.

-

Confused?

Let’s walk through the basics, step-by-step.

-
-
-
-

But what’s a modular blockchain?

-

- Modular blockchains are a new paradigm in blockchain design. Instead of one blockchain doing everything, - modular blockchains specialize and optimize to perform a given function. This specialization provides - breakthroughs in scalability, flexibility, and interoperability, enabling developers to build blockchain - applications for mass adoption. -

-
-
-
- {""} +
+
+
+
setShowTocCategories(!showTocCategories)} + > + Jump to... +
+ + + +
-
-
-
- -
-
-
-
- {""} +
+
+ Table of Contents +
+
+
+ {tableOfContent.map((item, index) => { + return ( +
handleItemClick(index)} + > + + {item.value} + +
+ ); + })} +
+
-
-

How is Celestia different from Bitcoin and Ethereum?

-

- If Bitcoin is a calculator and Ethereum is a computer, then Celestia is a cloud computer. -

-

- Bitcoin showed that it was possible to build a decentralized application but was very limited in what it could - be used to build. -

-

- Ethereum showed that it was possible to build a programmable blockchain that anyone could use to launch a - decentralized application. Celestia will show that it is possible to build a network that enables anyone to - launch their own blockchain. -

-
-
- -
-
-
-

What’s a good analogy of Celestia?

+
+
+

And what is a modular blockchain?

+
+
+ {""} +
+

- Think of Celestia as a power grid, except instead of providing electricity, Celestia provides the essential - resource to power a blockchain: consensus and data availability. Similar to how anyone can plug into an - electricity grid to power their appliance, anyone can plug into Celestia’s network to power their own - blockchain. + Modular blockchains are a new paradigm in blockchain design. Instead of one blockchain doing everything, + modular blockchains specialize and optimize to perform a given function. This specialization provides + breakthroughs in scalability, flexibility, and interoperability, enabling developers to build blockchain + applications for mass adoption.

-
-
-
- {""} -
-
-
-
-
+
-
-
-
-

Why would I use Celestia?

-
-
-
-
-
-
-

Build blockchains easily

-

- Celestia reduces the cost of deploying and maintaining your own blockchain. -

-
+
+
+
+

What is data availability and why does it matter?

+

+ Data availability answers the question, has the data for this blockchain been published? It is + critical to the security of any blockchain because it ensures that anyone can inspect the ledger of + transactions and verify it. +

+

Users of a monolithic blockchain usually download all the data to check that it is available.

+

+ As blocks get bigger, it becomes impractical for normal users to download all the data meaning that + they can’t verify the chain. Modular chains solve this problem by making it possible for users to + verify very large blocks using a technology called data availability sampling. +

-
-
-

Provides flexibility

-

Customize your application in a way that suits your needs.

-
-
-
-
-

Higher scale

-

- Unlock access to web3 applications for everyone with more blockspace. -

+
+
+ {""}
-
-
- - -
-
-
-
+ -
-
-
-
-

What is data availability and why does it matter?

-

- Data availability is critical to the security of any blockchain because it ensures that anyone can inspect the - ledger of transactions and verify it. Data availability answers the question, has the data for this blockchain - been published? -

-

Users of a monolithic blockchain download all the data to check that it is available.

-

- As blocks get bigger, it becomes impractical for normal users to download all the data meaning that they can’t - verify the chain. Modular chains solve this problem by making it possible for users to verify very large - blocks using a technology called data availability sampling. -

-
-
-
- {""} +
+
+
+
+ {""} +
+
+
+

What are rollups and how do they work with Celestia?

+

+ Rollups are a relatively new type of blockchain. What makes them different is that they offload some of + their work to a layer 1 like Celestia. The simple version is that rollups publish their transaction + data to Celestia, which gets ordered and made available for rollup users to download. As a bonus, + rollups receive some of Celestia’s security. +

+

+ But rollups on Celestia aren’t quite the same as others. They are convenient to launch like layer 2s + with the added sovereignty that layer 1s enjoy. We like to call these blockchains sovereign rollups. +

+
-
-
-
+ -
-
-
-
- {""} +
+
+

What’s it like to build on Celestia?

-
-
-

What are rollups and how do they work with Celestia?

-

- Rollups are a type of blockchain that offload some work to a layer 1 like Celestia. Rollups host apps and - process user transactions. By hosting apps across many different rollups, apps do not have to compete for - computational resources with each other. -

-

- Once rollup transactions get processed, they are then published to Celestia. Celestia’s job is to order those - transactions and check that they are available to download. -

-
-
-
- -
-
-
-

Modularism, not maximalism

-

- For years, crypto has endured a monolithic blockchain loop. Each new L1 has built a walled-off system, where - competition is fierce and zero-sum. This leads to maximalism as they all fight over users in their ecosystems. -

-

- Modular blockchains create a collaborative environment with many connected chains. Each new user that a - modular blockchain brings in creates value for the whole modular ecosystem, not just a single L1. Modular - blockchains collaborate while monolithic L1s compete. -

-

Modularism, not maximalism.

-
-
-
- {""} +
+
+
+
+
+

Start fast

+

+ Deploy your own blockchain in minutes, as easy as a smart contract. +

+
+
+
+
+

Use any VM

+

Unlock unique application features and use-cases.

+
+
+
+
+

Access dynamic throughput

+

Support more users as your application grows.

+
+
+
+
+
+ + +
-
-
-
- -
-
-
- -
-

Layer 0 is social consensus

-

- To us, the most important layer in blockchains is social consensus. Blockchains are a tool to allow - communities of people to socially coordinate in a sovereign way. Thus, our vision stems from a deeply held - core belief: communities have an inalienable right to independently self-organize. -

-

Modular blockchains for sovereign communities.

-
-
-
-
+ -
-
-
-

Additional resources

-

If you enjoyed this and want to learn more, here are some more resources we suggest you take a look at

-
-
-
-
-
-

FAQ

-

Read more about common questions

-
- - Read now - - -
-
-
-
-
-

Learn modular

-

Dive deeper into Celestia and modular blockchains

+
+
+

What the Celestia community stands for

+
+
+

Modularism, not Maximalism

+

+ For years, crypto has endured a monolithic blockchain loop. Each new L1 has built a walled-off + system, where competition is fierce and zero-sum. This leads to maximalism as they all fight over + users in their ecosystems. +

+

+ Modular blockchains create a collaborative environment with many connected chains. Each new user + that a modular blockchain brings in creates value for the whole modular ecosystem, not just a + single L1. Modular blockchains collaborate while monolithic L1s compete. +

+

Modularism, not maximalism.

+
+
+
+ {""} +
+
- - Read now - -
-
-
-
-
-

Documentation

-

Explore how to build on Celestia

+ +
+
+
+
+ {""} +
+
+
+

Layer 0 is social consensus

+

+ To us, the most important layer in blockchains is social consensus. Blockchains are a tool to + allow communities of people to socially coordinate in a sovereign way. Thus, our vision stems from + a deeply held core belief: communities have an inalienable right to independently self-organize. +

+

Modular blockchains for sovereign communities.

+
- - Read now - -
-
+
- +
diff --git a/src/pages/what-is-tia.js b/src/pages/what-is-tia.js new file mode 100644 index 000000000..799c96211 --- /dev/null +++ b/src/pages/what-is-tia.js @@ -0,0 +1,215 @@ +import * as React from "react"; + +import { heroData } from "../datas/what-is-tia/hero-data"; +import { role } from "../datas/what-is-tia/role"; +import { wallets } from "../datas/what-is-tia/wallets"; +import { FooterBoxes } from "../datas/what-is-tia/content"; +import Button from "../components/buttons/button"; + +import Layout from "../components/layout"; +import { AnchorLink } from "gatsby-plugin-anchor-links"; + +import { seoContent } from "../datas/what-is-tia/seoContent"; +import SEO from "../components/seo"; +import Image from "../components/imageComponent"; + +import image1 from "../images/what-is-tia/what-is-tia-custody-1.png"; + +const WhatIsTIA = () => { + return ( + + +
+
+
+
+

{heroData.title}

+
+
+
+ + {heroData.buttons[0].text} + + + {heroData.buttons[1].text} + +
+
+
+
+ +
+
+
+

{role.title}

+
+
+
+ {role.items[0].title} +
+

{role.items[0].title}

+

{role.items[0].text}

+ {role.items[0].links && role.items[0].links.map(function (item) { + return ( +
+
+ ); + } + )} +
+ +
+
+ {role.items[1].title} +
+

{role.items[1].title}

+

{role.items[1].text}

+ {role.items[1].links && role.items[1].links.map(function (item) { + return ( +
+
+ ); + } + )} +
+ +
+
+ {role.items[2].title} +
+

{role.items[2].title}

+

{role.items[2].text}

+ {role.items[2].links && role.items[2].links.map(function (item) { + return ( +
+
+ ); + } + )} +
+
+
+
+
+ +
+
+
+
+
+

Wallets

+
+

Anyone can download a non-custodial wallet to freely control and use their TIA.

+

+ It’s important to get familiar with basic wallet practices for safely storing and transacting with TIA + on Celestia. +

+
+
+
+
+
+ {""} +
+
+
+
+
+ +
+
+

{wallets.details}

+
+ {wallets.items.map(function (item) { + return ( +
+
+ {item.title} +
+
+
+
+ {item.title} +
+
+

{item.title}

+
+ {item.device.map(function (item) { + return ( +
+
+ + + +
+
+

{item}

+
+
+ ); + })} +
+
+
+
+
+
+
+ ); + })} +
+
+
+ + {/*
+
+
+
+

Managing TIA as a rollup developer

+

+ Rollup developers need to submit and pay for data in addition to managing their rollup’s TIA balance for + operation. +

+
+
+
+
Create wallet with celestia-node
+
+
+
+
+
+
+
*/} +
+
+
+ ); +}; + +export default WhatIsTIA; diff --git a/src/scss/buttons.scss b/src/scss/buttons.scss index b3b091fe7..3b0e3efc5 100644 --- a/src/scss/buttons.scss +++ b/src/scss/buttons.scss @@ -52,6 +52,30 @@ color:#fff; } } +.button-footer { + border-radius: 6px; + font-family: $ruberoid; + font-weight:700; + font-size: 14px; + color: #000000; + background:#ffffff; + letter-spacing: 0.2px; + text-align: center; + transition: 300ms all ease-in-out; + text-decoration: none; + padding: 10px 20px; + display:flex; + align-items: center; + justify-content: center; + width: fit-content; + height:50px; + line-height: 1em; + + &:hover{ + background:#ebebeb; + color:#000000; + } +} .button-icon{ line-height:20px; @@ -92,7 +116,7 @@ color: #000000; letter-spacing: 0; padding-right:0; - transition:600ms all cubic-bezier(0.83, 0, 0.17, 1); + transition:400ms all cubic-bezier(0.83, 0, 0.17, 1); display:table; position: relative; @@ -101,7 +125,7 @@ color:$purple; font-size:12px; float:right; - line-height:26px; + line-height:23px; transform:rotate(0deg); transition:600ms all cubic-bezier(0.83, 0, 0.17, 1); } @@ -114,7 +138,7 @@ color:$purple; i{ - transform:rotate(45deg); + transform: rotate(45deg); } } } @@ -124,7 +148,7 @@ text-decoration:none; font-family: $ruberoid; font-weight:bold; - font-size: 18px; + font-size: 18px; color: #000000; letter-spacing: 0; padding-right:0; @@ -137,7 +161,7 @@ color:$purple; font-size:12px; float:right; - line-height:26px; + line-height:24px; transform:rotate(0deg); transition:600ms all cubic-bezier(0.83, 0, 0.17, 1); } @@ -146,7 +170,7 @@ color:$purple; i{ - transform:rotate(45deg); + transform: rotate(45deg); } } } diff --git a/src/scss/main.scss b/src/scss/main.scss index 3e8bea52a..8e15bc764 100644 --- a/src/scss/main.scss +++ b/src/scss/main.scss @@ -39,6 +39,8 @@ @import "pages/page-press.scss"; @import "pages/page-community.scss"; @import "pages/page-run-a-node.scss"; +@import "pages/page-what-is-tia.scss"; +@import "pages/page-faq.scss"; @import "components/team.scss"; @import "components/technology.scss"; @@ -58,455 +60,501 @@ @import "sections/separate-section.scss"; * { - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; } html { - scroll-behavior: unset !important; + scroll-behavior: unset !important; } -body{ - font-family:$inter; - font-weight:300; - font-style:normal; +body { + font-family: $inter; + font-weight: 300; + font-style: normal; + position: relative; + + &::before{ + content: ""; + background: url(../images/header-bg.png) no-repeat scroll center top transparent; + background-size: 100%; + height: 100%; + width: 100%; + position: absolute; + top: 0; + left: 0; + z-index: -1; + @include media-breakpoint-down(sm) { + background-size: 200%; + } + } +} + +// Custom Selection // +$selection-text: black; +$selection-background: $purple; - background:url(../images/header-bg.png) no-repeat scroll center top transparent; - background-size:100%; +// Custom Scrollbar // +$scrollbar-knob: $purple; +$scrollbar-background: transparent; - @include media-breakpoint-down(sm) { - background-size:200%; - } +// Custom Selection // +::selection { + color: white; + background: $purple; } -.container{ - width:90%; - margin:auto; - max-width:1300px; - padding:0; +// Custom Scrollbar // +body, +div, +section { + scrollbar-width: thin; + scrollbar-color: $scrollbar-knob $scrollbar-background; } -.manualAnchor{ - margin-top:-200px; - position:absolute; +::-webkit-scrollbar { + height: 2px; + width: 5px; + background: $scrollbar-background; } -.anchor{ - &.after{ - position:absolute; - } +::-webkit-scrollbar-track { + background: $scrollbar-background; +} +::-webkit-scrollbar-thumb { + background-color: $scrollbar-knob; + border-radius: 6px; + border: 3px solid $scrollbar-background; + transition: all 0.3s ease-in-out; } -section{ - width:100%; - padding:65px 0; - - @include media-breakpoint-down(sm) { - padding:30px 0; - } +.hide-scrollbar { + &::-webkit-scrollbar-thumb { + background-color: transparent; + } } -h1{ - font-family: $ruberoid; - font-weight:bold; - font-size: 110px; - color: #000000; - letter-spacing: 1.38px; - line-height: 106px; - display:inline-block; - - &.main{ - max-width:960px; - } - - @include media-breakpoint-down(xl) { - font-size: 80px; - letter-spacing: 1px; - line-height: 82px; - } - - @include media-breakpoint-down(lg) { - font-size: 60px; - letter-spacing: 0.8px; - line-height: 64px; - } - @include media-breakpoint-down(md) { - font-size: 50px; - letter-spacing: 0.62px; - line-height: 52px; - } - @include media-breakpoint-down(sm) { - font-size: 32px; - letter-spacing: 0.4px; - line-height: 38px; - } +.container { + width: 90%; + margin: auto; + max-width: 1300px; + padding: 0; } -h2, .h2{ - font-family: $ruberoid; - font-weight:bold; - font-size: 70px; - line-height: 74px; - color: #000000; - letter-spacing: 0.2px; - position:relative; - - - &.with-decor{ - &:before{ - position:absolute; - left: -6px; - top: -31px; - content:''; - width:100px; - height:118px; - background:url(../images/h2-decor.svg) no-repeat scroll center left transparent; - } - } - - @include media-breakpoint-down(lg) { - font-size:66px; - line-height: 70px; - letter-spacing:0.15px; - - &.with-decor{ - &:before{ - width:88px; - height:104px; - background-size:contain; - top: -27px; - left: -11px; - } - } - } - - @include media-breakpoint-down(md) { - font-size:46px; - line-height: 48px; - letter-spacing:0.125px; - - &.with-decor{ - &:before{ - width: 58px; - height: 72px; - background-size: contain; - top: -20px; - left: -12px; - } - } - } - - @include media-breakpoint-down(sm) { - font-size:36px; - line-height: 38px; - letter-spacing:0.1px; - - &.with-decor{ - &:before{ - width: 50px; - height: 59px; - top: -17px; - left: -10px; - } - } - } +.manualAnchor { + margin-top: -200px; + position: absolute; +} +.anchor { + &.after { + position: absolute; + } } -h3{ - font-family: $ruberoid; - font-weight:bold; - font-size: 52px; - color: #000000; - letter-spacing: 0.15px; - line-height: 60px; - position:relative; - - &.with-decor{ - &:before{ - position:absolute; - left: -6px; - top: -20px; - content: ""; - width: 58px; - height: 78px; - background:url(../images/h2-decor.svg) no-repeat scroll center left transparent; - background-size:contain; - } - } - - @include media-breakpoint-down(md) { - font-size:42px; - letter-spacing:0.12px; - line-height:50px; - - &.with-decor{ - &:before{ - left: -10px; - top: -18px; - content: ""; - width: 50px; - height: 66px; - } - } - } - - @include media-breakpoint-down(sm) { - font-size:32px; - letter-spacing:0.09px; - line-height:40px; - - &.with-decor{ - &:before{ - width: 40px; - height: 50px; - background-size: contain; - top: -12px; - left: -8px; - } - } - } +section { + width: 100%; + padding: 65px 0; + @include media-breakpoint-down(sm) { + padding: 30px 0; + } } -h4{ - font-family: $ruberoid; - font-weight:600; - font-size: 42px; - color: #000000; - letter-spacing: 0.55px; - line-height: 52px; - - @include media-breakpoint-down(md) { - font-size:36px; - letter-spacing:0.42px; - line-height:42px; - } - - @include media-breakpoint-down(sm) { - font-size:24px; - letter-spacing:0.32px; - line-height:32px; - } +h1 { + font-family: $ruberoid; + font-weight: bold; + font-size: 110px; + color: #000000; + letter-spacing: 1.38px; + line-height: 106px; + display: inline-block; + + &.main { + max-width: 960px; + } + + @include media-breakpoint-down(xl) { + font-size: 80px; + letter-spacing: 1px; + line-height: 82px; + } + + @include media-breakpoint-down(lg) { + font-size: 60px; + letter-spacing: 0.8px; + line-height: 64px; + } + @include media-breakpoint-down(md) { + font-size: 50px; + letter-spacing: 0.62px; + line-height: 52px; + } + @include media-breakpoint-down(sm) { + font-size: 32px; + letter-spacing: 0.4px; + line-height: 38px; + } } - -h5{ - font-family: $ruberoid; - font-weight:bold; - font-size: 46px; - color: #000000; - letter-spacing: 0; - line-height: 55px; - - @include media-breakpoint-down(md) { - font-size: 28px; - letter-spacing: 0.37px; - line-height: 32px; - } - @include media-breakpoint-down(sm) { - font-size: 20px; - letter-spacing: 0.26px; - line-height: 22px; - } +h2, +.h2 { + font-family: $ruberoid; + font-weight: bold; + font-size: 70px; + line-height: 74px; + color: #000000; + letter-spacing: 0.2px; + position: relative; + + &.with-decor { + &:before { + position: absolute; + left: -6px; + top: -31px; + content: ""; + width: 100px; + height: 118px; + background: url(../images/h2-decor.svg) no-repeat scroll center left transparent; + } + } + + @include media-breakpoint-down(lg) { + font-size: 66px; + line-height: 70px; + letter-spacing: 0.15px; + + &.with-decor { + &:before { + width: 88px; + height: 104px; + background-size: contain; + top: -27px; + left: -11px; + } + } + } + + @include media-breakpoint-down(md) { + font-size: 46px; + line-height: 48px; + letter-spacing: 0.125px; + + &.with-decor { + &:before { + width: 58px; + height: 72px; + background-size: contain; + top: -20px; + left: -12px; + } + } + } + + @include media-breakpoint-down(sm) { + font-size: 36px; + line-height: 38px; + letter-spacing: 0.1px; + + &.with-decor { + &:before { + width: 50px; + height: 59px; + top: -17px; + left: -10px; + } + } + } } -h6{ - font-family: $ruberoid; - font-weight:300; - font-size: 20px; - color: #000000; - letter-spacing: 0; - line-height: 25px; - margin-bottom:30px; - position:relative; - display:inline-block; - - &:before{ - width:100%; - height:1px; - background: #000000; - position:absolute; - bottom:0; - left:0; - content:''; - } +h3 { + font-family: $ruberoid; + font-weight: bold; + font-size: 52px; + color: #000000; + letter-spacing: 0.15px; + line-height: 60px; + position: relative; + + &.with-decor { + &:before { + position: absolute; + left: -6px; + top: -20px; + content: ""; + width: 58px; + height: 78px; + background: url(../images/h2-decor.svg) no-repeat scroll center left transparent; + background-size: contain; + } + } + + @include media-breakpoint-down(md) { + font-size: 42px; + letter-spacing: 0.12px; + line-height: 50px; + + &.with-decor { + &:before { + left: -10px; + top: -18px; + content: ""; + width: 50px; + height: 66px; + } + } + } + + @include media-breakpoint-down(sm) { + font-size: 32px; + letter-spacing: 0.09px; + line-height: 40px; + + &.with-decor { + &:before { + width: 40px; + height: 50px; + background-size: contain; + top: -12px; + left: -8px; + } + } + } } -.modal-content-inner{ - h3{ - font-family: $ruberoid; - font-weight:bold; - font-size: 30px; - color: #000000; - letter-spacing: 0; - line-height: 36px; - margin-bottom:40px; - } - - form{ - input[type='text']{ - background:#fff; - color:#000; - } - } +h4 { + font-family: $ruberoid; + font-weight: 600; + font-size: 42px; + color: #000000; + letter-spacing: 0.55px; + line-height: 52px; + + @include media-breakpoint-down(md) { + font-size: 36px; + letter-spacing: 0.42px; + line-height: 42px; + } + + @include media-breakpoint-down(sm) { + font-size: 24px; + letter-spacing: 0.32px; + line-height: 32px; + } } -main{ - //overflow:hidden; - width:100%; - padding-top:40px; +h5 { + font-family: $ruberoid; + font-weight: bold; + font-size: 46px; + color: #000000; + letter-spacing: 0; + line-height: 55px; + + @include media-breakpoint-down(md) { + font-size: 28px; + letter-spacing: 0.37px; + line-height: 32px; + } + @include media-breakpoint-down(sm) { + font-size: 20px; + letter-spacing: 0.26px; + line-height: 22px; + } +} - @include media-breakpoint-down(xl) { - padding-top:50px; - } +h6 { + font-family: $ruberoid; + font-weight: 300; + font-size: 20px; + color: #000000; + letter-spacing: 0; + line-height: 25px; + margin-bottom: 30px; + position: relative; + display: inline-block; + + &:before { + width: 100%; + height: 1px; + background: #000000; + position: absolute; + bottom: 0; + left: 0; + content: ""; + } +} - @include media-breakpoint-down(md) { - padding-top:0; - } +.modal-content-inner { + h3 { + font-family: $ruberoid; + font-weight: bold; + font-size: 30px; + color: #000000; + letter-spacing: 0; + line-height: 36px; + margin-bottom: 40px; + } + + form { + input[type="text"] { + background: #fff; + color: #000; + } + } } +main { + //overflow:hidden; + width: 100%; + padding-top: 40px; + @include media-breakpoint-down(xl) { + padding-top: 50px; + } -hr:not([size]){ - border:none; - background:none; - height:auto; - opacity:1; - - &:before{ - content:'//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////'; - position:relative; - width:100%; - opacity: 0.24; - font-family: $ruberoid; - font-weight:bold; - font-size: 10px; - color: #000000; - letter-spacing: 0; - } + @include media-breakpoint-down(md) { + padding-top: 0; + } } -.text-container{ - ul,ol{ - list-style:none; - padding:0; - margin:0; - - li{ - padding-left:25px; - position:relative; - margin-bottom:25px; - - &:before{ - width:8px; - height:8px; - border-radius:50%; - position:absolute; - left:0; - top:9px; - content:''; - background:#000; - } - } - } +hr:not([size]) { + border: none; + background: none; + height: auto; + opacity: 1; + + &:before { + content: "//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////"; + position: relative; + width: 100%; + opacity: 0.24; + font-family: $ruberoid; + font-weight: bold; + font-size: 10px; + color: #000000; + letter-spacing: 0; + } } -.animation-container{ - width:500px; - height:500px; - background:yellow; +.text-container { + ul, + ol { + list-style: none; + padding: 0; + margin: 0; + + li { + padding-left: 25px; + position: relative; + margin-bottom: 25px; + + &:before { + width: 8px; + height: 8px; + border-radius: 50%; + position: absolute; + left: 0; + top: 9px; + content: ""; + background: #000; + } + } + } } -.ReactModal__Content{ - inset:80px 0 0 0 !important; - background:none !important; - border:none !important; - - .inner{ - transform:translateX(-50%) translateY(-50%); - background-color: rgba(255, 255, 255,.9); - - @supports ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) { - background-color: rgba(255, 255, 255,.7); - backdrop-filter: blur(20px); - -webkit-backdrop-filter: blur(20px); - } - - left:50%; - max-width:600px; - position: absolute; - width:90%; - top:50%; - padding:50px; - border-radius:10px; - - @media screen and (max-height: 800px) { - top:80px; - margin-top:0; - transform: translateX(-50%); - } - - } - - .close-button{ - position:absolute; - right:10px; - top:10px; - width:30px; - height:30px; - background:black; - text-align:center; - border:none; - line-height:30px; - font-size:10px; - color:#fff; - border-radius:5px; - } +.animation-container { + width: 500px; + height: 500px; + background: yellow; +} +.ReactModal__Content { + inset: 80px 0 0 0 !important; + background: none !important; + border: none !important; + + .inner { + transform: translateX(-50%) translateY(-50%); + background-color: rgba(255, 255, 255, 0.9); + + @supports ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) { + background-color: rgba(255, 255, 255, 0.7); + backdrop-filter: blur(20px); + -webkit-backdrop-filter: blur(20px); + } + + left: 50%; + max-width: 600px; + position: absolute; + width: 90%; + top: 50%; + padding: 50px; + border-radius: 10px; + + @media screen and (max-height: 800px) { + top: 80px; + margin-top: 0; + transform: translateX(-50%); + } + } + + .close-button { + position: absolute; + right: 10px; + top: 10px; + width: 30px; + height: 30px; + background: black; + text-align: center; + border: none; + line-height: 30px; + font-size: 10px; + color: #fff; + border-radius: 5px; + } } -.ReactModal__Overlay{ - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - background-color: rgba(31, 17, 52,.15) !important; - z-index:100; - opacity:0; - transition: all 500ms ease-in-out; +.ReactModal__Overlay { + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: rgba(31, 17, 52, 0.15) !important; + z-index: 100; + opacity: 0; + transition: all 500ms ease-in-out; } .ReactModal__Overlay--after-open { - opacity: 1; - transform: translateX(0px); + opacity: 1; + transform: translateX(0px); } .ReactModal__Overlay--before-close { - opacity: 0; - transform: translateX(-100px); + opacity: 0; + transform: translateX(-100px); } - -.breadcrumb{ - .icon-dropdown{ - transform:rotate(-90deg); - display:inline-block; - font-size:7px; - margin:0 20px; - float:right; - margin-top:8px; - } - - .breadcrumb-item{ - font-family: $inter; - font-weight:300; - font-size: 15px; - color: #000000; - letter-spacing: 0; - line-height: 23px; - - &.active{ - color:initial; - } - } +.breadcrumb { + .icon-dropdown { + transform: rotate(-90deg); + display: inline-block; + font-size: 7px; + margin: 0 20px; + float: right; + margin-top: 8px; + } + + .breadcrumb-item { + font-family: $inter; + font-weight: 300; + font-size: 15px; + color: #000000; + letter-spacing: 0; + line-height: 23px; + + &.active { + color: initial; + } + } } diff --git a/src/scss/modules/anchorMenu.scss b/src/scss/modules/anchorMenu.scss index 86c7492ae..af4cd2949 100644 --- a/src/scss/modules/anchorMenu.scss +++ b/src/scss/modules/anchorMenu.scss @@ -1,5 +1,5 @@ .anchorMenu{ - a{ + .anchor-link{ font-family: $ruberoid; font-weight:bold; font-size: 14px; @@ -10,6 +10,7 @@ } @include media-breakpoint-down(md) { - display:none; + margin-top: 32px; + margin-bottom: 20px; } } diff --git a/src/scss/modules/faq.scss b/src/scss/modules/faq.scss index c30c915c8..ce83922a8 100644 --- a/src/scss/modules/faq.scss +++ b/src/scss/modules/faq.scss @@ -1,6 +1,7 @@ .faq{ width:100%; border-bottom: 1px solid #000000; + .question{ font-family: $ruberoid; diff --git a/src/scss/modules/footer.scss b/src/scss/modules/footer.scss index 99af44486..2aac4e4ab 100644 --- a/src/scss/modules/footer.scss +++ b/src/scss/modules/footer.scss @@ -1,308 +1,508 @@ -footer{ - background:url(../images/footer-bg.png) no-repeat scroll center bottom transparent; - background-size:100% 1200px; - width:100%; - padding-top:20px; - padding-bottom:40px; - position:relative; - z-index:1; - - @include media-breakpoint-down(lg) { - background-size:auto 1800px; - } - @include media-breakpoint-down(md) { - background-size:auto 2000px; - } - @include media-breakpoint-down(sm) { - background-size:auto 2400px; - } - - .footer-boxes{ - display:flex; - width:100%; - - @include media-breakpoint-down(md) { - display:block; +footer { + // background: url(../images/footer-bg.png) no-repeat scroll center bottom transparent; + width: 100%; + padding-top: 450px; + padding-bottom: 40px; + margin-top: -450px; + position: relative; + &::before{ + content: ""; + background: url(../images/footer-bg.png) no-repeat scroll center bottom transparent; + background-size: 100% 1200px; + height: 100%; + width: 100%; + position: absolute; + bottom: 0; + left: 0; + z-index: -2; + + @include media-breakpoint-down(lg) { + background-size: auto 1800px; + } + @include media-breakpoint-down(md) { + background-size: auto 2000px; + } + @include media-breakpoint-down(sm) { + background-size: auto 2800px; + } + } + @include media-breakpoint-down(sm) { + padding-top: 550px; + margin-top: -600px; + } + + .footer-boxes { + display: flex; + width: 100%; + + @include media-breakpoint-down(md) { + display: block; + } + } + + .footer-box { + width: 50%; + display: contents; + margin-bottom: 140px; + + @include media-breakpoint-down(md) { + width: 100%; + display: block; + margin-bottom: 15px; + } + + .footer-box-inner { + background: #f9f9f9; + border-radius: 6px; + width: 100%; + background-repeat: no-repeat; + background-position: right bottom; + position: relative; + overflow: hidden; + + .bg { + position: absolute; + left: 0; + top: 0; + z-index: 1; + } + .inner { + z-index: 2; + width: 100%; + height: 100%; + background-repeat: no-repeat; + background-position: right bottom; + position: relative; + padding: 95px 55px; + + @include media-breakpoint-down(md) { + padding: 40px; + } + } + } + + &:nth-child(1) { + .footer-box-inner { + margin-right: 15px; + + @include media-breakpoint-down(md) { + margin-right: 0; + } + + .inner { + background-image: url(../images/footer-box-1.svg); + background-size: 40%; + + @include media-breakpoint-down(lg) { + background-size: 50%; + } + @include media-breakpoint-down(md) { + background-size: 25%; + } + } + } + } + + &:nth-child(2) { + .footer-box-inner { + margin-left: 15px; + position: relative; + + @include media-breakpoint-down(md) { + margin-left: 0; + } + + .inner { + background-image: url(../images/footer-box-2.svg); + background-size: 60%; + + @include media-breakpoint-down(lg) { + background-size: 80%; + } + @include media-breakpoint-down(md) { + background-size: 40%; + } + } + + .bg { + position: absolute; + content: ""; + top: -5px; + left: -5px; + right: -5px; + bottom: -5px; + background-image: url(../images/footer-box-bg.png); + background-repeat: no-repeat; + } + } + } + + .title { + font-family: $ruberoid; + font-weight: bold; + font-size: 52px; + color: #000000; + letter-spacing: 0; + line-height: 1.1em; + margin-bottom: 30px; + + @include media-breakpoint-down(lg) { + font-size: 42px; + } + @include media-breakpoint-down(md) { + font-size: 32px; + } + } + + .text { + white-space: pre-line; + font-family: $inter; + font-size: 18px; + color: #414141; + letter-spacing: -0.1px; + line-height: 26px; + margin-bottom: 110px; + width: 70%; + + @include media-breakpoint-down(lg) { + margin-bottom: 150px; + } + + @include media-breakpoint-down(md) { + font-size: 16px; + margin-bottom: 30px; + } + } + + .footer-box-inner-bottom { + position: absolute; + left: 55px; + bottom: 95px; + + @include media-breakpoint-down(md) { + left: unset; + bottom: unset; + position: relative; + } + + .socials { + margin-top: 30px; + img { + width: 32px; + margin-right: 8px; + } + } + } + } + + .footer-boxes-2 { + .footer-title { + color: #000; + font-family: $ruberoid; + font-size: 52px; + font-style: normal; + font-weight: bold; + line-height: 1.1em; + text-align: center; + margin-bottom: 65px; + @include media-breakpoint-down(sm) { + margin-bottom: 60px; + } + } + .footer-box-wrapper { + display: flex; + width: 100%; + + @include media-breakpoint-down(md) { + display: block; + } + .footer-box-2 { + width: 50%; + display: contents; + margin-bottom: 140px; + + @include media-breakpoint-down(md) { + width: 100%; + display: block; + margin-bottom: 15px; + } + + .footer-box-inner { + border-radius: 14px; + border: 1px solid #E9E5F0; + background: #FFF; + width: 100%; + background-repeat: no-repeat; + background-position: right bottom; + position: relative; + overflow: hidden; + + .bg { + position: absolute; + left: 0; + top: 0; + z-index: 1; + } + .inner { + z-index: 2; + width: 100%; + height: 100%; + background-repeat: no-repeat; + background-position: right top; + position: relative; + padding: 35px 36px 40px 36px; + + @include media-breakpoint-down(md) { + padding: 40px; + } + } + } + + &:nth-child(1) { + .footer-box-inner { + margin-right: 15px; + + @include media-breakpoint-down(md) { + margin-right: 0; + } + + .inner { + background-image: url(../images/footer-box2-1.png); + background-size: 30%; + display: flex; + flex-direction: column; + + @include media-breakpoint-down(lg) { + background-size: 30%; + } + @include media-breakpoint-down(md) { + background-size: 30%; + } + @include media-breakpoint-down(sm) { + background-size: 40%; + } + } + } + } + + &:nth-child(2) { + .footer-box-inner { + margin-left: 15px; + position: relative; + + @include media-breakpoint-down(md) { + margin-left: 0; + } + + .inner { + background-image: url(../images/footer-box2-2.png); + background-size: 30%; + + @include media-breakpoint-down(lg) { + background-size: 30%; + } + @include media-breakpoint-down(md) { + background-size: 30%; + } + @include media-breakpoint-down(sm) { + background-size: 40%; + } + } + } + } + + .title { + color: #000; + font-family: $inter; + font-size: 30px; + font-style: normal; + font-weight: bold; + line-height: normal; + letter-spacing: -0.36px; + margin-bottom: 30px; + @include media-breakpoint-down(sm) { + font-size: 26px; + max-width: 200px; + } + } + + .text { + white-space: pre-line; + color: #414141; + font-family: $inter; + font-size: 18px; + font-style: normal; + font-weight: 300; + line-height: 28px; + letter-spacing: -0.081px; + margin-bottom: 20px; + width: 70%; + @include media-breakpoint-down(sm) { + font-size: 16px; + width: 90%; + } + } + + .footer-box-inner-bottom { + margin-top: auto; + } + } + } + } + + .title { + font-family: $ruberoid; + font-weight: bold; + font-size: 40px; + color: #ffffff; + letter-spacing: 0; + line-height: 48px; + margin-bottom: 20px; + } + + .col-title { + margin-bottom: 20px; + font-family: $ruberoid; + font-weight: bold; + font-size: 20px; + color: #ffffff; + letter-spacing: 0; + line-height: 40px; + } + + nav { + display: flex; + @include media-breakpoint-down(sm) { + display: block; + } + ul { + list-style: none; + padding: 0; + margin-right: 70px; + @include media-breakpoint-down(md) { + margin-right: 40px; + } + @include media-breakpoint-down(sm) { + margin-right: 0px; + margin-bottom: 40px; + } + + li { + font-family: $ruberoid; + font-weight: 500; + font-size: 14px; + color: #ffffff; + letter-spacing: 0; + display: block; + &:not(:last-child) { + margin-bottom: 8px; + } + + a { + text-decoration: none; + transition: 300ms all ease-in-out; + + &:hover { + color: darken(#fff, 20%); + } + } + } + } + } + .input-group-text { + background: #fff; + height: 50px; + + input, + .form-control { + background: #fff; + outline: none; + } + } + input#email { + padding: 15px 25px; + } + + .input-group-append { + .input-group-text { + border-top-left-radius: 0; + border-bottom-left-radius: 0; + background: #fff; + padding: 0 10px; + + select { + height: 100%; + border: none; + outline: none; + -webkit-appearance: none; + } + } + } + + p { + opacity: 0.75; + font-family: $ruberoid; + font-weight: 500; + color: #fff; + text-align: center; + font-size: 11px; + font-style: normal; + font-weight: 400; + line-height: normal; + max-width: 500px; + } + + .copyright { + font-family: $ruberoid; + font-weight: 600; + font-size: 16px; + color: #ffffff; + letter-spacing: 0; + + a { + text-decoration: none; + + &:hover { + color: inherit; + } + } + } + + .socials { + margin-top: 25px; + color: #fff; + + a { + margin-right: 10px; + width: 40px; + height: 40px; + border-radius: 50%; + background: rgba(255, 255, 255, 0.3); + line-height: 40px; + text-align: center; + display: inline-block; + color: #ffffff; + } + img { + width: 40px; + } + } + + .credit { + color: #fff; + font-family: $ruberoid; + font-size: 16px; + font-style: normal; + font-weight: 600; + line-height: normal; + opacity:1 ; + @include media-breakpoint-down(sm) { + font-size: 13px; } - } - - .footer-box{ - width:50%; - display:contents; - margin-bottom:140px; - - @include media-breakpoint-down(md) { - width:100%; - display:block; - margin-bottom:15px; - } - - .footer-box-inner{ - background: #F9F9F9; - border-radius: 6px; - width:100%; - background-repeat: no-repeat; - background-position: right bottom; - position: relative; - overflow:hidden; - - .bg{ - position:absolute; - left:0; - top:0; - z-index:1; - } - .inner{ - z-index:2; - width:100%; - height:100%; - background-repeat: no-repeat; - background-position: right bottom; - position: relative; - padding:95px 55px; - - @include media-breakpoint-down(md) { - padding:40px; - } - } - } - - &:nth-child(1){ - .footer-box-inner{ - margin-right:15px; - - @include media-breakpoint-down(md) { - margin-right:0; - } - - .inner{ - background-image:url(../images/footer-box-1.svg); - background-size:40%; - - @include media-breakpoint-down(lg) { - background-size:50%; - } - @include media-breakpoint-down(md) { - background-size:25%; - } - } - } - } - - &:nth-child(2){ - .footer-box-inner{ - margin-left:15px; - position:relative; - - @include media-breakpoint-down(md) { - margin-left:0; - } - - .inner{ - background-image:url(../images/footer-box-2.svg); - background-size:60%; - - @include media-breakpoint-down(lg) { - background-size:80%; - } - @include media-breakpoint-down(md) { - background-size:40%; - } - } - - .bg{ - position: absolute; - content:''; - top:-5px; - left:-5px; - right:-5px; - bottom:-5px; - background-image:url(../images/footer-box-bg.png); - background-repeat: no-repeat; - } - } - } - - .title{ - font-family: $ruberoid; - font-weight:bold; - font-size: 52px; - color: #000000; - letter-spacing: 0; - line-height: 1.1em; - margin-bottom:30px; - - @include media-breakpoint-down(lg) { - font-size:42px; - } - @include media-breakpoint-down(md) { - font-size:32px; - } - } - - .text{ - white-space: pre-line; - font-family: $inter; - font-size: 18px; - color: #414141; - letter-spacing: -0.1px; - line-height: 26px; - margin-bottom:110px; - width:70%; - - @include media-breakpoint-down(lg) { - margin-bottom:150px; - } - - @include media-breakpoint-down(md) { - font-size:16px; - margin-bottom:30px; - } - } - - .footer-box-inner-bottom{ - position:absolute; - left:55px; - bottom:95px; - - @include media-breakpoint-down(md) { - left:unset; - bottom:unset; - position:relative; - } - - .socials{ - margin-top:30px; - img{ - width:32px; - margin-right:8px; - } - } - } - } - - .title{ - font-family: $ruberoid; - font-weight:bold; - font-size: 40px; - color: #FFFFFF; - letter-spacing: 0; - line-height: 48px; - margin-bottom:20px; - } - - .col-title{ - margin-bottom:20px; - font-family: $ruberoid; - font-weight:bold; - font-size: 20px; - color: #FFFFFF; - letter-spacing: 0; - line-height: 40px; - } - - nav{ - ul{ - list-style:none; - padding:0; - - li{ - font-family: $ruberoid; - font-weight:500; - font-size: 14px; - color: #FFFFFF; - letter-spacing: 0; - display:grid; - width:50%; - float:left; - - a{ - text-decoration: none; - transition:300ms all ease-in-out; - - &:hover{ - color:darken(#fff,20%); - } - } - } - } - } - .input-group-text{ - background:#fff; - height:50px; - - input, .form-control{ - background:#fff; - outline:none; - } - } - - - .input-group-append{ - .input-group-text{ - border-top-left-radius: 0; - border-bottom-left-radius: 0; - background:#fff; - padding:0 10px; - - - - select{ - height:100%; - border:none; - outline: none; - -webkit-appearance:none; - } - } - } - - p{ - opacity: 0.75; - font-family: $ruberoid; - font-weight:500; - font-size: 11px; - color: rgba(255,255,255,.75); - letter-spacing: 0; - text-align: center; - } - - .copyright{ - font-family: $ruberoid; - font-weight:600; - font-size: 16px; - color: #FFFFFF; - letter-spacing: 0; - - a{ - text-decoration: none; - - &:hover{ - color:inherit; - } - } - } - - .socials{ - margin-top:25px; - color:#fff; - - a{ - margin-right:10px; - width:40px; - height:40px; - border-radius: 50%; - background: rgba(255,255,255,0.30); - line-height:40px; - text-align: center; - display:inline-block; - color: #FFFFFF; - } - img{ - width:40px; - } - } + } } -.hidden-field{ - position: absolute; left: -5000px; +.hidden-field { + position: absolute; + left: -5000px; } diff --git a/src/scss/modules/icon-card.scss b/src/scss/modules/icon-card.scss index 9845dc636..074562e23 100644 --- a/src/scss/modules/icon-card.scss +++ b/src/scss/modules/icon-card.scss @@ -60,7 +60,7 @@ &:hover { color: #393939; & svg { - margin-left: 16px; + margin-left: 14px; } } } diff --git a/src/scss/pages/page-careers.scss b/src/scss/pages/page-careers.scss index 88de5f42a..2cb9a3664 100644 --- a/src/scss/pages/page-careers.scss +++ b/src/scss/pages/page-careers.scss @@ -1,33 +1,45 @@ -.careers-page{ +.careers-page { + min-height: 60vw; + position: relative; + z-index: 1; + main { + h4.main { + font-size: 36px; + line-height: 32px; + } - main{ - h4.main{ - font-size:36px; - line-height:32px; - } + .text { + font-family: $ruberoid; + font-weight: 500; + font-size: 18px; + color: #000000; + letter-spacing: 0.22px; + line-height: 26px; + width: 100%; + margin-bottom: 30px; - .subtitle{ - font-family: $ruberoid; - font-weight:500; - font-size: 18px; - color: #000000; - letter-spacing: 0; - line-height: 25px; - margin-bottom:30px; - } + @include media-breakpoint-down(md) { + font-size: 14px; + line-height: 21px; + width: 100%; + margin-bottom: 16px; + } + } - .text{ - font-family: $inter; - font-weight:300; - font-size: 18px; - color: #414141; - letter-spacing: -0.1px; - line-height: 27px; - - .button{ - margin-top:50px; - display:table; - } - } - } + .paragraph { + color: #414141; + font-family: Inter; + font-size: 16px; + font-style: normal; + font-weight: 300; + line-height: 24px; + letter-spacing: -0.1px; + margin-bottom: 50px; + @include media-breakpoint-down(md) { + font-size: 14px; + line-height: 19px; + margin-bottom: 30px; + } + } + } } diff --git a/src/scss/pages/page-community.scss b/src/scss/pages/page-community.scss index 8e8a85801..2afc44859 100644 --- a/src/scss/pages/page-community.scss +++ b/src/scss/pages/page-community.scss @@ -2,6 +2,7 @@ position: relative; background: url(../images/BG/technology.png) no-repeat scroll top 400px right transparent; background-size: 600px; + z-index: 1; @include media-breakpoint-down(xl) { background-position: top 520px right; @@ -32,8 +33,8 @@ z-index: 0; @include media-breakpoint-down(xl) { - width: 480px; - height: 480px; + width: 460px; + height: 460px; top: 30px; right: 60px; left: unset; @@ -54,28 +55,42 @@ } } - main { - padding-top: 100px; - background: url(../images/BG/home.png) no-repeat scroll top 1000px left transparent; - background-size: 600px; - - @include media-breakpoint-down(xl) { - background-position: top 1000px left; - background-size: 600px; - } - @include media-breakpoint-down(lg) { - background-position: top 1600px left; - background-size: 600px; - } + .hero { @include media-breakpoint-down(md) { - background-position: top 1700px left; - background-size: 800px; + padding-top: 455px; } @include media-breakpoint-down(sm) { - background-position: top 1800px left; - background-size: 600px; + padding-top: 70vw; + } + + .text { + font-family: $ruberoid; + font-weight: 500; + font-size: 18px; + color: #000000; + letter-spacing: 0.22px; + line-height: 26px; + max-width: 478px; + margin-bottom: 50px; + + @include media-breakpoint-down(lg) { + max-width: 365px; + } + + @include media-breakpoint-down(md) { + font-size: 14px; + line-height: 21px; + width: 100%; + max-width: 478px; + margin-bottom: 30px; + } } } + + main { + padding-top: 100px; + } + section { padding-top: 50px; padding-bottom: 50px; @@ -98,20 +113,6 @@ } } - .subtitle { - font-family: $ruberoid; - font-weight: 500; - font-size: 18px; - color: #000000; - letter-spacing: 0; - line-height: 25px; - margin-bottom: 30px; - max-width: 400px; - @include media-breakpoint-down(sm) { - max-width: 100%; - } - } - .description { font-family: $inter; font-weight: 300; @@ -126,15 +127,6 @@ } } - .hero { - @include media-breakpoint-down(md) { - padding-top: 455px; - } - @include media-breakpoint-down(sm) { - padding-top: 70vw; - } - } - .social-channels { padding-top: 100px; @include media-breakpoint-down(md) { diff --git a/src/scss/pages/page-developer-portal.scss b/src/scss/pages/page-developer-portal.scss index f0ab29f49..cf816013c 100644 --- a/src/scss/pages/page-developer-portal.scss +++ b/src/scss/pages/page-developer-portal.scss @@ -1,7 +1,6 @@ .developer-portal { position: relative; - - z-index: 0; + z-index: 1; background: url(../images/BG/technology.png) no-repeat scroll top 500px right transparent; @include media-breakpoint-down(xl) { @@ -31,7 +30,7 @@ background-position: top 3400px left; } @include media-breakpoint-down(sm) { - background-position: top 3300px left; + background-position: top 4060px left; } } @@ -95,20 +94,6 @@ } } - .subtitle { - font-family: $ruberoid; - font-weight: 500; - font-size: 18px; - color: #000000; - letter-spacing: 0; - line-height: 25px; - margin-bottom: 30px; - max-width: 400px; - @include media-breakpoint-down(sm) { - max-width: 100%; - } - } - .description { font-family: $inter; font-weight: 300; @@ -130,6 +115,23 @@ @include media-breakpoint-down(sm) { padding-top: 70vw; } + .text { + font-family: $ruberoid; + font-weight: 500; + font-size: 18px; + color: #000000; + letter-spacing: 0.22px; + line-height: 26px; + max-width: 450px; + margin-bottom: 50px; + + @include media-breakpoint-down(md) { + font-size: 14px; + line-height: 21px; + width: 100%; + margin-bottom: 30px; + } + } } .get-started { @@ -176,7 +178,6 @@ } } - .connect-container { background-color: #fff2e1; padding: 50px 20px; @@ -185,7 +186,7 @@ margin: auto; max-width: 1300px; padding: 0 75px; - border-radius: 8px;; + border-radius: 8px; } } @@ -292,4 +293,4 @@ .min-width-33 { min-width: 33%; } -} \ No newline at end of file +} diff --git a/src/scss/pages/page-ecosystem.scss b/src/scss/pages/page-ecosystem.scss index 29bf374fd..a0a2d2ae7 100644 --- a/src/scss/pages/page-ecosystem.scss +++ b/src/scss/pages/page-ecosystem.scss @@ -1,224 +1,236 @@ -.ecosystem-page{ - position:relative; - - &:before{ - background:url(../images/BG/ecosystem.png) no-repeat scroll top right transparent; - background-size:contain; - top:-50px; - right:50px; - position:absolute; - content:''; - width:500px; - height:500px; - z-index:-1; - - @include media-breakpoint-down(xl) { - width:400px; - height:400px; - } - @include media-breakpoint-down(lg) { - width:300px; - height:300px; - top:-100px; - right:0; - } - @include media-breakpoint-down(md) { - display:none; - } - } - - .subtitle{ - font-family: $ruberoid; - font-weight:500; - font-size: 18px; - color: #000000; - letter-spacing: 0; - line-height: 25px; - margin-bottom:30px; - } - - .search-input{ - background: #FFFFFF; - border: 1px solid #D8D8D8; - border-radius: 12px; - font-family: $inter; - font-size: 16px; - color: #000000; - letter-spacing: -0.3px; - line-height: 24px; - margin-bottom:30px; - height:60px; - max-width:500px; - background-image:url(../images/search-icon.svg); - background-repeat: no-repeat; - background-position: center right 20px; - - @include media-breakpoint-down(lg) { - max-width:unset; - } - - input{ - border:none; - width:100%; - height:100%; - background:none; - padding:0 70px 0 20px; - font-family: $inter; - font-size: 16px; - color: #000000; - letter-spacing: -0.3px; - line-height: 24px; - - &::placeholder{ - opacity: 0.23; - font-family: $inter; - font-size: 16px; - color: #000000; - letter-spacing: -0.3px; - line-height: 24px; - } - - &:focus{ - outline:none; - } - } - } - - .category-selector{ - position: sticky; - top:120px; - - @include media-breakpoint-down(lg) { - position:relative; - top:unset; - } - - .category-selector-box{ - @include media-breakpoint-down(lg) { - width:100%; - font-family: $ruberoid; - font-weight: bold; - font-size: 18px; - color: #000000; - letter-spacing: 0; - cursor: pointer; - background: rgba(246, 246, 246, 0.7); - border-radius: 6px; - padding: 10px; - margin-bottom: 10px; - max-height:100px; - transition:500ms all ease-in-out; - overflow: hidden; - - &.opened{ - max-height:800px; - ul{ - li{ - display:block; - } - } - } - } - } - - ul{ - list-style:none; - margin:0; - padding:0; - - li{ - font-family: $ruberoid; - font-weight:600; - font-size: 14px; - color: #000000; - letter-spacing: -0.09px; - padding:9px; - position:relative; - display:table; - cursor:pointer; - - &.selected{ - color:#FFF; - &:before{ - content:''; - left:0; - top:0; - width:100%; - height:100%; - position:absolute; - background: $purple; - z-index:-1; - border-radius: 6px; - } - } - - svg{ - width:22px; - height:22px; - float:right; - display:none; - transition:300ms all ease-in-out; - } - - @include media-breakpoint-down(lg) { - display:none; - - &.selected{ - display:block; - color:initial; - &:before{ - display:none; - } - - svg{ - display:inline-block; - } - } - } - } - } - } - - .ecosystem{ - background: #F4F4F5; - border-radius: 12px; - padding:30px; - width:100%; - - .logo-container{ - width:60px; - height:60px; - align-items: center; - display:flex; - margin-bottom:20px; - - .gatsby-image-wrapper{ - width: 60px; - height: 60px; - } - - img{ - max-height:100%; - } - } - - .category{ - font-family: $inter; - font-weight:500; - font-size: 14px; - color: #000000; - letter-spacing: 0; - line-height: 24px; - text-transform:uppercase; - } - - .title{ - font-family: $ruberoid; - font-weight:bold; - font-size: 28px; - color: #000000; - letter-spacing: 0; - margin-bottom:10px; - } - } +.ecosystem-page { + min-height: 60vw; + position: relative; + z-index: 1; + + &:before { + background: url(../images/BG/ecosystem.png) no-repeat scroll top right transparent; + background-size: contain; + top: -50px; + right: 50px; + position: absolute; + content: ""; + width: 500px; + height: 500px; + z-index: -1; + + @include media-breakpoint-down(xl) { + width: 400px; + height: 400px; + } + @include media-breakpoint-down(lg) { + width: 300px; + height: 300px; + top: -100px; + right: 0; + } + @include media-breakpoint-down(md) { + display: none; + } + } + .hero { + .text { + font-family: $ruberoid; + font-weight: 500; + font-size: 18px; + color: #000000; + letter-spacing: 0.22px; + line-height: 26px; + max-width: 450px; + margin-bottom: 50px; + + @include media-breakpoint-down(md) { + font-size: 14px; + line-height: 21px; + width: 100%; + margin-bottom: 30px; + } + } + } + + .search-input { + background: #ffffff; + border: 1px solid #d8d8d8; + border-radius: 12px; + font-family: $inter; + font-size: 16px; + color: #000000; + letter-spacing: -0.3px; + line-height: 24px; + margin-bottom: 30px; + height: 60px; + max-width: 500px; + background-image: url(../images/search-icon.svg); + background-repeat: no-repeat; + background-position: center right 20px; + + @include media-breakpoint-down(lg) { + max-width: unset; + } + + input { + border: none; + width: 100%; + height: 100%; + background: none; + padding: 0 70px 0 20px; + font-family: $inter; + font-size: 16px; + color: #000000; + letter-spacing: -0.3px; + line-height: 24px; + + &::placeholder { + opacity: 0.23; + font-family: $inter; + font-size: 16px; + color: #000000; + letter-spacing: -0.3px; + line-height: 24px; + } + + &:focus { + outline: none; + } + } + } + + .category-selector { + position: sticky; + top: 120px; + + @include media-breakpoint-down(lg) { + position: relative; + top: unset; + } + + .category-selector-box { + @include media-breakpoint-down(lg) { + width: 100%; + font-family: $ruberoid; + font-weight: bold; + font-size: 18px; + color: #000000; + letter-spacing: 0; + cursor: pointer; + background: rgba(246, 246, 246, 0.7); + border-radius: 6px; + padding: 10px; + margin-bottom: 10px; + max-height: 100px; + transition: 500ms all ease-in-out; + overflow: hidden; + + &.opened { + max-height: 800px; + ul { + li { + display: block; + } + } + } + } + } + + ul { + list-style: none; + margin: 0; + padding: 0; + + li { + font-family: $ruberoid; + font-weight: 600; + font-size: 14px; + color: #000000; + letter-spacing: -0.09px; + padding: 9px; + position: relative; + display: table; + cursor: pointer; + + &.selected { + color: #fff; + &:before { + content: ""; + left: 0; + top: 0; + width: 100%; + height: 100%; + position: absolute; + background: $purple; + z-index: -1; + border-radius: 6px; + } + } + + svg { + width: 22px; + height: 22px; + float: right; + display: none; + transition: 300ms all ease-in-out; + } + + @include media-breakpoint-down(lg) { + display: none; + + &.selected { + display: block; + color: initial; + &:before { + display: none; + } + + svg { + display: inline-block; + } + } + } + } + } + } + + .ecosystem { + background: #f4f4f5; + border-radius: 12px; + padding: 30px; + height: 100%; + width: 100%; + + .logo-container { + width: 60px; + height: 60px; + align-items: center; + display: flex; + margin-bottom: 20px; + + .gatsby-image-wrapper { + width: 60px; + height: 60px; + } + + img { + max-height: 100%; + } + } + + .category { + font-family: $inter; + font-weight: 500; + font-size: 14px; + color: #000000; + letter-spacing: 0; + line-height: 24px; + text-transform: uppercase; + } + + .title { + font-family: $ruberoid; + font-weight: bold; + font-size: 28px; + color: #000000; + letter-spacing: 0; + margin-bottom: 10px; + } + } } diff --git a/src/scss/pages/page-faq.scss b/src/scss/pages/page-faq.scss new file mode 100644 index 000000000..b22438b63 --- /dev/null +++ b/src/scss/pages/page-faq.scss @@ -0,0 +1,5 @@ +.faq-page { + position: relative; + z-index: 1; + min-height: 60vw; +} \ No newline at end of file diff --git a/src/scss/pages/page-glossary.scss b/src/scss/pages/page-glossary.scss index 380705013..1c6c6838b 100644 --- a/src/scss/pages/page-glossary.scss +++ b/src/scss/pages/page-glossary.scss @@ -1,4 +1,10 @@ .glossary-page, .glossary-subpage{ + min-height: 60vw; + position: relative; + z-index: 1; + @include media-breakpoint-down(md) { + min-height: 520px; + } .alphabets{ width:100%; @@ -411,9 +417,15 @@ color: #000000; letter-spacing: 0; line-height: 20px; + @include media-breakpoint-down(md) { + padding:0px 16px 50px 16px; + } &.border-right{ border-right: 1px solid #E4E4E4; + @include media-breakpoint-down(md) { + border-right: none; + } } } diff --git a/src/scss/pages/page-home.scss b/src/scss/pages/page-home.scss index 10686263d..f829efc00 100644 --- a/src/scss/pages/page-home.scss +++ b/src/scss/pages/page-home.scss @@ -1,7 +1,366 @@ -.index-page{ - background:url(../images/BG/home.png) no-repeat scroll center left transparent; +.index-page { + main { + padding-top: 100px; + } + .hero-section { + .text { + max-width: 490px; + } + } - main{ - padding-top:100px; - } + .explore-celestia { + padding-top: 120px; + padding-bottom: 0px; + @include media-breakpoint-down(sm) { + padding-top: 100px; + } + + .three-col-grid { + position: relative; + z-index: 1; + grid-row-gap: 20px; + display: grid; + grid-template-columns: 1fr; + grid-auto-rows: auto; + grid-column-gap: 20px; + @include media-breakpoint-up(md) { + grid-row-gap: 20px; + grid-template-columns: 1fr 1fr; + grid-column-gap: 20px; + grid-auto-rows: auto; + .span-full { + grid-column-start: 1; + grid-column-end: 3; + } + } + } + + .card-item { + position: relative; + display: flex; + flex-direction: column; + border-radius: 8px; + background: #f7f7f7; + padding: 50px; + height: 100%; + h3 { + font-size: 40px; + font-style: normal; + font-weight: bold; + line-height: 48px; + + @include media-breakpoint-down(md) { + font-size: 32px; + letter-spacing: 0.12px; + line-height: 40px; + } + + @include media-breakpoint-down(sm) { + font-size: 24px; + letter-spacing: 0.09px; + line-height: 30px; + } + } + p { + margin-bottom: 0; + color: #414141; + font-size: 18px; + font-style: normal; + font-weight: 300; + line-height: 26px; + letter-spacing: -0.112px; + @include media-breakpoint-down(md) { + font-size: 16px; + line-height: 24px; + } + @include media-breakpoint-down(sm) { + font-size: 15px; + line-height: 22px; + } + } + .card-link { + position: absolute; + right: 28px; + top: 40px; + transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; + will-change: transform, box-shadow; + border-radius: 9999px; + height: 63px; + width: 63px; + @include media-breakpoint-down(sm) { + height: 48px; + width: 48px; + } + } + + .image-wrapper { + width: 100%; + max-width: 250px; + @include media-breakpoint-down(md) { + max-width: 120px; + } + } + + @include media-breakpoint-down(md) { + padding: 30px; + } + } + + .link-box { + &:hover { + .card-link { + transform: scale(1.1); + box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px; + } + } + } + + .image-wrapper { + margin-bottom: 40px; + } + + .card-box:last-of-type { + .card-item { + flex-direction: row; + align-items: center; + padding: 10px; + @include media-breakpoint-down(md) { + flex-direction: column; + justify-content: start; + align-items: start; + } + @include media-breakpoint-down(lg) { + padding: 30px; + } + } + .text-box { + padding: 50px; + @include media-breakpoint-down(lg) { + padding: 0px; + } + } + .image-wrapper { + margin-bottom: 0px; + margin-right: 10px; + margin-left: 40px; + max-width: 405px; + @include media-breakpoint-down(lg) { + margin-right: 40px; + margin-left: 0px; + max-width: 305px; + } + @include media-breakpoint-down(md) { + margin-bottom: 20px; + max-width: 230px; + } + } + } + } + .cards-section { + padding-top: 120px; + @include media-breakpoint-down(sm) { + padding-top: 80px; + } + } + + .join-the-community { + padding: 110px 0px 130px 0px; + @include media-breakpoint-down(lg) { + padding: 80px 0px; + } + @include media-breakpoint-down(sm) { + padding: 50px 0px; + } + .row { + margin-top: 60px; + flex-wrap: nowrap; + } + + .subtitle { + margin-bottom: 60px; + @include media-breakpoint-down(sm) { + margin-bottom: 40px; + } + } + .scroll-box-main { + @include media-breakpoint-up(lg) { + overflow-x: scroll; + // padding-bottom: 10px; + } + + img { + -webkit-user-drag: none; /* Chrome, Safari, Opera */ + -moz-user-select: none; /* Firefox */ + -ms-user-select: none; /* Internet Explorer/Edge */ + user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */ + } + } + + .scroll-box { + @include media-breakpoint-down(lg) { + overflow-x: scroll; + padding-bottom: 10px; + } + } + + .social-wrapper { + display: flex; + flex-direction: column; + justify-content: space-between; + border: 1px solid #d9d9d9; + background-color: white; + padding: 55px 50px 45px 45px; + border-radius: 8px; + height: 100%; + @include media-breakpoint-down(sm) { + padding: 35px 35px 25px 25px; + } + + .social-box { + display: flex; + flex-wrap: wrap; + @include media-breakpoint-up(lg) { + max-width: 420px; + } + + .logo-container { + height: 40px; + width: 40px; + .gatsby-image-wrapper { + width: 40px; + } + } + .text-box { + .title { + color: #000; + font-size: 16px; + font-style: normal; + line-height: normal; + } + .text { + font-size: 12px; + font-style: normal; + line-height: normal; + margin-top: 2px; + } + } + .icon-card-wrapper { + .community-item { + display: flex; + align-items: center; + padding: 0px; + height: fit-content; + .title { + margin-top: 0px; + } + } + } + + // .icon-card-wrapper:nth-child(5), + // .icon-card-wrapper:nth-child(6) { + // width: 100%; + // @include media-breakpoint-up(md) { + // width: 33.33%; + // } + // @include media-breakpoint-up(lg) { + // width: 100%; + // } + // } + .icon-card-wrapper { + margin-bottom: 40px; + } + } + + .link-container { + margin-left: auto; + @include media-breakpoint-down(lg) { + margin-top: 40px; + } + .link { + font-family: $ruberoid; + font-style: normal; + font-weight: 700; + font-size: 14px; + line-height: 1em; + padding: 8px 0; + margin: -8px 0; + color: #000000; + transition: all 0.2s ease-in-out; + &:hover { + color: #393939; + & svg { + transform: translateX(8px) translateY(-2px); + } + } + } + svg { + transform: translateX(0px) translateY(-2px); + margin-left: 8px; + transition: all 0.2s ease-in-out; + will-change: transform; + } + } + } + + .community-image { + overflow: hidden; + border-radius: 8px; + // Generate ratio css: https://ratiobuddy.com/ + position: relative; + // margin-right: 10px; + &:before { + display: block; + content: ""; + width: 100%; + padding-top: calc((400 / 565) * 100%); + @include media-breakpoint-up(sm) { + padding-top: calc((420 / 565) * 100%); + } + } + & > .image { + position: absolute; + object-fit: cover; + top: 0; + right: 0; + bottom: 0; + left: 0; + width: 100%; + height: 100%; + } + .image-caption { + position: absolute; + display: flex; + justify-content: space-between; + padding: 11px 20px; + width: 100%; + bottom: 0; + left: 0; + z-index: 2; + .caption-box { + border-radius: 400px; + background: rgba(255, 255, 255, 0.3); + backdrop-filter: blur(25px); + flex-shrink: 0; + border: unset; + width: fit-content; + padding: 10px 21px; + .caption-text { + color: #fff; + text-align: center; + font-family: Ruberoid; + font-size: 14px; + font-style: normal; + font-weight: bold; + line-height: normal; + } + } + .logo { + height: 40px; + width: 40px; + border-radius: 9999px; + overflow: hidden; + } + } + } + } } diff --git a/src/scss/pages/page-press.scss b/src/scss/pages/page-press.scss index 2253fbb76..a10a15b93 100644 --- a/src/scss/pages/page-press.scss +++ b/src/scss/pages/page-press.scss @@ -1,24 +1,28 @@ .press { padding-bottom: 150px; + position: relative; + z-index: 1; @include media-breakpoint-down(sm) { padding-bottom: 100px; } - .text { - font-family: $ruberoid; - font-style: normal; - font-weight: 400; - font-size: 18px; - line-height: 26px; - letter-spacing: 0.225px; - color: #000000; - width: 80%; - max-width: 478px; - margin-bottom: 0px; - - @include media-breakpoint-down(sm) { - font-size: 15px; - line-height: 23px; - width: 100%; + .hero { + .text { + font-family: $ruberoid; + font-style: normal; + font-weight: 400; + font-size: 18px; + line-height: 26px; + letter-spacing: 0.225px; + color: #000000; + width: 80%; + max-width: 478px; + margin-bottom: 0px; + + @include media-breakpoint-down(sm) { + font-size: 15px; + line-height: 23px; + width: 100%; + } } } diff --git a/src/scss/pages/page-resouces.scss b/src/scss/pages/page-resouces.scss index 144d1349b..f35befb9a 100644 --- a/src/scss/pages/page-resouces.scss +++ b/src/scss/pages/page-resouces.scss @@ -1,5 +1,6 @@ .resources-page{ position:relative; + z-index: 1; main{ overflow:unset; @@ -7,7 +8,20 @@ } .resources-body{ - background-image:url(../images/BG/learn.png); + &::before{ + content: ""; + background: url(../images/BG/learn.png) no-repeat scroll center top transparent; + background-size: 100%; + height: 100%; + width: 100%; + position: absolute; + top: 0; + left: 0; + z-index: -1; + @include media-breakpoint-down(sm) { + background-size: 200%; + } + } } .blog-post{ @@ -467,7 +481,6 @@ @include media-breakpoint-down(md) { border-right:none; - border-bottom:1px solid #E7E4E4; } } &:nth-child(3){ diff --git a/src/scss/pages/page-run-a-node.scss b/src/scss/pages/page-run-a-node.scss index 75be79dbb..e3d864d7b 100644 --- a/src/scss/pages/page-run-a-node.scss +++ b/src/scss/pages/page-run-a-node.scss @@ -1,7 +1,6 @@ .run-a-node { position: relative; - - z-index: 0; + z-index: 1; background: url(../images/BG/technology.png) no-repeat scroll top 500px right transparent; @include media-breakpoint-down(xl) { @@ -86,20 +85,6 @@ } } - .subtitle { - font-family: $ruberoid; - font-weight: 500; - font-size: 18px; - color: #000000; - letter-spacing: 0; - line-height: 25px; - margin-bottom: 30px; - max-width: 400px; - @include media-breakpoint-down(sm) { - max-width: 100%; - } - } - .description { font-family: $inter; font-weight: 300; @@ -121,6 +106,23 @@ @include media-breakpoint-down(sm) { padding-top: 70vw; } + .text { + font-family: $ruberoid; + font-weight: 500; + font-size: 18px; + color: #000000; + letter-spacing: 0.22px; + line-height: 26px; + max-width: 450px; + margin-bottom: 50px; + + @include media-breakpoint-down(md) { + font-size: 14px; + line-height: 21px; + width: 100%; + margin-bottom: 30px; + } + } } .get-started { diff --git a/src/scss/pages/page-team.scss b/src/scss/pages/page-team.scss index 4dcddba6e..139f4299d 100644 --- a/src/scss/pages/page-team.scss +++ b/src/scss/pages/page-team.scss @@ -1,3 +1,5 @@ .team-page{ + position: relative; + z-index: 1; background:url(../images/BG/team.png) no-repeat scroll center right transparent; } diff --git a/src/scss/pages/page-technology.scss b/src/scss/pages/page-technology.scss index 7f311bf01..5ccc8c4c3 100644 --- a/src/scss/pages/page-technology.scss +++ b/src/scss/pages/page-technology.scss @@ -1,4 +1,6 @@ .technology-page{ + position: relative; + z-index: 1; background:url(../images/BG/technology.png) no-repeat scroll top 100vw right transparent; @include media-breakpoint-down(xl) { diff --git a/src/scss/pages/page-what-is-celestia.scss b/src/scss/pages/page-what-is-celestia.scss index ace54352c..2a0136e5e 100644 --- a/src/scss/pages/page-what-is-celestia.scss +++ b/src/scss/pages/page-what-is-celestia.scss @@ -1,4 +1,40 @@ .what-is-celestia { + padding-top: 0px; + @include media-breakpoint-down(sm) { + padding-top: 20px; + } + h1 { + font-size: 48px; + line-height: 1.1em; + letter-spacing: 0.6px; + @include media-breakpoint-down(md) { + font-size: 40px; + } + @include media-breakpoint-down(sm) { + font-size: 32px; + } + } + + h2, h3 { + font-size: 36px; + font-style: normal; + line-height: 1.22em; + letter-spacing: -0.643px; + margin-bottom: 20px; + @include media-breakpoint-down(md) { + font-size: 32px; + } + @include media-breakpoint-down(sm) { + font-size: 26px; + letter-spacing:0.1px; + } + } + + .sticky-container { + position: relative; + z-index: 10; + } + .lead-text { font-family: $inter; font-size: 18px; @@ -32,7 +68,7 @@ } .text-box { // max-width: 630px; - padding: 96px 20px 96px 70px; + padding: 70px 20px 70px 70px; @include media-breakpoint-down(lg) { padding: 50px 40px 50px 50px; max-width: 100%; @@ -54,18 +90,15 @@ } } p { - font-size: 18px; - line-height: 27px; - font-weight: 500; + font-size: 20px; + font-style: normal; + font-weight: 400; + line-height: 32px; color: #000000; font-family: $inter; - margin-bottom: 56px; - &:last-of-type { - margin-bottom: 0px; - } @include media-breakpoint-down(sm) { - font-size: 15px; - line-height: 23px; + font-size: 18px; + line-height: 26px; } } } @@ -103,100 +136,92 @@ } } - .modular-blockchain-section { - margin-bottom: 120px; + .what-is-a-modular-blockchain { + margin-bottom: 80px; padding: 0; @include media-breakpoint-down(lg) { - margin-bottom: 80px; + margin-bottom: 70px; + padding-top: 40px; } - .image-box--modular { + .title { + margin-bottom: 0px; + } + } + + .what-is-data-availability { + margin-bottom: 80px; + padding: 0; + @include media-breakpoint-down(lg) { + margin-bottom: 70px; + } + .image-box--analogy { display: flex; justify-content: center; align-items: center; height: inherit; padding: 0 47px; - .image-wrapper { - width: 100%; - height: 100%; - max-width: 524px; - } @include media-breakpoint-down(lg) { background-position: 50%; - padding: 0 16px; + padding: 0 30px; .image-wrapper { width: 100%; - max-width: 600px; + height: 100%; + max-width: 450px; } } } } - .how-different-section { - margin-bottom: 200px; + .what-are-rollups { + margin-bottom: 80px; padding: 0; @include media-breakpoint-down(lg) { - margin-bottom: 64px; + margin-bottom: 70px; } .image-box--different { height: inherit; - display: flex; - justify-content: center; - align-items: center; - padding: 0 47px; .image-wrapper { width: 100%; height: 100%; - max-width: 420px; - } - @include media-breakpoint-down(lg) { - background-position: 50%; - width: 100vw; - padding: 12px; - .image-wrapper { - width: 100%; - max-width: 450px; - } } } } - .good-analogy-section { - margin-bottom: 170px; + .modular-blockchain-section { + margin-bottom: 120px; padding: 0; @include media-breakpoint-down(lg) { - margin-bottom: 50px; + margin-bottom: 80px; } - .image-box--analogy { + .image-box--modular { display: flex; justify-content: center; align-items: center; height: inherit; padding: 0 47px; + .image-wrapper { + width: 100%; + height: 100%; + max-width: 524px; + } @include media-breakpoint-down(lg) { background-position: 50%; - padding: 0 30px; + padding: 0 16px; .image-wrapper { width: 100%; - height: 100%; - max-width: 450px; + max-width: 600px; } } } } - .why-use-section { - background-color: #fcfaff; - padding: 80px 0 80px 0; - @include media-breakpoint-down(lg) { - padding: 50px 0 50px 0; - } - .text-box { - @include media-breakpoint-down(lg) { - padding: 0px; - } + .whats-it-like-to-build-on-Celestia { + padding: 0 0 100px 0; + @include media-breakpoint-down(sm) { + padding: 0 0 80px 0; } - .text-box .title { - margin: 0; + .title { + margin-bottom: 0px; } .why-use-card { height: 100%; @@ -228,6 +253,9 @@ line-height: 23px; color: #414141; letter-spacing: -0.1px; + &:last-of-type { + margin-bottom: 0; + } } .col-z-index { z-index: 1; @@ -243,11 +271,12 @@ margin-bottom: 40px; } .gatsby-image-wrapper { - height: 82%; - transform: translateX(-7%) scale(.96); + height: 64%; + transform: translateX(-20%) scale(1); overflow: visible; @include media-breakpoint-down(xl) { - transform: translateX(-15%); + height: 52%; + transform: translateX(-30%); width: 125%; } @include media-breakpoint-down(lg) { @@ -263,10 +292,10 @@ img { object-position: right; @include media-breakpoint-down(xl) { - width: 120%; + width: 140%; } @include media-breakpoint-down(lg) { - width: 140%; + width: 120%; } @include media-breakpoint-down(md) { width: 100%; @@ -274,214 +303,345 @@ } } } - } - .data-availability-section { - margin-bottom: 120px; - padding: 120px 0 0; - @include media-breakpoint-down(lg) { - padding: 70px 0 0; - margin-bottom: 80px; - } - .image-box--availability { - display: flex; - justify-content: center; - align-items: center; - height: inherit; - padding: 0 47px; - .image-wrapper { - width: 100%; - height: 100%; - max-width: 420px; - } - @include media-breakpoint-down(lg) { - background-position: 50%; - padding: 0 30px; - .image-wrapper { - width: 90%; - max-width: 450px; + .link-wrapper { + margin-top: 20px; + .link { + font-family: $ruberoid; + font-style: normal; + font-weight: 700; + font-size: 14px; + line-height: 1em; + padding: 8px 0; + margin: -8px 0; + color: #000000; + transition: all 0.2s ease-in-out; + box-shadow: none; + &:hover { + color: #393939; + & svg { + margin-left: 16px; + } } } - } - } - - .rollups-section { - margin-bottom: 120px; - padding: 0; - @include media-breakpoint-down(lg) { - margin-bottom: 80px; - } - .image-box--rollups { - display: flex; - justify-content: center; - align-items: center; - height: inherit; - padding: 0 47px; - @include media-breakpoint-down(lg) { - background-position: 50%; - padding: 0 12px; - .image-wrapper { - width: 100%; - height: 100%; - max-width: 500px; - } + svg { + margin-left: 8px; + transition: all 0.2s ease-in-out; + will-change: margin; + margin-bottom: 2px; } } } - .modularism-section { - margin-bottom: 120px; - padding: 0; - @include media-breakpoint-down(lg) { - margin-bottom: 100px; + .celestia-community { + padding: 0px; + .section-title { + text-align: center; + font-size: 52px; + font-weight: bold; + line-height: 1.1em; + margin-bottom: 70px; + @include media-breakpoint-down(md) { + font-size: 42px; + } + @include media-breakpoint-down(sm) { + font-size: 36px; + margin-bottom: 60px; + } } - .image-box--modularism { - display: flex; - justify-content: center; - align-items: center; - height: inherit; - padding: 0 47px; + .modularism-not-maximalism { + margin-bottom: 120px; + padding: 0; @include media-breakpoint-down(lg) { - background-position: 50%; - padding: 0px; + margin-bottom: 80px; + } + @include media-breakpoint-down(sm) { + margin-bottom: 40px; + } + + .image-box--availability { + display: flex; + justify-content: center; + align-items: center; + height: inherit; + padding: 0 47px; .image-wrapper { width: 100%; height: 100%; - max-width: 500px; - transform: scale(1.1); + max-width: 420px; + } + @include media-breakpoint-down(lg) { + background-position: 50%; + padding: 0 30px; + .image-wrapper { + width: 90%; + max-width: 450px; + } } } } - } - .social-consensus { - margin-bottom: 120px; - padding: 0; - @include media-breakpoint-down(lg) { + .layer-0-social-consensus { margin-bottom: 80px; - } - .text-box { + padding: 0; @include media-breakpoint-down(lg) { - padding: 0px 12px 75px; + margin-bottom: 60px; } - } - .image-box--consensus { - display: flex; - justify-content: center; - align-items: center; - height: inherit; - padding: 0 47px; - @include media-breakpoint-down(lg) { - background-position: 50%; - padding: 0px; - .image-wrapper { - width: 90%; - height: 100%; - max-width: 500px; + .image-box--rollups { + display: flex; + justify-content: center; + align-items: center; + height: inherit; + padding: 0 47px; + @include media-breakpoint-down(lg) { + background-position: 50%; + padding: 0 12px; + .image-wrapper { + width: 100%; + height: 100%; + max-width: 500px; + } } } } } - .resources-section { - background-color: #fcfaff; - padding: 70px 0 50px 0; - @include media-breakpoint-down(md) { - padding: 50px 0 50px 0; - } + .toc-2 { + position: sticky; + top: 100px; + left: 0; + width: 100%; + float: left; + margin-bottom: 30px; - .text-box { - @include media-breakpoint-down(md) { - padding: 0; + .category-menu { + @include media-breakpoint-down(lg) { + max-height: 0; + overflow: hidden; + transition: 500ms all ease-in-out; + margin-top: 0; + + &.show { + max-height: 200vh; + margin-top: 25px; + margin-bottom: 25px; + } } } - .resource-card { - height: 100%; - background-color: #ffffff; - border-radius: 15px; - border: 1px solid #e9e5f0; - padding: 35px; - } - .card-title { - font-family: $ruberoid; - font-size: 24px; - line-height: 24px; - color: #000000; - letter-spacing: -0.36px; - font-weight: 800; - margin-bottom: 12px; - } - .card-text { - font-family: $inter; - font-size: 14px; - color: #414141; - letter-spacing: -0.08px; - line-height: 23px; - } - .card-link { + .mobile-toc { font-family: $ruberoid; - font-size: 15px; + font-weight: bold; + font-size: 18px; color: #000000; letter-spacing: 0; - line-height: 15px; - font-weight: 800; - } - } + display: none; + cursor: pointer; + background: rgba(246, 246, 246, 0.7); + border-radius: 6px; + padding: 25px; + margin-bottom: 10px; - .text-box { - padding: 0px 50px 0px 70px; - @include media-breakpoint-down(lg) { - padding: 0px 30px 50px; + @include media-breakpoint-down(lg) { + display: flex; + align-items: center; + } + + #mobile-category { + width: 22px; + height: 22px; + float: right; + display: inline-block; + transition: 300ms all ease-in-out; + } + + .dropdown-button { + width: 26px; + height: 26px; + padding: 6px; + display: flex; + justify-content: center; + align-items: center; + background-color: #EDEDED; + border-radius: 4px; + margin-left: auto; + } + + &.show { + #mobile-category { + transform: rotate(180deg); + } + } } - @include media-breakpoint-down(sm) { - padding: 0px 12px 50px; + + .toc-inner { + background: rgba(246, 246, 246, 0.7); + border-radius: 6px; + -webkit-backdrop-filter: blur(20px); + backdrop-filter: blur(20px); + padding: 35px; + overflow: auto; + + @include media-breakpoint-down(xl) { + padding: 35px 35px 35px 16px; + } + + @include media-breakpoint-down(lg) { + padding: 0 20px; + } + + + .toc-title { + font-family: $ruberoid; + font-size: 16px; + font-style: normal; + font-weight: bold; + line-height: normal; + margin-bottom: 20px; + margin-left: 9px; + @include media-breakpoint-down(lg) { + display: none; + } + } + + .category-menu { + .group { + &:first-of-type { + .group-title { + margin-top: 0; + padding-top: 0; + border: none; + } + } + + &:nth-child(1) { + .group-title { + margin-top: 0; + padding-top: 0; + border: none; + } + } + } + } + + .group-title { + font-family: $ruberoid; + font-weight: bold; + font-size: 18px; + color: #000000; + letter-spacing: 0; + cursor: pointer; + margin-bottom: 10px; + + border-top: 1px solid #dcdcdc; + padding-top: 25px; + margin-top: 10px; + + svg { + width: 22px; + height: 22px; + float: right; + display: inline-block; + transition: 300ms all ease-in-out; + } + } + + .subcategory-title { + font-weight: 500; + font-family: $ruberoid; + margin-bottom: 10px; + font-size: 15px; + cursor: pointer; + + &:hover { + color: $purple; + } + } + + .subcategory-items { + max-height: 0; + overflow: hidden; + + &.opened { + max-height: unset; + } + } + + .group-items { + transition: 300ms all ease-in-out; + .article-title { + font-family: $ruberoid; + font-weight: 500; + font-size: 13px; + color: #414141; + letter-spacing: 0; + margin-bottom: 10px; + padding-left: 10px; + + &:hover { + color: $purple; + } + + .toc-item { + div:first-of-type { + a { + margin-top: 10px; + } + } + } + } + } } - .title { - font-family: $ruberoid; - font-size: 36px; - letter-spacing: -1px; - line-height: 38px; - font-weight: 800; - color: #000000; - letter-spacing: -0.15px; - margin-bottom: 20px; - @include media-breakpoint-down(sm) { - font-size: 32px; - letter-spacing: -0.62px; - line-height: 40px; + + .article-link { + &.active { + font-weight: bold; } } - p { - font-family: $inter; - font-size: 18px; + a { + font-family: $ruberoid; + font-weight: 500; + font-size: 13px; + letter-spacing: 0; + padding: 12px 0 12px 25px; + display: inline-block; color: #414141; - letter-spacing: -0.1px; - line-height: 27px; - margin-bottom: 24px; - @include media-breakpoint-down(sm) { - font-size: 15px; - width: 100%; - margin-bottom: 25px; - } - &:last-of-type { - margin-bottom: 0px; + line-height: 1.3em; + position: relative; + &:before { + height: 100%; + width: 3px; + background: #eaeaea; + position: absolute; + left: 8px; + content: ""; + z-index: 1; } - @include media-breakpoint-down(sm) { - font-size: 15px; - line-height: 23px; + } + + div.selected { + position: relative; + a { + font-weight: bold; + color: $purple; } - & strong { - font-weight: 500; + &:before { + height: 100%; + width: 3px; + background: $purple; + position: absolute; + left: 8px; + border-radius: 9999px; + content: ""; + z-index: 2; } } } } .what-is-celestia + footer { - padding-top: 80px; @include media-breakpoint-down(md) { - padding-top: 20px; + padding-top: 640px; } } diff --git a/src/scss/pages/page-what-is-tia.scss b/src/scss/pages/page-what-is-tia.scss new file mode 100644 index 000000000..e6373bfb2 --- /dev/null +++ b/src/scss/pages/page-what-is-tia.scss @@ -0,0 +1,566 @@ +.what-is-tia { + position: relative; + z-index: 1; + background: url(../images/BG/technology.png) no-repeat scroll top 500px right transparent; + + @include media-breakpoint-down(xl) { + background-position: top 320px right; + } + @include media-breakpoint-down(lg) { + background-position: top 350px right; + } + @include media-breakpoint-down(md) { + background-position: top 450px right; + } + @include media-breakpoint-down(sm) { + background-position: -210px 450px; + } + + main { + z-index: 0; + // background: url(../images/BG/home.png) no-repeat scroll top 1800px left transparent; + + @include media-breakpoint-down(xl) { + background-position: top 2000px left; + } + @include media-breakpoint-down(lg) { + background-position: top 2000px left; + } + @include media-breakpoint-down(md) { + background-position: top 3400px left; + } + @include media-breakpoint-down(sm) { + background-position: top 3300px left; + } + } + + h1.main { + max-width: 650px; + @include media-breakpoint-down(xl) { + max-width: 400px; + } + @include media-breakpoint-down(md) { + max-width: 400px; + } + } + .main-text { + @include media-breakpoint-down(xl) { + max-width: 400px; + } + @include media-breakpoint-down(md) { + max-width: 400px; + } + } + + &:before { + background: url(../images/what-is-tia/what-is-tia-1.png) no-repeat scroll top right transparent; + background-size: contain; + top: 30px; + right: 0; + left: 50%; + position: absolute; + content: ""; + width: 600px; + height: 600px; + z-index: -1; + + @include media-breakpoint-down(xl) { + width: 540px; + height: 540px; + top: 30px; + right: 60px; + left: 50%; + } + @include media-breakpoint-down(lg) { + width: 380px; + height: 380px; + top: 70px; + right: 50px; + } + @include media-breakpoint-down(md) { + width: 88%; + height: 88%; + max-width: 480px; + right: unset; + top: 40px; + left: 50%; + transform: translateX(-50%); + } + } + + main { + padding-top: 100px; + } + section { + padding-top: 50px; + padding-bottom: 50px; + @include media-breakpoint-down(sm) { + padding-top: 40px; + padding-bottom: 40px; + } + } + + .subtitle { + font-family: $ruberoid; + font-weight: 500; + font-size: 18px; + color: #000000; + letter-spacing: 0; + line-height: 25px; + margin-bottom: 30px; + max-width: 560px; + @include media-breakpoint-down(sm) { + max-width: 100%; + } + } + + .description { + font-family: $inter; + font-weight: 300; + font-size: 16px; + color: #000000; + letter-spacing: 0; + line-height: 24px; + margin-top: 22px; + max-width: 450px; + @include media-breakpoint-down(sm) { + max-width: 100%; + } + } + + .hero { + padding-bottom: 0px; + @include media-breakpoint-down(md) { + padding-top: 375px; + } + @include media-breakpoint-down(sm) { + padding-top: 65vw; + } + } + + .button-simple, + .button-white, + .button-icon, + .button-external { + margin-right: 20px; + @include media-breakpoint-down(sm) { + margin-bottom: 20px; + } + } + + .min-width-50 { + min-width: 50%; + } + .min-width-33 { + min-width: 33%; + } + + .tia-role { + padding-top: 80px; + padding-bottom: 0px; + @include media-breakpoint-up(lg) { + padding-top: 145px; + padding-bottom: 0px; + } + .role-items { + margin-top: 32px; + display: flex; + justify-content: space-between; + flex-direction: column; + @include media-breakpoint-up(lg) { + margin-top: 56px; + flex-direction: row; + } + } + .role-card { + height: 100%; + padding-bottom: 30px; + @include media-breakpoint-up(lg) { + padding-bottom: 40px; + } + .role-image-wrapper { + display: flex; + flex-direction: column; + justify-content: center; + height: 100%; + width: 140px; + margin-bottom: 10px; + @include media-breakpoint-down(sm) { + width: 100px; + } + @include media-breakpoint-up(lg) { + margin-bottom: 20px; + } + } + .role-card-title { + color: #000; + font-family: $ruberoid; + font-size: 24px; + font-style: normal; + font-weight: 700; + line-height: 28px; + max-width: 320px; + } + .role-card-text { + color: #414141; + font-family: $inter; + font-size: 15px; + font-style: normal; + font-weight: 300; + line-height: 21px; + letter-spacing: -0.1px; + max-width: 460px; + @include media-breakpoint-up(lg) { + max-width: 320px; + } + } + } + } + + .custody-stacking { + padding-top: 20px; + padding-bottom: 0; + // @include media-breakpoint-up(lg) { + // padding-top: 50px; + // padding-bottom: 100px; + // } + + .custody-stacking-title { + margin-bottom: 35px; + @include media-breakpoint-up(lg) { + padding-top: 30px; + } + } + + .custody-stacking-item { + margin-bottom: 0px; + @include media-breakpoint-down(lg) { + &:not(:last-of-type) { + margin-bottom: 90px; + } + } + @include media-breakpoint-down(sm) { + &:not(:last-of-type) { + margin-bottom: 60px; + } + } + } + .image-box--node { + .image-wrapper { + display: flex; + justify-content: center; + @include media-breakpoint-down(lg) { + margin-left: auto; + margin-right: auto; + padding: 0px; + max-width: 90%; + } + } + } + + .text-box { + max-width: 600px; + .title { + font-size: 36px; + font-style: normal; + font-weight: 700; + line-height: 1.3em; + max-width: auto; + margin-bottom: 20px; + @include media-breakpoint-down(md) { + font-size: 24px; + max-width: 380px; + } + } + &:last-of-type { + margin-top: 0px; + @include media-breakpoint-up(lg) { + margin-top: 30px; + } + } + .custody-text-box { + color: #414141; + font-family: $inter; + font-size: 16px; + line-height: 24px; + font-style: normal; + font-weight: 300; + @include media-breakpoint-up(lg) { + font-size: 20px; + line-height: 30px; + } + a { + box-shadow: inset 0 -2px 0 0 #414141; + } + .link-list { + display: flex; + flex-wrap: wrap; + margin-top: 10px; + .link-wrapper { + flex-basis: auto; + min-width: 180px; + margin-top: 10px; + a { + box-shadow:none ; + } + + .link { + font-family: $ruberoid; + font-style: normal; + font-weight: 700; + font-size: 14px; + line-height: 1em; + padding: 8px 0; + margin: -8px 0; + color: #000000; + transition: all 0.2s ease-in-out; + box-shadow: none; + &:hover { + color: #393939; + & svg { + margin-left: 16px; + } + } + } + svg { + margin-left: 8px; + transition: all 0.2s ease-in-out; + will-change: margin; + margin-bottom: 2px; + } + } + } + } + } + } + + .wallets { + padding-top: 0px; + padding-bottom: 100px; + @include media-breakpoint-up(lg) { + padding-bottom: 140px; + } + .wallets-title { + margin-bottom: 10px; + @include media-breakpoint-up(lg) { + margin-bottom: 20px; + } + } + .wallets-items { + margin-top: 56px; + } + .wallet-card-wrapper { + position: relative; + z-index: 0; + padding-bottom: 20px; + padding-right: 20px; + @include media-breakpoint-down(lg) { + flex-basis: 100%; + padding-right: 0px; + } + @include media-breakpoint-up(lg) { + flex-basis: 50%; + padding-right: 20px; + } + + .wallet-card { + position: relative; + z-index: 1; + padding: 30px; + height: 100%; + border-radius: 8px; + background: rgba(247, 247, 247, 0.6); + backdrop-filter: blur(32px); + @include media-breakpoint-down(md) { + padding: 20px; + } + @include media-breakpoint-down(sm) { + padding: 16px; + } + .wallet-container { + display: flex; + align-items: center; + flex-direction: row; + @include media-breakpoint-down(sm) { + align-items: start; + } + } + .wallet-image-wrapper { + display: flex; + flex-direction: column; + justify-content: center; + height: 63px; + width: 63px; + margin-right: 20px; + z-index: 0; + @include media-breakpoint-down(md) { + margin-top: 5px; + height: 40px; + width: 40px; + } + + .gatsby-image-wrapper { + border-radius: 9999px; + } + } + .wallet-card-title { + color: #000; + font-family: $ruberoid; + font-size: 28px; + font-style: normal; + font-weight: 700; + line-height: normal; + max-width: 320px; + margin-bottom: 2px; + @include media-breakpoint-down(sm) { + font-size: 20px; + } + } + .wallet-card-text { + color: #393939; + font-family: $inter; + font-size: 12px; + font-style: normal; + font-weight: 600; + line-height: normal; + max-width: 320px; + margin-bottom: 0px; + } + + .link-wrapper { + margin-top: 20px; + .link { + font-family: $ruberoid; + font-style: normal; + font-weight: 700; + font-size: 14px; + line-height: 1em; + padding: 8px 0; + margin: -8px 0; + color: #000000; + transition: all 0.2s ease-in-out; + box-shadow: none; + &:hover { + color: #393939; + & svg { + margin-left: 16px; + } + } + } + svg { + margin-left: 8px; + transition: all 0.2s ease-in-out; + will-change: margin; + margin-bottom: 2px; + } + } + .wallet-device-item { + &:not(:last-of-type) { + margin-right: 20px; + } + } + } + .wallet-blurred-image { + position: absolute; + top: 0; + left: 0; + height: 134px; + width: 134px; + z-index: -1; + @include media-breakpoint-down(md) { + height: 100px; + width: 100px; + } + .gatsby-image-wrapper { + border-radius: 9999px; + } + } + } + .two-col-flex { + display: flex; + flex-wrap: wrap; + } + } + + .managing-tia { + padding-top: 100px; + padding-bottom: 100px; + @include media-breakpoint-down(md) { + padding-top: 60px; + } + @include media-breakpoint-down(sm) { + padding-top: 60px; + } + .title { + color: #000; + font-family: $ruberoid; + font-size: 36px; + font-style: normal; + font-weight: 700; + line-height: 48px; + margin-bottom: 20px; + } + .text-box { + color: #414141; + font-family: $inter; + font-size: 20px; + font-style: normal; + font-weight: 300; + line-height: 28px; + letter-spacing: -0.112px; + max-width: 570px; + margin-bottom: 24px; + padding-right: 40px; + @include media-breakpoint-up(lg) { + margin-bottom: 0px; + } + } + .link-card { + border-radius: 8px; + border: 1px solid #e1e1e1; + background: #fff; + padding: 25px; + @include media-breakpoint-down(sm) { + padding: 16px; + } + } + .link-title { + color: #000; + font-family: $ruberoid; + font-size: 24px; + font-style: normal; + font-weight: 700; + line-height: normal; + @include media-breakpoint-up(lg) { + font-size: 26px; + } + } + .link-wrapper { + margin-top: 10px; + .link { + font-family: $ruberoid; + font-style: normal; + font-weight: 700; + font-size: 14px; + line-height: 1em; + padding: 8px 0; + margin: -8px 0; + color: #000000; + transition: all 0.2s ease-in-out; + box-shadow: none; + &:hover { + color: #393939; + & svg { + margin-left: 16px; + } + } + } + svg { + margin-left: 8px; + transition: all 0.2s ease-in-out; + will-change: margin; + margin-bottom: 2px; + } + } + } +} diff --git a/src/scss/sections/hero-section.scss b/src/scss/sections/hero-section.scss index d9384edc5..f83ba72a9 100644 --- a/src/scss/sections/hero-section.scss +++ b/src/scss/sections/hero-section.scss @@ -53,13 +53,14 @@ font-size: 18px; color: #000000; letter-spacing: 0.22px; - line-height: 23px; + line-height: 26px; width:80%; - max-width:680px; + max-width: 680px; margin-bottom: 50px; @include media-breakpoint-down(md) { font-size:14px; + line-height: 21px; width:100%; margin-bottom:30px; }