diff --git a/src/components/BlogCategories.tsx b/src/components/BlogCategories.tsx index feb97037..0ef657b0 100644 --- a/src/components/BlogCategories.tsx +++ b/src/components/BlogCategories.tsx @@ -1,6 +1,6 @@ import { CategoryPill } from '@/components' import { CATEGORIES_PATH_MAP } from '@/constants' -import type { Category, CategoryUrl } from '@/interfaces' +import type { Category } from '@/interfaces' import { Flex, type FlexProps } from '@chakra-ui/react' const categories: string[] = Object.keys(CATEGORIES_PATH_MAP) diff --git a/src/components/BlogSectionPreview.tsx b/src/components/BlogSectionPreview.tsx index 2750a489..64d8d5be 100644 --- a/src/components/BlogSectionPreview.tsx +++ b/src/components/BlogSectionPreview.tsx @@ -1,4 +1,4 @@ -import { Grid, Text } from '@chakra-ui/react' +import { Grid } from '@chakra-ui/react' import { BlogCard } from '@/components' import type { BlogPostProps } from '@/interfaces' diff --git a/src/components/PragmaWatermark.tsx b/src/components/PragmaWatermark.tsx index 49625d6b..438a0b6a 100644 --- a/src/components/PragmaWatermark.tsx +++ b/src/components/PragmaWatermark.tsx @@ -1,10 +1,5 @@ import { Box } from '@chakra-ui/react' -import { - motion, - useTransform, - useScroll, - isValidMotionProp, -} from 'framer-motion' +import { motion, useTransform, useScroll } from 'framer-motion' const labels = [ 'pragma', @@ -34,7 +29,7 @@ export const PragmaWatermark: React.FC = () => { aria-hidden > - {labels.map((label, i) => ( + {labels.map((label) => ( - Solidity is a statically-typed curly-braces programming language designed for developing - smart contracts that run on the Ethereum Virtual Machine. + Solidity is a statically-typed curly-braces programming language + designed for developing smart contracts that run on the Ethereum + Virtual Machine.
decentralized applications (DApps). - Smart contracts are programs that are executed inside a peer-to-peer network - where nobody has special authority over the execution, and thus they - allow to implement tokens of value, ownership, voting and other kinds of logics. + Smart contracts are programs that are executed inside a peer-to-peer + network where nobody has special authority over the execution, and + thus they allow to implement tokens of value, ownership, voting and + other kinds of logics. - Note that when deploying contracts, you should use the latest released version - of Solidity. This is because breaking changes as well as new features and - bug fixes are introduced regularly. + Note that when deploying contracts, you should use the latest + released version of Solidity. This is because breaking changes as + well as new features and bug fixes are introduced regularly. Solidity was publicly previewed for the first time in November 2014 - at {' '} - Devcon0. - Versioning for Solidity was {' '} - committed. - into the codebase on July 9, 2015, marking Solidity Version 0.0.1. However, v0.1.0 - wasn't an actual release yet, and builds of it are not available anymore. - You can read more about Solidity's history in the 5 year celebration post from 2020 {' '} - here. + at{' '} + + Devcon0 + + . Versioning for Solidity was{' '} + + committed + + . into the codebase on July 9, 2015, marking Solidity Version 0.0.1. + However, v0.1.0 wasn't an actual release yet, and builds of it + are not available anymore. You can read more about Solidity's + history in the 5 year celebration post from 2020{' '} + + here + + . The Solidity programming language is an open-source, - community project governed by a core team. Originally started within the Ethereum Foundation, the project is now part of the Argot Collective. + community project governed by a core team. Originally started within + the Ethereum Foundation, the project is now part of the{' '} + Argot Collective.
diff --git a/src/pages/index.tsx b/src/pages/index.tsx index af118873..3be6fd90 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -6,7 +6,6 @@ import { ButtonLink, CompilerPlayground, ContributingCards, - EventCard, EventPreview, Hero, Link, @@ -118,10 +117,13 @@ export default function Home({ href="/blog/2025/12/18/solidity-0.8.32-0.8.33-release-announcement/" fontWeight="bold" > - We just released the Solidity Compiler v0.8.33. + We just released the Solidity Compiler v0.8.33. {' '} - This hotfix release addresses an internal compiler error introduced in v0.8.32, which fixed a long-standing bug affecting array operations at - the storage boundary and added support for emitting events and reverting with errors namespaced using modules. + This hotfix release addresses an internal compiler error + introduced in v0.8.32, which fixed a long-standing bug + affecting array operations at the storage boundary and added + support for emitting events and reverting with errors + namespaced using modules. @@ -146,7 +148,11 @@ export default function Home({ . - + Get started @@ -160,9 +166,9 @@ export default function Home({ - Solidity continues to improve with help from our global community. - Check out these ways to get involved and contribute to the - Solidity project. + Solidity continues to improve with help from our global + community. Check out these ways to get involved and contribute + to the Solidity project. @@ -184,26 +190,21 @@ export default function Home({ - Stay always up-to-date by following the {' '} - - Solidity blog - . + Stay always up-to-date by following the{' '} + + Solidity blog + + . You can see the upcoming changes for the next breaking release by switching from the default branch (develop) to the breaking branch. You can actively shape Solidity by providing your input and participating in the - language design in the {' '} - - Solidity forum - + language design in the{' '} + + Solidity forum + and participating in the yearly Solidity developer surveys. @@ -232,8 +233,8 @@ export default function Home({ - Try Solidity for yourself in this simple compiler. For a more fully - featured browser-based IDE, try using{' '} + Try Solidity for yourself in this simple compiler. For a more + fully featured browser-based IDE, try using{' '} Remix. diff --git a/src/styles/MDStyles.tsx b/src/styles/MDStyles.tsx index f5475776..11177d2b 100644 --- a/src/styles/MDStyles.tsx +++ b/src/styles/MDStyles.tsx @@ -1,13 +1,4 @@ -import { - Box, - Divider, - Flex, - Heading, - Image, - Stack, - Table, - Text, -} from '@chakra-ui/react' +import { Divider, Heading, Image, Stack, Text } from '@chakra-ui/react' import { Code, Link } from '@/components' // TODO: Debug tables