-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
72230cd
commit 16fb8b1
Showing
2 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
const events = [ | ||
{ | ||
date: 'Released', | ||
title: 'Solidity Basic Features', | ||
description: | ||
'Get access to syntax highlighting, linting, formatting, references, testing with Foundry, gas estimation, deploying and interacting with contracts and scripts, Foundry compiler integration, and static security analysis with Slither, all in one place.', | ||
}, | ||
{ | ||
date: 'Q2 2024', | ||
title: 'Massa Features', | ||
description: | ||
'Start a node and deploy a contract on the Massa network locally with gas estimation.', | ||
}, | ||
{ | ||
date: 'Q3 2024', | ||
title: 'Solidity Debugger', | ||
description: | ||
'With a debugger, our extension will completely support Solidity development.', | ||
}, | ||
] | ||
|
||
function Event({ | ||
date, | ||
title, | ||
description, | ||
}: { | ||
date: string | ||
title: string | ||
description: string | ||
}) { | ||
return ( | ||
<li className="mb-10 ms-4"> | ||
<div className="absolute -start-1.5 mt-1.5 h-3 w-3 rounded-full border border-white bg-gray-200 dark:border-gray-900 dark:bg-gray-700"></div> | ||
<time className="mb-1 text-sm font-normal leading-none text-gray-400 dark:text-gray-500"> | ||
{date} | ||
</time> | ||
<h3 className="text-2xl font-semibold text-gray-900 dark:text-white"> | ||
{title} | ||
</h3> | ||
<p className="mb-4 w-60 text-xl font-normal text-gray-500 dark:text-gray-400 sm:w-[500px] md:w-[600px] xl:w-[800px]"> | ||
{description} | ||
</p> | ||
</li> | ||
) | ||
} | ||
|
||
export default function Timeline() { | ||
return ( | ||
<section className="flex w-full items-center justify-center px-36"> | ||
<ol className="relative border-s border-gray-200 dark:border-gray-700"> | ||
{events.map((event) => ( | ||
<Event | ||
date={event.date} | ||
title={event.title} | ||
description={event.description} | ||
key={event.title} | ||
/> | ||
))} | ||
</ol> | ||
</section> | ||
) | ||
} |