From d8636b2b490bd56077f80c567bbb3252af44c9bb Mon Sep 17 00:00:00 2001 From: Oli Evans Date: Mon, 23 Oct 2023 15:12:03 +0100 Subject: [PATCH 1/5] fix: tailwind to check entire src tree for clases check all of `src/**` for tailwind classes fixes: https://github.com/web3-storage/console/issues/6 License: MIT Signed-off-by: Oli Evans --- tailwind.config.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tailwind.config.ts b/tailwind.config.ts index 92f867e..1c98570 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -2,9 +2,7 @@ import type { Config } from 'tailwindcss' const config: Config = { content: [ - './src/pages/**/*.{js,ts,jsx,tsx,mdx}', - './src/components/**/*.{js,ts,jsx,tsx,mdx}', - './src/app/**/*.{js,ts,jsx,tsx,mdx}', + './src/**/*.{js,ts,jsx,tsx,mdx}', ], theme: { extend: { From 6f154695fc2c804860924b5896cefa7453cbcb62 Mon Sep 17 00:00:00 2001 From: Oli Evans Date: Mon, 23 Oct 2023 15:56:22 +0100 Subject: [PATCH 2/5] fix: background color for main content License: MIT Signed-off-by: Oli Evans --- src/app/layout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 5f302bc..89a692e 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -14,7 +14,7 @@ export default function RootLayout ({ }) { return ( - + {children} From 057fc68e47acf225713c4bc88fe27fd21f11c745 Mon Sep 17 00:00:00 2001 From: Oli Evans Date: Mon, 23 Oct 2023 16:00:30 +0100 Subject: [PATCH 3/5] fix: just use ' not `&apos` License: MIT Signed-off-by: Oli Evans --- src/app/docs/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/docs/page.tsx b/src/app/docs/page.tsx index 36e1fde..4ad876d 100644 --- a/src/app/docs/page.tsx +++ b/src/app/docs/page.tsx @@ -5,7 +5,7 @@ export default function Docs () {

Welcome to the w3up web console beta!

- We`'`re excited that you`'`re using the w3up web console. This is a web-based interface + We're excited that you're using the w3up web console. This is a web-based interface to w3up, designed to make it easy for you to upload data to the Filecoin network.

