Skip to content

Commit

Permalink
chore: updated notification banner text and og images
Browse files Browse the repository at this point in the history
  • Loading branch information
hemantwasthere committed Sep 10, 2024
1 parent de53df5 commit 00d953f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 12 deletions.
21 changes: 16 additions & 5 deletions src/components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -208,14 +208,25 @@ export default function Navbar(props: NavbarProps) {
top="0"
>
<Center bg="bg" color="gray" padding={0}>
<Text fontSize="12px" textAlign={'center'} padding="6px 5px" color='#8484C2'>
<b>STRKFarm just got audited by one of the top auditors in the ecosystem.
<Link target='_blank' href='https://x.com/strkfarm/status/1833071604856987678' color='#fff'>
{" "}Read more
<Text
fontSize="12px"
textAlign={'center'}
padding="6px 5px"
color="#8484C2"
>
<b>
STRKFarm just got audited by one of the top auditors in the
ecosystem.
<Link
target="_blank"
href="https://x.com/strkfarm/status/1833071604856987678"
color="#fff"
>
{' '}
Read more
</Link>
</b>
</Text>

</Center>
<Box
width={'100%'}
Expand Down
15 changes: 8 additions & 7 deletions src/components/TncModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ const exampleData = {
const signingData = {
types: {
StarkNetDomain: [
{ name: "name", type: "felt" },
{ name: "version", type: "felt" },
{ name: "chainId", type: "felt" },
{ name: 'name', type: 'felt' },
{ name: 'version', type: 'felt' },
{ name: 'chainId', type: 'felt' },
],
Person: [
{ name: 'name', type: 'felt' },
Expand All @@ -71,9 +71,9 @@ const signingData = {
},
primaryType: 'felt',
domain: {
name: "STRKFarm",
version: "1",
chainId: "0x534e5f4d41494e",
name: 'STRKFarm',
version: '1',
chainId: '0x534e5f4d41494e',
},
message: {
from: {
Expand All @@ -84,7 +84,8 @@ const signingData = {
name: 'Test2',
wallet: '0xbBbBBBBbbBBBbbbBbbBbbbbBBbBbbbbBbBbbBBbB',
},
contents: 'You confirm that you have read and agree to our Terms & Conditions, which can be found at https://github.com/strkfarm/static-assets/src/tnc.md.\n\nPlease note, this message is solely for verifying your agreement to our T&C and does not authorize any transaction or movement of your assets.',
contents:
'You confirm that you have read and agree to our Terms & Conditions, which can be found at https://github.com/strkfarm/static-assets/src/tnc.md.\n\nPlease note, this message is solely for verifying your agreement to our T&C and does not authorize any transaction or movement of your assets.',
},
};

Expand Down

0 comments on commit 00d953f

Please sign in to comment.