Skip to content

Commit

Permalink
Merge pull request #861 from starknet-io/quickfixes
Browse files Browse the repository at this point in the history
Capitalizing roadmap availability states
  • Loading branch information
milosyuki committed Jun 29, 2023
2 parents 68dc390 + 21c9e73 commit 9dde563
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ month: undefined NaN
id: 5ea43ca1-5ca8-4d55-bbc3-f7911c60b444
title: "Fetch older blocks with the blockhash syscall "
availability: July 2023
state: testing now
state: Testing now
specific_info: (est. mid July 2023)
version: ea637184-247a-4370-82bd-3059d1c988f0
stage: building-now
Expand Down
2 changes: 1 addition & 1 deletion _data/roadmap-posts/rustbased-blockifier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ month: undefined NaN
id: 5ea43ca1-5ca8-4d55-bbc3-f7911c60b411
title: Rust-based blockifier
availability: July 2023
state: testing now
state: Testing now
specific_info: (est. mid July 2023)
version: 69ee8aba-95ec-4da9-9348-b8debe034a1a
stage: building-now
Expand Down
2 changes: 1 addition & 1 deletion _data/roadmap-posts/rustbased-cairo-vm.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
id: 5ea43ca1-5ca8-4d55-bbc3-f7911c60b422
title: Rust-based Cairo VM
availability: July 2023
state: testing now
state: Testing now
specific_info: (est. mid July 2023)
version: 69ee8aba-95ec-4da9-9348-b8debe034a1a
stage: building-now
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ month: undefined NaN
id: 5ea43ca1-5ca8-4d55-bbc3-f7911c60b433
title: Rust-based local state management using Papyrus
availability: July 2023
state: testing now
state: Testing now
specific_info: (est. mid July 2023)
version: 69ee8aba-95ec-4da9-9348-b8debe034a1a
stage: building-now
Expand Down
2 changes: 1 addition & 1 deletion _data/roadmap-posts/updated-cairo-10-contract-syntax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ month: undefined NaN
id: 5ea43ca1-5ca8-4d55-bbc3-f7911c60b455
title: Updated Cairo 1.0 contract syntax
availability: July 2023
state: testing now
state: Testing now
specific_info: (est. mid July 2023)
version: 4e2b83da-0595-4975-bf6a-9dd19815c9f2
stage: building-now
Expand Down
2 changes: 1 addition & 1 deletion src/app/[locale]/roadmap/(components)/RoadmapPostCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default function RoadmapPostCard({
<Heading variant="h3" pb="2" color="heading-navy-fg" fontWeight={600} lineHeight="28px">{roadmapPost?.title}</Heading>
<Flex direction="row" alignItems="center" justifyContent="space-between">
<Text variant="cardBody" color="heading-navy-fg">{roadmapPost?.availability}</Text>
{roadmapPost?.state ? <Text display="flex" alignItems="center" variant="cardBody" color="roadmap-availability-state-fg" height="32px" borderRadius="5px" padding="4px 12px" borderWidth="1px" borderStyle="solid" borderColor="roadmap-card-border-color" bg="roadmap-card-tag-bg">{roadmapPost?.state}<Box display="inline-block" bg={roadmapPost?.state === "on testnet" ? "#00815C" : "#EF5600"} borderRadius="50%" width="14px" height="14px" ml="2"></Box></Text> : null}
{roadmapPost?.state ? <Text display="flex" alignItems="center" variant="cardBody" color="roadmap-availability-state-fg" height="32px" borderRadius="5px" padding="4px 12px" borderWidth="1px" borderStyle="solid" borderColor="roadmap-card-border-color" bg="roadmap-card-tag-bg">{roadmapPost?.state}<Box display="inline-block" bg={roadmapPost?.state === "On testnet" ? "#00815C" : "#EF5600"} borderRadius="50%" width="14px" height="14px" ml="2"></Box></Text> : null}
</Flex>
</CardHeader>
<CardBody padding="24px 16px 16px 16px">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export default function RoadmapPost({
</Heading>
{roadmapPost?.state ? <Flex alignItems="center">{roadmapPost?.specific_info ? <Text variant="cardBody" ml="2">{roadmapPost?.specific_info}</Text> : null}</Flex> : null}
</Flex>
<div>{roadmapPost?.state ? <Text display="flex" alignItems="center" variant="cardBody" color="roadmap-availability-state-fg" height="32px" borderRadius="5px" padding="4px 12px" borderWidth="1px" borderStyle="solid" borderColor="roadmap-card-border-color" bg="roadmap-card-tag-bg">{roadmapPost?.state}<Box display="inline-block" bg={roadmapPost?.state === "on testnet" ? "#00815C" : "#EF5600"} borderRadius="50%" width="14px" height="14px" ml="2"></Box></Text> : null}</div>
<div>{roadmapPost?.state ? <Text display="flex" alignItems="center" variant="cardBody" color="roadmap-availability-state-fg" height="32px" borderRadius="5px" padding="4px 12px" borderWidth="1px" borderStyle="solid" borderColor="roadmap-card-border-color" bg="roadmap-card-tag-bg">{roadmapPost?.state}<Box display="inline-block" bg={roadmapPost?.state === "On testnet" ? "#00815C" : "#EF5600"} borderRadius="50%" width="14px" height="14px" ml="2"></Box></Text> : null}</div>
</Flex>
<Divider mt="8px" mb="32px" />
<Flex direction="column" gap="32px">
Expand Down
1 change: 0 additions & 1 deletion src/components/Layout/Navbar/MenuItemWithDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ export const MenuItemWithDropdown = ({ children, label }: Props) => (
border={0}
px="24px"
pt="24px"
maxH="493px"
width="auto"

// maxW={{ base: "sm", md: "2xl" }}
Expand Down
4 changes: 2 additions & 2 deletions workspaces/cms-config/src/collections/roadmapPosts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ export const roadmapPostsCollectionConfig = {
label: "Availability state",
widget: "select",
options: [
"on testnet",
"testing now"
"On testnet",
"Testing now"
],
required: false,
},
Expand Down

2 comments on commit 9dde563

@vercel
Copy link

@vercel vercel bot commented on 9dde563 Jun 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

starknet-summit-website – ./workspaces/starknet-summit

summit23.starknet.io
starknet-summit-website-yuki-labs.vercel.app
starknet-summit-website-git-production-yuki-labs.vercel.app
starknet-summit-website.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 9dde563 Jun 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.