From 011f04f33b39d990ecb89ffdd034597b8948ead8 Mon Sep 17 00:00:00 2001 From: sfaber34 Date: Thu, 31 Oct 2024 11:09:35 -0600 Subject: [PATCH 1/3] Added the shorter one liner, adjusted sections so they correctly move down under large breakpoint, made large breakpoint width == 1145 px so that one liner text doesn't ever wrap to 2 lines --- packages/nextjs/app/page.tsx | 27 ++++++++++++++------------- packages/nextjs/tailwind.config.js | 3 +++ 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/packages/nextjs/app/page.tsx b/packages/nextjs/app/page.tsx index 981b92d..795ff0a 100644 --- a/packages/nextjs/app/page.tsx +++ b/packages/nextjs/app/page.tsx @@ -35,16 +35,14 @@ const Home: NextPage = () => { return (
{/* First row */} -
+
{/* Introduction section */} -
+

Run an Ethereum node with a single command:

Mac/linux

-

- /bin/bash -c "$(curl -fsSL https://client.buidlguidl.com/runBuidlGuidlClient.sh)" -

+

/bin/bash -c "$(curl -fsSL https://bgclient.io)"

or run the client from the repo:

@@ -56,15 +54,18 @@ const Home: NextPage = () => {
- {/* Screenshot section */} -
- screenshot -
+ {/* Second row for mobile - flex row to make sections share the row */} +
+ {/* Screenshot section */} +
+ screenshot +
- {/* Satellite section */} -
- satellite -
+ {/* Satellite section */} +
+ satellite +
+
{/* Second row */} diff --git a/packages/nextjs/tailwind.config.js b/packages/nextjs/tailwind.config.js index fa7310d..1eabed5 100644 --- a/packages/nextjs/tailwind.config.js +++ b/packages/nextjs/tailwind.config.js @@ -84,6 +84,9 @@ module.exports = { "pulse-fast": "pulse 1.5s cubic-bezier(.57,.21,.69,1.25) infinite", "animate-ping": "ping 1s ease-in-out infinite", }, + screens: { + lg: "1145px", + }, }, }, }; From eb2097a4abc048fe204bf8c337928986bc1ad64b Mon Sep 17 00:00:00 2001 From: sfaber34 Date: Thu, 31 Oct 2024 11:14:00 -0600 Subject: [PATCH 2/3] Made Useful links open in new tab --- packages/nextjs/app/page.tsx | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/packages/nextjs/app/page.tsx b/packages/nextjs/app/page.tsx index 795ff0a..435db9a 100644 --- a/packages/nextjs/app/page.tsx +++ b/packages/nextjs/app/page.tsx @@ -113,12 +113,22 @@ const Home: NextPage = () => {

Useful links | Docs

  • - + On how to select hardware
  • - + All about how to buy the correct drive
  • From b48001f34599543257b48ae163e27f88bb772da7 Mon Sep 17 00:00:00 2001 From: sfaber34 Date: Thu, 31 Oct 2024 11:18:51 -0600 Subject: [PATCH 3/3] Reverted back to opening links in same tab (can't figure out how to disable the blue loading bar. hate it) --- packages/nextjs/app/page.tsx | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/packages/nextjs/app/page.tsx b/packages/nextjs/app/page.tsx index 435db9a..795ff0a 100644 --- a/packages/nextjs/app/page.tsx +++ b/packages/nextjs/app/page.tsx @@ -113,22 +113,12 @@ const Home: NextPage = () => {

    Useful links | Docs