@@ -25,7 +25,7 @@ export default function Docs () {

Otherwise, visit the w3up repository - where you`'`ll find documentation and source code for the w3up protocol. You may + where you'll find documentation and source code for the w3up protocol. You may also be interested in reading the w3up specifications and learning more about the operational infrastructure code that powers our implementation of w3up. From c3aaab5cdbf3df33dd45ff2174e9d91392c8c15a Mon Sep 17 00:00:00 2001 From: Oli Evans Date: Mon, 23 Oct 2023 16:28:57 +0100 Subject: [PATCH 4/5] chore: sidestep linter License: MIT Signed-off-by: Oli Evans --- src/app/docs/page.tsx | 58 ++++++++++++++++++++++--------------------- 1 file changed, 30 insertions(+), 28 deletions(-) diff --git a/src/app/docs/page.tsx b/src/app/docs/page.tsx index 4ad876d..d52ef3f 100644 --- a/src/app/docs/page.tsx +++ b/src/app/docs/page.tsx @@ -2,34 +2,36 @@ import Link from 'next/link' export default function Docs () { return ( -

-

Welcome to the w3up web console beta!

-

- We're excited that you're using the w3up web console. This is a web-based interface - to w3up, designed to make it easy - for you to upload data to the Filecoin network. -

-

- If you are a developer interested in integrating with w3up, please check out: -

-
    -
  • - Our command line tool w3 -
  • -
  • - Our JavaScript library w3up-client -
  • -
  • - Our library of headless React, Vue and SolidJS widgets w3ui -
  • -
-

- Otherwise, visit the w3up repository - where you'll find documentation and source code for the w3up protocol. You may - also be interested in reading the w3up specifications and - learning more about the operational infrastructure code that - powers our implementation of w3up. -

+
+
+

Welcome to the w3up console

+

+ This is a web-based interface + to w3up, designed to make it easy + for you to upload data to the Filecoin network. +

+

+ If you are interested in integrating with w3up, please check out: +

+
    +
  • + Our command line tool w3 +
  • +
  • + Our JavaScript library w3up-client +
  • +
  • + Our library of headless React, Vue and SolidJS widgets w3ui +
  • +
+

+ Otherwise, visit the w3up repository + for the documentation and source code for the w3up protocol. You may + also be interested in reading the w3up specifications and + learning more about the operational infrastructure code that + powers our implementation of w3up. +

+
) } \ No newline at end of file From 5cce77f2378080f9263c16a5c71940424ce14cd6 Mon Sep 17 00:00:00 2001 From: Oli Evans Date: Mon, 23 Oct 2023 20:14:54 +0100 Subject: [PATCH 5/5] chore: fix docs and terms License: MIT Signed-off-by: Oli Evans --- src/app/docs/page.tsx | 58 ++++++++++++++++++++---------------------- src/app/terms/page.tsx | 52 +++++++++++++++++-------------------- 2 files changed, 52 insertions(+), 58 deletions(-) diff --git a/src/app/docs/page.tsx b/src/app/docs/page.tsx index d52ef3f..87598a9 100644 --- a/src/app/docs/page.tsx +++ b/src/app/docs/page.tsx @@ -2,36 +2,34 @@ import Link from 'next/link' export default function Docs () { return ( -
-
-

Welcome to the w3up console

-

- This is a web-based interface - to w3up, designed to make it easy - for you to upload data to the Filecoin network. -

-

- If you are interested in integrating with w3up, please check out: -

-
    -
  • - Our command line tool w3 -
  • -
  • - Our JavaScript library w3up-client -
  • -
  • - Our library of headless React, Vue and SolidJS widgets w3ui -
  • -
-

- Otherwise, visit the w3up repository - for the documentation and source code for the w3up protocol. You may - also be interested in reading the w3up specifications and - learning more about the operational infrastructure code that - powers our implementation of w3up. -

-
+
+

Welcome to the w3up console

+

+ This is a web-based interface + to w3up, designed to make it easy + for you to upload data to the Filecoin network. +

+

+ If you are interested in integrating with w3up, please check out: +

+
    +
  • + Our command line tool w3 +
  • +
  • + Our JavaScript library w3up-client +
  • +
  • + Our library of headless React, Vue and SolidJS widgets w3ui +
  • +
+

+ Otherwise, visit the w3up repository + for the documentation and source code for the w3up protocol. You may + also be interested in reading the w3up specifications and + learning more about the operational infrastructure code that + powers our implementation of w3up. +

) } \ No newline at end of file diff --git a/src/app/terms/page.tsx b/src/app/terms/page.tsx index 60f9b55..04e21f1 100644 --- a/src/app/terms/page.tsx +++ b/src/app/terms/page.tsx @@ -4,33 +4,29 @@ import Link from 'next/link' export default function Terms () { const serviceName = process.env.NEXT_PUBLIC_W3UP_SERVICE_BRAND_NAME || 'dev.web3.storage' return ( -
-
-

- {serviceName} w3up beta Terms of Service -

-
-

- {serviceName} w3up is currently a beta preview feature for web3.storage, - and will eventually be used as the primary upload API for web3.storage.{' '} - This includes w3up-client,{' '} - w3ui,{' '} - w3cli, and the{' '} - underlying APIs and services{' '} - for uploading data (collectively, the “w3up beta”). By using the web3.storage{' '} - w3up beta, you consent to the general web3.storage Terms of Service. -

-

- In order to register for the web3.storage w3up beta, you will be required to provide and verify an - email address, which will be permanently associated with your web3.storage w3up account and cannot be - changed, even at the end of the beta period. -

-

- Registering for and uploading data to the web3.storage w3up beta is currently free. However, at the - end of the beta period, you will be required to pay for usage over the Free tier limit of 5GB. - Please refer to the web3.storage website for information on pricing. If you exceed - the Free Tier data limits of web3.storage and do not intend to pay, please do not use the w3up beta for long-term storage. -

-
+
+

Terms of Service

+

+ {serviceName} w3up is currently a beta preview feature for web3.storage, + and will eventually be used as the primary upload API for web3.storage.{' '} + This includes w3up-client,{' '} + w3ui,{' '} + w3cli, and the{' '} + underlying APIs and services{' '} + for uploading data (collectively, the “w3up beta”). By using the web3.storage{' '} + w3up beta, you consent to the general web3.storage Terms of Service. +

+

+ In order to register for the web3.storage w3up beta, you will be required to provide and verify an + email address, which will be permanently associated with your web3.storage w3up account and cannot be + changed, even at the end of the beta period. +

+

+ Registering for and uploading data to the web3.storage w3up beta is currently free. However, at the + end of the beta period, you will be required to pay for usage over the Free tier limit of 5GB. + Please refer to the web3.storage website for information on pricing. If you exceed + the Free Tier data limits of web3.storage and do not intend to pay, please do not use the w3up beta for long-term storage. +

+
) }