Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/BlogCategories.tsx
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/components/BlogSectionPreview.tsx
Original file line number Diff line number Diff line change
@@ -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'

Expand Down
9 changes: 2 additions & 7 deletions src/components/PragmaWatermark.tsx
Original file line number Diff line number Diff line change
@@ -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',
Expand Down Expand Up @@ -34,7 +29,7 @@ export const PragmaWatermark: React.FC = () => {
aria-hidden
>
<motion.aside style={{ y }}>
{labels.map((label, i) => (
{labels.map((label) => (
<Box
key={label}
fontFamily="mono"
Expand Down
53 changes: 30 additions & 23 deletions src/pages/about.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
import { Box, Flex, FlexProps, Text } from '@chakra-ui/react'
import { Hero, Link, PageMetadata, Section } from '@/components'
import {
CONTRIBUTE_PATH,
DOCS_URL,
FORUM_URL,
MAIN_CONTENT_ID,
} from '@/constants'
import { CONTRIBUTE_PATH, DOCS_URL, MAIN_CONTENT_ID } from '@/constants'

interface FaqItemProps extends FlexProps {
question: string
Expand Down Expand Up @@ -37,8 +32,9 @@ export default function About() {
{ name: 'Contribute', href: CONTRIBUTE_PATH },
]}
>
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.
</Hero>
<Section
as="article"
Expand All @@ -58,29 +54,40 @@ export default function About() {
<b>decentralized applications (DApps)</b>.
</Text>
<Text>
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.
</Text>
<Text>
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.
</Text>
<Text>
Solidity was publicly previewed for the first time in November 2014
at {' '}
<Link href="https://www.youtube.com/watch?v=DIqGDNPO5YM&feature=emb_title">Devcon0</Link>.
Versioning for Solidity was {' '}
<Link href="https://github.com/ethereum/solidity/commits/15dc5954c3a2e2a9ce96f2f77d41adef98a4cced">committed</Link>.
into the codebase on July 9, 2015, marking Solidity Version 0.0.1. However, v0.1.0
wasn&apos;t an actual release yet, and builds of it are not available anymore.
You can read more about Solidity&apos;s history in the 5 year celebration post from 2020 {' '}
<Link href="https://soliditylang.org/blog/2020/07/08/solidity-turns-5/">here</Link>.
at{' '}
<Link href="https://www.youtube.com/watch?v=DIqGDNPO5YM&feature=emb_title">
Devcon0
</Link>
. Versioning for Solidity was{' '}
<Link href="https://github.com/ethereum/solidity/commits/15dc5954c3a2e2a9ce96f2f77d41adef98a4cced">
committed
</Link>
. into the codebase on July 9, 2015, marking Solidity Version 0.0.1.
However, v0.1.0 wasn&apos;t an actual release yet, and builds of it
are not available anymore. You can read more about Solidity&apos;s
history in the 5 year celebration post from 2020{' '}
<Link href="https://soliditylang.org/blog/2020/07/08/solidity-turns-5/">
here
</Link>
.
</Text>
<Text>
The Solidity programming language is an <b>open-source</b>,
community project governed by a core team. Originally started within the Ethereum Foundation, the project is now part of the <Link href="https://argot.org/">Argot Collective</Link>.
community project governed by a core team. Originally started within
the Ethereum Foundation, the project is now part of the{' '}
<Link href="https://argot.org/">Argot Collective</Link>.
</Text>
</Section>
</Box>
Expand Down
49 changes: 25 additions & 24 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import {
ButtonLink,
CompilerPlayground,
ContributingCards,
EventCard,
EventPreview,
Hero,
Link,
Expand Down Expand Up @@ -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.
</Link>{' '}
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.
</Text>
</Box>
</Flex>
Expand All @@ -146,7 +148,11 @@ export default function Home({
</Link>
.
</Text>
<ButtonLink href="https://docs.soliditylang.org/en/latest/installing-solidity.html" variant="solid" mt={8}>
<ButtonLink
href="https://docs.soliditylang.org/en/latest/installing-solidity.html"
variant="solid"
mt={8}
>
Get started
</ButtonLink>
</ShowcaseContent>
Expand All @@ -160,9 +166,9 @@ export default function Home({
<ShowcaseSection startWithVisual px={0}>
<ShowcaseContent title="Contribute to Solidity">
<Text>
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.
</Text>
</ShowcaseContent>
<ShowcaseVisual>
Expand All @@ -184,26 +190,21 @@ export default function Home({
<ShowcaseSection px={0}>
<ShowcaseContent title="Stay Updated">
<Text>
Stay always up-to-date by following the {' '}
<Link
href="https://soliditylang.org/blog/"
fontWeight="bold"
>
Solidity blog
</Link>.
Stay always up-to-date by following the{' '}
<Link href="https://soliditylang.org/blog/" fontWeight="bold">
Solidity blog
</Link>
.
</Text>
<Text>
You can see the upcoming changes for the next breaking release
by switching from the default branch (<Code>develop</Code>) to
the <Code>breaking branch</Code>. You can actively shape
Solidity by providing your input and participating in the
language design in the {' '}
<Link
href="https://forum.soliditylang.org/"
fontWeight="bold"
>
Solidity forum
</Link>
language design in the{' '}
<Link href="https://forum.soliditylang.org/" fontWeight="bold">
Solidity forum
</Link>
and participating in the yearly Solidity developer surveys.
</Text>
</ShowcaseContent>
Expand Down Expand Up @@ -232,8 +233,8 @@ export default function Home({
<ShowcaseSection startWithVisual>
<ShowcaseContent title="Playground">
<Text>
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{' '}
<Link href="https://remix.ethereum.org">Remix</Link>.
</Text>
</ShowcaseContent>
Expand Down
11 changes: 1 addition & 10 deletions src/styles/MDStyles.tsx
Original file line number Diff line number Diff line change
@@ -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

Expand Down