Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: tailwind to check entire src tree for clases #7

Merged
merged 5 commits into from
Oct 23, 2023
Merged
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
18 changes: 9 additions & 9 deletions src/app/docs/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ import Link from 'next/link'

export default function Docs () {
return (
<div className='flex flex-col justify-start items-center min-h-full w-full text-left text-white p-8'>
<h1 className='text-3xl mb-8 font-bold'>Welcome to the w3up web console beta!</h1>
<p className='mb-4 w-4/5'>
We`&apos;`re excited that you`&apos;`re using the w3up web console. This is a web-based interface
<div className='py-8 text-left text-white max-w-4xl font-mono mx-auto'>
<h1 className='text-2xl mb-8 font-bold'>Welcome to the w3up console</h1>
<p className='mb-4'>
This is a web-based interface
to <Link href='https://github.com/web3-storage/w3up'>w3up</Link>, designed to make it easy
for you to upload data to the Filecoin network.
</p>
<p className='mb-4 min-w-fit w-4/5'>
If you are a developer interested in integrating with w3up, please check out:
<p className='mb-4'>
If you are interested in integrating with w3up, please check out:
</p>
<ul className='mb-4 w-4/5 list-disc pl-8'>
<ul className='mb-4 list-disc pl-6'>
<li>
Our command line tool <Link href='https://github.com/web3-storage/w3cli#getting-started'>w3</Link>
</li>
Expand All @@ -23,9 +23,9 @@ export default function Docs () {
Our library of headless React, Vue and SolidJS widgets <Link href='https://beta.ui.web3.storage/'>w3ui</Link>
</li>
</ul>
<p className='mb-4 w-4/5'>
<p className='mb-4'>
Otherwise, visit the <Link href='https://github.com/web3-storage/w3up'>w3up</Link> repository
where you`&apos;`ll find documentation and source code for the w3up protocol. You may
for the documentation and source code for the w3up protocol. You may
also be interested in reading the <Link href='https://github.com/web3-storage/specs'>w3up specifications</Link> and
learning more about <Link href='https://github.com/web3-storage/w3infra'>the operational infrastructure code</Link> that
powers our implementation of w3up.
Expand Down
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default function RootLayout ({
}) {
return (
<html lang="en">
<body className='bg-gray-900 min-h-screen'>
<body className='bg-gray-dark min-h-screen'>
<SidebarLayout>
{children}
</SidebarLayout>
Expand Down
52 changes: 24 additions & 28 deletions src/app/terms/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<div className='flex flex-col justify-start items-center min-h-full w-full text-white p-8'>
<div className='flex flex-row gap-4'>
<h1 className='text-2xl my-4 font-bold'>
{serviceName} w3up beta Terms of Service
</h1>
</div>
<p className='my-2 w-4/5 leading-relaxed'>
{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 <Link href="https://github.com/web3-storage/w3up-client">w3up-client</Link>,{' '}
<Link href="https://github.com/web3-storage/w3ui">w3ui</Link>,{' '}
<Link href="https://github.com/web3-storage/w3cli">w3cli</Link>, and the{' '}
<Link href="https://github.com/web3-storage/w3protocol">underlying APIs and services</Link>{' '}
for uploading data (collectively, the “w3up beta”). By using the web3.storage{' '}
w3up beta, you consent to the general web3.storage <Link href={tosUrl}>Terms of Service</Link>.
</p>
<p className='my-2 w-4/5 leading-relaxed'>
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.
</p>
<p className='my-2 w-4/5 leading-relaxed'>
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 <Link href="https://web3.storage/pricing/">information on pricing</Link>. 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.
</p>
</div>
<div className='py-8 text-left text-white max-w-4xl font-mono mx-auto'>
<h1 className='text-2xl mb-8 font-bold'>Terms of Service</h1>
<p className='mb-4'>
{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 <Link href="https://github.com/web3-storage/w3up-client">w3up-client</Link>,{' '}
<Link href="https://github.com/web3-storage/w3ui">w3ui</Link>,{' '}
<Link href="https://github.com/web3-storage/w3cli">w3cli</Link>, and the{' '}
<Link href="https://github.com/web3-storage/w3protocol">underlying APIs and services</Link>{' '}
for uploading data (collectively, the “w3up beta”). By using the web3.storage{' '}
w3up beta, you consent to the general web3.storage <Link href={tosUrl}>Terms of Service</Link>.
</p>
<p className='mb-4'>
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.
</p>
<p className='mb-4'>
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 <Link href="https://web3.storage/pricing/">information on pricing</Link>. 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.
</p>
</div>
)
}
4 changes: 1 addition & 3 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
Loading