Skip to content

Commit

Permalink
Merge pull request #753 from near/develop
Browse files Browse the repository at this point in the history
weekly promotion of develop to main
  • Loading branch information
calebjacob authored Apr 9, 2024
2 parents c82106e + 4522291 commit c97298a
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 30 deletions.
2 changes: 1 addition & 1 deletion src/BlogPostPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ const CommentWrapper = styled.div`
const Container = styled.div`
display: flex;
max-width: 1224px;
margin: 0 auto;
margin: 1em auto;
gap: ${(p) => p.gap ?? "var(--section-gap)"};
flex-direction: column;
align-items: ${(p) => (p.center ? "center" : undefined)};
Expand Down
20 changes: 18 additions & 2 deletions src/Gateway/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,10 @@ const ButtonLinkWrapper = styled("Link")`
padding: 0;
}
.trending-round-icon {
filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.06)) drop-shadow(0px 0px 0px rgba(0, 0, 0, 0.06));
}
&:hover {
cursor: pointer;
text-decoration: ${(p) => (!p.$noHover ? "none" : "underline")};
Expand All @@ -160,7 +164,7 @@ const ButtonLinkWrapper = styled("Link")`
}
.trending-round-icon {
filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.06)) drop-shadow(0px 0px 0px rgba(0, 0, 0, 0.06));
filter: drop-shadow(0px 4px 8px var(--violet6)) drop-shadow(0px 0px 0px var(--violet6));
}
}
Expand All @@ -175,7 +179,19 @@ const ButtonLinkWrapper = styled("Link")`
}
.trending-round-icon {
filter: drop-shadow(0px 4px 8px var(--violet6)) drop-shadow(0px 0px 0px var(--violet6));
animation: pulse 1s infinite;
}
}
@keyframes pulse {
0% {
filter: drop-shadow(0px 0px 0px var(--violet6));
}
50% {
filter: drop-shadow(0px 0px 8px var(--violet6));
}
100% {
filter: drop-shadow(0px 0px 0px var(--violet6));
}
}
`;
Expand Down
34 changes: 13 additions & 21 deletions src/NearOrg/DataAvailabilityPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -497,11 +497,9 @@ return (
Drastically reduce your costs
</Text>
<Text>
Storing rollup calldata on NEAR Protocol is approximately
8000x cheaper than storing the same amount of data on
Ethereum. Harness the power of NEAR's robust blockchain,
optimized for speed, scalability, and cost. Say goodbye to
high DA fees and embrace a new era of cost-effective modular
Storing rollup calldata on NEAR Protocol is approximately 8000x cheaper than storing the same amount
of data on Ethereum. Harness the power of NEAR's robust blockchain, optimized for speed,
scalability, and cost. Say goodbye to high DA fees and embrace a new era of cost-effective modular
blockchain solutions.
</Text>
</Flex>
Expand All @@ -511,11 +509,9 @@ return (
Easily validate proofs
</Text>
<Text>
Validate proofs effortlessly with NEAR's trustless off-chain
light client. Seamlessly access and verify the storage of
rollup data on-chain. NEAR's developer-friendly interface
allows for convenient validation of blockchain transactions,
enhancing transparency and trust in the system.
Validate proofs effortlessly with NEAR's trustless off-chain light client. Seamlessly access and
verify the storage of rollup data on-chain. NEAR's developer-friendly interface allows for
convenient validation of blockchain transactions, enhancing transparency and trust in the system.
</Text>
</Flex>

Expand All @@ -524,11 +520,9 @@ return (
Simple to interact with
</Text>
<Text>
NEAR Protocol offers an RPC interface for the effortless
retrieval of on-chain data from anywhere. Accessing
transaction data has never been easier. Experience the ease
of NEAR's Data Availability solution and unlock new
potential for your Ethereum rollup.
NEAR Protocol offers an RPC interface for the effortless retrieval of on-chain data from anywhere.
Accessing transaction data has never been easier. Experience the ease of NEAR's Data Availability
solution and unlock new potential for your Ethereum rollup.
</Text>
</Flex>

Expand Down Expand Up @@ -564,12 +558,10 @@ return (
</Text>

<Text size="text-m" mobileSize="text-m" style={{ maxWidth: "600px" }}>
Efficiently store state data and commitments on a NEAR contract
for your L2 rollup. Whether you're processing transactions or
managing data on the blockchain layer, NEAR's Ethereum-compatible
infrastructure offers unparalleled efficiency through our robust
network of nodes. Enhance the functionality of your rollup and
experience the future of modular blockchain technology with NEAR.
Efficiently store state data and commitments on a NEAR contract for your L2 rollup. Whether you're
processing transactions or managing data on the blockchain layer, NEAR's Ethereum-compatible
infrastructure offers unparalleled efficiency through our robust network of nodes. Enhance the
functionality of your rollup and experience the future of modular blockchain technology with NEAR.
</Text>
</Flex>

Expand Down
7 changes: 4 additions & 3 deletions src/NearOrg/HomePage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -627,8 +627,9 @@ return (
Application hosting with zero setup, fewer costs, & less headaches.
</Text>
<Text>
No more jumping through hoops to reach your audience. B.O.S enables you to host and serve your
applications entirely on the blockchain, eliminating reliance on traditional web hosting services.
No more jumping through hoops to reach your audience. Near's Blockchain Operating System (B.O.S) enables
you to host and serve your applications entirely on the blockchain, eliminating reliance on traditional
web hosting services.
</Text>
<div>
<Widget
Expand Down Expand Up @@ -888,7 +889,7 @@ return (
<Widget
src="${REPL_ACCOUNT}/widget/DIG.Button"
props={{
href: "/signup",
href: "https://docs.near.org/tools/fastauth-sdk",
label: "Try FastAuth",
variant: "secondary",
fill: "outline",
Expand Down
4 changes: 2 additions & 2 deletions src/NearOrg/Notifications/NotificationsMiddleware.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const [shouldFallback, setShouldFallback] = useState(false);

const lastNotificationQuery = `
query IndexerQuery {
data: dataplatform_near_notifications_notifications( limit: 1, order_by: { block_height: desc }) {
data: dataplatform_near_notifications_notifications( limit: 1, order_by: { blockHeight: desc }) {
blockHeight
}
}
Expand Down Expand Up @@ -121,7 +121,7 @@ useEffect(() => {
setNotifications([]);
setNotificationsCount(0);
};
}, []);
}, [lastNotificationOnChain]);

return (
<Widget
Expand Down
2 changes: 1 addition & 1 deletion src/Posts/Menu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ const buildMenu = (accountId, blockHeight) => {
menu.unshift({
name: "Promote",
iconLeft: "ph-bold ph-arrow-up",
disabled: !context.accountId || context.accountId === accountId,
disabled: !context.accountId,
subMenuProps: {
items: promoteToBlogSubmenu,
},
Expand Down

0 comments on commit c97298a

Please sign in to comment.