// FETCH CSS // const contratc = "dev-1697764823856-92090162270530"; const contract = "sazonmx.near"; const cssFont = fetch( "https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800" ).body; const Main = styled.div` display: grid; gap: 20px; grid-template-columns: 352px minmax(0, 1fr); align-items: start; @media (max-width: 1200px) { grid-template-columns: minmax(0, 1fr); } `; const footer = styled.div` display: flex; flex-direction: row; justify-content: center; align-items: center; `; const LogoImage = styled.img` margin-right: 12px; margin-top: 1px; `; const LogoImage2 = styled.img` width: 200px; margin-right: 12px; margin-top: 1px; `; const SidebarWrapper = styled.div` position: relative; z-index: 5; margin-top: -55px; @media (max-width: 900px) { margin-top: -40px; } `; const Content = styled.div` .post { padding-left: 0; padding-right: 0; } `; const Title = styled.h1` font-weight: 600; font-size: ${(p) => p.size || "25px"}; line-height: 1.2em; color: #11181c; margin: ${(p) => (p.margin ? "0 0 24px" : "0")}; overflow-wrap: anywhere; `; const center = styled.p` display: flex; align-items: center; justify-content: center; `; const Tabs = styled.div` display: flex; height: 48px; border-bottom: 1px solid #eceef0; margin-bottom: 72px; overflow: auto; scroll-behavior: smooth; @media (max-width: 1200px) { background: #f8f9fa; border-top: 1px solid #eceef0; margin: 0 -12px 48px; > * { flex: 1; } } `; const TabsButton = styled.a` display: inline-flex; align-items: center; justify-content: center; height: 100%; font-weight: 600; font-size: 22px; padding: 0 12px; position: relative; color: ${(p) => (p.selected ? "#11181C" : "#ffffff")}; background: none; border: none; outline: none; text-align: center; text-decoration: none !important; &:hover { color: #5EBDD4; } &::after { content: ""; display: ${(p) => (p.selected ? "block" : "none")}; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: #59e692; } `; if (!cssFont) return ""; if (!state.theme) { State.update({ theme: styled.div` font-family: Manrope, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; ${css} `, }); } const Theme = state.theme; // OUTPUT UI const getSender = () => { return !state.sender ? "" : state.sender.substring(0, 6) + "..." + state.sender.substring(state.sender.length - 4, state.sender.length); }; return ( <Theme> <div className="container-fluid py-4" style={{ backgroundColor: "#9972ad" }} > <Tabs> <LogoImage src="https://pbs.twimg.com/profile_images/1714387582786654208/7lKexrWK_400x400.jpg" alt="Company Logo" /> <TabsButton href={`sazonmx.near/widget/subirreceta`} selected={state.selectedTab === "home"} > Inicio </TabsButton> <TabsButton href={`#`} selected={state.selectedTab === "how"}> ¿Quienes somos? </TabsButton> <TabsButton href={`#`} selected={state.selectedTab === "tokens"}> Desayuno </TabsButton> <TabsButton href={`sazonmx.near/widget/galeriaconimagen`} selected={state.selectedTab === "tokens"} > Comidas </TabsButton> <TabsButton href={`#`} selected={state.selectedTab === "tokens"}> Cenas </TabsButton> <TabsButton href={`#`} selected={state.selectedTab === "tokens"}> Repostería </TabsButton> <TabsButton href={`#`} selected={state.selectedTab === "benefits"}> Sube tu receta </TabsButton> <TabsButton href={`#`} selected={state.selectedTab === "Supporters"}> Suscripción </TabsButton> </Tabs> <TabsButton> {!!state.sender ? ( <button className="" onClick={() => submitEthers(state.strEther, state.sender)} > <span></span> </button> ) : ( <Web3Connect className="" connectLabel="Connect Wallet" /> )} </TabsButton> <div className="container-fluid py-4"> <div class="center"> <h1>Mole con pollo</h1> </div> <img src="https://cheforopeza.com.mx/wp-content/uploads/2017/11/pollo-mole.jpg" alt="Imagen de fondo" style={{ width: "80%" }} /> </div> <h3>Ingredientes y procedimiento</h3> <ul> <li>6 Pieza de pollo</li> <li>2 Pieza de pimienta gorda</li> <li>1 Pieza de tomate (jitomate) bola</li> <li>2 Barra de chocolate de mesa</li> </ul> <ol> <li> Lava bien las piezas de pollo y ponlas a cocer en una olla con agua, ajo, pimienta y cilantro. Una vez listas, reserva el caldo. </li> <li> Para hacer el mole, calienta la manteca en un sartén y fríe ligeramente los chiles, la cebolla y el tomate. Una vez que tomen color mezcla en el vaso de tu licuadora junto con las especias, almendras, ajonjolí, uvas pasas, bolillo, tortillas de maíz y un poco de caldo. Debe quedarte una mezcla ligeramente espesa. </li> <li> Para hacerlo bien tradicional, derrite un poco más de manteca en una olla de barro, vacía el mole y cocina a fuego lento. Agrega el chocolate, deja que se funda, reafirma los sabores con un toque de sal y pimienta. </li> </ol> </div> </Theme> );