123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442 |
- import Link from "next/link";
- import { Button } from "src/components/Button";
- import styled from "styled-components";
- export const StyledButtonWrapper = styled.div`
- display: flex;
- gap: 18px;
- @media only screen and (max-width: 768px) {
- display: none;
- }
- `;
- export const StyledTwitterQuote = styled.div`
- width: 100%;
- height: 100%;
- blockquote.twitter-tweet {
- display: inline-block;
- font-family: "Helvetica Neue", Roboto, "Segoe UI", Calibri, sans-serif;
- font-size: 12px;
- font-weight: bold;
- line-height: 16px;
- border-color: #eee #ddd #bbb;
- border-radius: 5px;
- border-style: solid;
- border-width: 1px;
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
- margin: 10px 5px;
- padding: 0 16px 16px 16px;
- max-width: 468px;
- }
- blockquote.twitter-tweet p {
- font-size: 16px;
- font-weight: normal;
- line-height: 20px;
- }
- blockquote.twitter-tweet a {
- color: inherit;
- font-weight: normal;
- text-decoration: none;
- outline: 0 none;
- }
- blockquote.twitter-tweet a:hover,
- blockquote.twitter-tweet a:focus {
- text-decoration: underline;
- }
- `;
- export const StyledImageWrapper = styled.div`
- width: 100%;
- height: 100%;
- display: flex;
- justify-content: center;
- align-items: center;
- `;
- export const StyledHome = styled.div`
- display: flex;
- flex-direction: column;
- gap: 8em;
- * {
- box-sizing: border-box;
- }
- @media only screen and (max-width: 768px) {
- gap: 3em;
- }
- `;
- export const StyledGradientText = styled.span`
- background: #ffb76b;
- background: linear-gradient(to right, #ffb76b 0%, #ffa73d 30%, #ff7c00 60%, #ff7f04 100%);
- background-clip: text;
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
- `;
- export const StyledNavbar = styled.nav`
- display: flex;
- justify-content: center;
- align-items: center;
- width: 100%;
- padding: 16px 16px;
- gap: 20px;
- @media only screen and (max-width: 768px) {
- a:first-of-type {
- display: none;
- }
- }
- `;
- export const StyledHeroSection = styled.section`
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- gap: 1.5em;
- min-height: 40vh;
- padding: 0 3%;
- h2 {
- margin-bottom: 25px;
- }
- `;
- export const StyledNavLink = styled(Link)`
- display: flex;
- justify-content: center;
- align-items: center;
- font-size: 1rem;
- cursor: pointer;
- transition: color 0.2s;
- &:hover {
- font-weight: 500;
- color: ${({ theme }) => theme.ORANGE};
- }
- `;
- export const StyledTitle = styled.h1`
- font-weight: 900;
- margin: 0;
- font-size: min(6vw, 86px);
- @media only screen and (max-width: 768px) {
- font-size: 2.5rem;
- }
- `;
- export const StyledSubTitle = styled.h2`
- color: #dedede;
- text-align: center;
- font-size: 2.5rem;
- max-width: 40rem;
- margin: 0;
- @media only screen and (max-width: 768px) {
- font-size: 1.5rem;
- }
- `;
- export const StyledMinorTitle = styled.p`
- color: #b4b4b4;
- text-align: center;
- font-size: 1rem;
- margin: 0;
- letter-spacing: 1.2px;
- @media only screen and (max-width: 992px) {
- font-size: 1rem;
- }
- `;
- export const StyledButton = styled(Button)`
- background: ${({ status }) => !status && "#a13cc2"};
- padding: 12px 24px;
- height: 46px;
- div {
- font-weight: 700;
- font-size: 1rem;
- }
- `;
- export const StyledSponsorButton = styled(Button)<{ isBlue?: boolean }>`
- background: transparent;
- border: 1px solid ${({ isBlue }) => (isBlue ? "#1F9CF0" : "#ee3d48")};
- transition: all 200ms;
- padding: 12px 24px;
- div {
- font-weight: 700;
- font-size: 16px;
- }
- svg {
- color: ${({ isBlue }) => (isBlue ? "#1F9CF0" : "#ee3d48")};
- }
- &:hover {
- background: ${({ isBlue }) => (isBlue ? "#1F9CF0" : "#ee3d48")};
- svg {
- color: white;
- }
- }
- `;
- export const StyledFeaturesSection = styled.section`
- display: grid;
- margin: 0 auto;
- max-width: 80%;
- justify-content: center;
- grid-template-columns: repeat(2, 40%);
- grid-template-rows: repeat(2, 1fr);
- grid-column-gap: 60px;
- grid-row-gap: 60px;
- @media only screen and (min-width: 1024px) {
- max-width: 60%;
- }
- @media only screen and (max-width: 768px) {
- flex-direction: column;
- max-width: 80%;
- display: flex;
- }
- `;
- export const StyledSectionCard = styled.div`
- text-align: center;
- flex: 1;
- border: 1px solid ${({ theme }) => theme.BACKGROUND_MODIFIER_ACCENT};
- background: rgb(48, 0, 65);
- background: linear-gradient(
- 138deg,
- rgba(48, 0, 65, 0.8870141806722689) 0%,
- rgba(72, 12, 84, 0.40802258403361347) 33%,
- rgba(65, 8, 92, 0.6012998949579832) 100%
- );
- border-radius: 6px;
- padding: 16px;
- `;
- export const StyledCardTitle = styled.div`
- font-weight: 700;
- font-size: 1.5rem;
- padding: 1.5rem 0 0.5rem;
- letter-spacing: 1px;
- `;
- export const StyledCardIcon = styled.div``;
- export const StyledCardDescription = styled.p`
- color: #e0e0e0;
- text-align: left;
- line-height: 1.5rem;
- font-size: 0.875rem;
- `;
- export const StyledFrame = styled.iframe`
- width: 100%;
- height: 100%;
- min-height: 200px;
- border: 2px solid ${({ theme }) => theme.PRIMARY};
- border-radius: 6px;
- @media only screen and (min-width: 768px) {
- min-height: 384px;
- }
- `;
- export const StyledPreviewFrame = styled(StyledFrame)`
- border: none;
- border-left: 2px solid ${({ theme }) => theme.PRIMARY};
- border-radius: 0;
- height: 476px;
- width: 50%;
- `;
- export const StyledSection = styled.section<{ reverse?: boolean }>`
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- max-width: 85%;
- margin: 0 auto;
- gap: 4rem;
- line-height: 1.5;
- padding: 50px 3%;
- & > div {
- width: 100%;
- }
- @media only screen and (max-width: 1200px) {
- flex-direction: ${({ reverse }) => (reverse ? "column-reverse" : "column")};
- max-width: 80%;
- }
- `;
- export const StyledSectionArea = styled.div`
- display: flex;
- flex-direction: column;
- gap: 2rem;
- width: 40%;
- margin-top: 3rem;
- h2,
- p {
- text-align: left;
- letter-spacing: unset;
- }
- @media only screen and (max-width: 768px) {
- width: 100%;
- align-items: center;
- h2 {
- text-align: center;
- }
- }
- `;
- export const StyledSponsorSection = styled.section`
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- max-width: 85%;
- margin: 0 auto;
- gap: 2rem;
- line-height: 1.5;
- padding: 50px 3%;
- @media only screen and (max-width: 768px) {
- max-width: 90%;
- }
- `;
- export const StyledEmbedSection = styled.section`
- display: flex;
- flex-direction: column-reverse;
- justify-content: center;
- align-items: center;
- max-width: 85%;
- margin: 0 auto;
- gap: 2rem;
- line-height: 1.5;
- padding: 50px 3%;
- @media only screen and (max-width: 768px) {
- max-width: 80%;
- }
- `;
- export const StyledPreviewSection = styled.section`
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- width: 70%;
- margin: 0 auto;
- background: ${({ theme }) => theme.BLACK_SECONDARY};
- border: 2px solid ${({ theme }) => theme.PRIMARY};
- border-radius: 6px;
- overflow: hidden;
- height: 480px;
- @media only screen and (max-width: 992px) {
- display: none;
- }
- `;
- export const StyledHighlightWrapper = styled.div`
- width: 50%;
- `;
- export const StyledTabsWrapper = styled.div`
- display: flex;
- gap: 10px;
- padding: 8px 8px;
- padding-bottom: 0;
- pre {
- border-top: 2px solid ${({ theme }) => theme.PRIMARY};
- }
- `;
- export const StyledTab = styled.button<{ active?: boolean }>`
- border-radius: 6px 6px 0 0;
- background: ${({ active }) => active && "#1e1e1e"};
- border: 2px solid ${({ theme, active }) => (active ? theme.PRIMARY : "transparent")};
- border-bottom: 0;
- margin-bottom: -2px;
- padding: 8px 16px;
- min-width: 80px;
- max-width: 150px;
- color: ${({ theme, active }) => (active ? theme.INTERACTIVE_ACTIVE : theme.INTERACTIVE_NORMAL)};
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- &:hover {
- color: ${({ theme, active }) => !active && theme.INTERACTIVE_HOVER};
- }
- `;
- export const StyledImage = styled.img`
- width: 100%;
- height: 100%;
- object-fit: contain;
- filter: drop-shadow(0px 0px 12px rgba(255, 255, 255, 0.6));
- `;
- export const StyledHighlightedText = styled.span`
- text-decoration: underline;
- text-decoration-style: dashed;
- text-decoration-color: #eab308;
- `;
- export const StyledProducthunt = styled.div`
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- align-items: center;
- gap: 3rem;
- border-right: 1px solid white;
- padding-right: 3rem;
- @media only screen and (max-width: 768px) {
- border-right: none;
- border-bottom: 1px solid white;
- padding-bottom: 3rem;
- padding-right: 0;
- }
- `;
- export const StyledPaidSection = styled.section`
- display: flex;
- max-width: 85%;
- margin: 0 auto;
- gap: 2rem;
- padding: 50px 3%;
- @media only screen and (max-width: 768px) {
- flex-direction: column;
- max-width: 80%;
- }
- `;
- export const StyledAffiliate = styled.div`
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- align-items: center;
- gap: 3rem;
- `;
|