Skip to content

feat: revamp Enterprise page#15647

Merged
corwintines merged 48 commits into
stagingfrom
enterprise
Jun 18, 2025
Merged

feat: revamp Enterprise page#15647
corwintines merged 48 commits into
stagingfrom
enterprise

Conversation

@wackerow
Copy link
Copy Markdown
Member

@wackerow wackerow commented Jun 10, 2025

Description

  • Revamps /enterprise page per new designs
  • Updates existing markdown enterprise page to /enterprise/use-cases/, re-ordering sections and adding CTA buttons
  • SSR approach with loading elements for heavier client-side tasks

Preview link

https://deploy-preview-15647--ethereumorg.netlify.app/en/enterprise

Related Issue

@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 10, 2025

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit aa582d5
🔍 Latest deploy log https://app.netlify.com/projects/ethereumorg/deploys/6852fe5f5524250008303ba7
😎 Deploy Preview https://deploy-preview-15647--ethereumorg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
7 paths audited
Performance: 42 (🔴 down 13 from production)
Accessibility: 95 (🟢 up 1 from production)
Best Practices: 91 (🔴 down 8 from production)
SEO: 99 (no change from production)
PWA: 59 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added content 🖋️ This involves copy additions or edits tooling 🔧 Changes related to tooling of the project translation 🌍 This is related to our Translation Program labels Jun 10, 2025
@wackerow wackerow requested a review from minimalsm as a code owner June 12, 2025 16:37
@wackerow wackerow changed the title [wip] Enterprise page feat: Enterprise page Jun 12, 2025
@wackerow wackerow changed the title feat: Enterprise page feat: revamp Enterprise page Jun 12, 2025
wackerow added 3 commits June 12, 2025 10:28
Use client-side Translation component where htmr required due to html usage inside strings
@corwintines corwintines self-assigned this Jun 13, 2025
Comment thread app/[locale]/enterprise/page.tsx Outdated
Comment on lines +84 to +116
// TODO: Switch back to this for cache and mock-data dev fallback
// const loadData = dataLoader(
// [
// ["growThePieData", fetchGrowThePie],
// ["ethereumStablecoins", fetchEthereumStablecoinsMcap],
// ["ethPrice", fetchEthPrice],
// ["totalEthStaked", fetchTotalEthStaked],
// ],
// BASE_TIME_UNIT * 1000
// )

const Page = async ({ params }: { params: { locale: Lang } }) => {
const { locale } = params

const t = await getTranslations({ locale, namespace: "page-enterprise" })

// const [{ txCount }, stablecoinMarketCap, ethPrice, totalEthStaked] =
// await loadData()
const { txCount } = await fetchGrowThePie()
const stablecoinMarketCap = await fetchEthereumStablecoinsMcap()
const ethPrice = await fetchEthPrice()
const totalEthStaked = await fetchTotalEthStaked()

const metrics = await parseActivity(
{
txCount,
stablecoinMarketCap,
ethPrice,
totalEthStaked,
// totalCapitalSecured,
},
locale
)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Just checking if this TODO needs to be handled before merged

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

No, this was boilerplate for a "Total Value Secured" endpoint but we don't have one available just yet, so staked ETH is taking it's place for now.

corwintines
corwintines previously approved these changes Jun 18, 2025
@wackerow wackerow changed the base branch from dev to staging June 18, 2025 17:57
@wackerow wackerow dismissed corwintines’s stale review June 18, 2025 17:57

The base branch was changed.

@corwintines corwintines merged commit b42f636 into staging Jun 18, 2025
8 of 10 checks passed
@corwintines corwintines deleted the enterprise branch June 18, 2025 21:25
This was referenced Jun 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

content 🖋️ This involves copy additions or edits tooling 🔧 Changes related to tooling of the project translation 🌍 This is related to our Translation Program

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants