Compare commits

..

No commits in common. "v0.2.4-develop.4" and "v0.2.4-develop.3" have entirely different histories.

18 changed files with 184 additions and 154 deletions

View File

@ -1,12 +1,3 @@
## [0.2.4-develop.4](https://git.lumeweb.com/LumeWeb/lumeweb.com/compare/v0.2.4-develop.3...v0.2.4-develop.4) (2023-08-14)
### Bug Fixes
* grid cell style closer to design by centering the text ([f3498ec](https://git.lumeweb.com/LumeWeb/lumeweb.com/commit/f3498ec536862017b6e3acf33d136c81aa550d33))
* gridcell style ([a1b998e](https://git.lumeweb.com/LumeWeb/lumeweb.com/commit/a1b998e4b941abf8557e08e8a3a1affb164cbf59))
* incorrect font choice on gridcell ([115090f](https://git.lumeweb.com/LumeWeb/lumeweb.com/commit/115090fc562798ac2ecbb271b6612c6a2c03d564))
## [0.2.4-develop.3](https://git.lumeweb.com/LumeWeb/lumeweb.com/compare/v0.2.4-develop.2...v0.2.4-develop.3) (2023-08-14) ## [0.2.4-develop.3](https://git.lumeweb.com/LumeWeb/lumeweb.com/compare/v0.2.4-develop.2...v0.2.4-develop.3) (2023-08-14)

4
npm-shrinkwrap.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "@lumeweb/lumeweb.com", "name": "@lumeweb/lumeweb.com",
"version": "0.2.4-develop.4", "version": "0.2.4-develop.3",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@lumeweb/lumeweb.com", "name": "@lumeweb/lumeweb.com",
"version": "0.2.4-develop.4", "version": "0.2.4-develop.3",
"dependencies": { "dependencies": {
"@astrojs/react": "^2.1.1", "@astrojs/react": "^2.1.1",
"@astrojs/tailwind": "^3.1.1", "@astrojs/tailwind": "^3.1.1",

View File

@ -1,7 +1,7 @@
{ {
"name": "@lumeweb/lumeweb.com", "name": "@lumeweb/lumeweb.com",
"type": "module", "type": "module",
"version": "0.2.4-develop.4", "version": "0.2.4-develop.3",
"private": true, "private": true,
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -1,6 +1,6 @@
--- ---
import GridCell from "../../ui/GridCell.astro"; // import "./Grid.scss";
import GridContainer from "../../ui/GridContainer.astro"; import GridCell from "./GridCell.astro";
const features = [ const features = [
{ {
@ -31,17 +31,18 @@ const features = [
]; ];
--- ---
<section id="grid" class="mx-10 md:mx-20 lg:mx-40"> <section
<GridContainer> id="grid"
<div class="w-[calc(33.33%-20px)] pl-12 pt-5 mx-[10px]"> class="flex flex-col md:mx-20 lg:mx-40 justify-between items-start gap-y-10 md:flex-row md:flex-wrap"
<h2 class="text-primary font-display text-4xl leading-[1.6] font-bold"> >
Freedom. <br /> Privacy. Ownership. <div class="w-[calc(33.33%-20px)] pl-12 pt-5 mx-[10px]">
</h2> <h2 class="text-primary font-display text-4xl leading-[1.6] font-bold">
</div> Freedom. <br /> Privacy. Ownership.
{ </h2>
features.map((feature) => ( </div>
<GridCell title={feature.title} description={feature.description} /> {
)) features.map((feature) => (
} <GridCell title={feature.title} description={feature.description} />
</GridContainer> ))
}
</section> </section>

View File

@ -7,10 +7,8 @@ export interface Props {
const { title, description } = Astro.props; const { title, description } = Astro.props;
--- ---
<div <div class="lg:w-[calc(33.33%-20px)] p-10 bg-black mx-[10px] space-y-5">
class="md:w-full h-full p-10 rounded-md bg-black mx-[10px] space-y-5 hover:ring-2 ring-primary transition-all flex flex-col justify-center" <h3 class="font-display text-xl md:text-2xl">
>
<h3 class="font-body text-xl md:text-3xl">
{title} {title}
</h3> </h3>
<p class="text-lg md:text-xl text-body font-body"> <p class="text-lg md:text-xl text-body font-body">

View File

@ -1,16 +1,12 @@
--- ---
import "../../../styles/jumbotron.scss";
import backgroundSrc from "/src/assets/vision-jumbotron-bg.png"; import backgroundSrc from "/src/assets/vision-jumbotron-bg.png";
--- ---
<section <section id="jumbotron" class="relative">
id="jumbotron"
class="relative w-full h-[420px] flex items-center justify-center"
>
<img <img
src={backgroundSrc.src} src={backgroundSrc.src}
class="-z-10 absolute top-[10px] left-1/2 -translate-x-1/2 w-[100em] max-w-none" class="-z-10 absolute left-1/2 -translate-x-1/2 w-[100em] max-w-none"
/> />
<h1 class="font-display2 text-4xl lg:text-5xl w-full text-center"> <h1 class="font-display2">Easy access to an open, user-owned web.</h1>
Easy access to an open, user-owned web.
</h1>
</section> </section>

View File

@ -4,7 +4,10 @@ import FeaturedGroup from "../../ui/FeaturedGroup.astro";
import background from "/src/assets/double-brand-bg.png"; import background from "/src/assets/double-brand-bg.png";
--- ---
<section id="no-vc" class="relative flex flex-row mx-10 md:mx-20 lg:mx-40"> <section
id="no-vc"
class="relative flex flex-row pb-40 mx-10 md:mx-20 lg:mx-40"
>
<img <img
src={background.src} src={background.src}
class="absolute top-0 right-0 md:static -mx-10 -md:mx-20 lg:-mx-40 w-[1000px] max-h-[650px]" class="absolute top-0 right-0 md:static -mx-10 -md:mx-20 lg:-mx-40 w-[1000px] max-h-[650px]"

View File

@ -1,38 +1,34 @@
--- ---
import FeaturedGroup from "../../ui/FeaturedGroup.astro"; import './Contribute.scss';
import mario from "/src/assets/mario-level-up.gif"; import mario from "/src/assets/mario-level-up.gif"
import background from "/src/assets/contribute-bg.png";
import Button from "../../ui/Button.astro";
--- ---
<section <section id="contribute">
id="contribute" <div class="feature-group">
class="py-10 px-10 md:px-20 lg:px-40 relative h-full pb-20 bg-opacity-70 bg-cover after:block after:absolute after:top-0 after:bottom-0 after:left-0 after:right-0 after:bg-black/70 after:z-0 after:pointer-events-none" <h2>Web3 is Community</h2>
style={{ <h3>Re-defining Web3, for the users</h3>
background: `url(${background.src})`, <p>
"background-size": "cover", Web3 was a term first defined by Gavin Wood when the Ethereum network was starting out. He defined it as a
}} "decentralized online ecosystem based on blockchain".
> </p>
<div class="z-10 relative max-w-3xl mt-16 space-y-10"> <p>
<FeaturedGroup However, we view it as much more than that, and definitely more than access to DeFi. We see a ton of more
subtitle="Re-defining Web3, for the users" potential to what Web3 as an ideal can evolve to, and are setting out to make it a reality.
title="Web3 is Community" </p>
text={[ <p>
`Web3 was a term first defined by Gavin Wood when the Ethereum network was To those that see Web3 as DeFi, we ask this: Do you go on your web browser to access TradingView or other market tools as your homepage, or do you go check your social media, email, and news sites, as <i>well</i> as your money?
starting out. He defined it as a "decentralized online ecosystem based on </p>
blockchain".`, <p>
`However, we view it as much more than that, and definitely more than Blockchain itself is more than just <i>money</i>, and so is Web3, and by extension P2P networks.
access to DeFi. We see a ton of more potential to what Web3 as an ideal </p>
can evolve to, and are setting out to make it a reality.`, <p>
`To those that see Web3 as DeFi, we ask this: Do you go on your web browser So help us in our goals to level-up Web3.
to access TradingView or other market tools as your homepage, or do you go </p>
check your social media, email, and news sites, as <i>well</i> as your money?`, <div class="mario">
`Blockchain itself is more than just <i>money</i>, and so is Web3, and by <img src={mario.src} alt="Mario Level Up"/>
extension P2P networks.`, </div>
`So help us in our goals to level-up Web3.`, <div>
]} <a href="/donate" class="btn-main">Donate</a>
/> </div>
<img src={mario.src} alt="Mario Level Up" /> </div>
<Button label="Donate" href="/donate" />
</div>
</section> </section>

View File

@ -0,0 +1,35 @@
@import "/src/styles/vars.scss";
#contribute {
position: relative;
display: flex;
align-items: center;
min-height: 71.1em;
background: $color-blue-charcoal;
&::before {
content: "";
position: absolute;
inset: 0;
background-image: url("/src/assets/contribute-bg.png");
background-position: 50%;
background-size: cover;
}
&::after {
content: "";
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.75);
}
.feature-group {
max-width: 72em;
margin: 9em 7.5%;
z-index: 1;
}
.mario {
margin-top: 2.5em;
}
}

View File

@ -1,42 +1,28 @@
--- ---
import GridCell from "../../ui/GridCell.astro"; import './Grid.scss';
import GridContainer from "../../ui/GridContainer.astro";
const features = [
{
title: "Access the markets, aka DeFi",
description:
"Web3 commonly get mixed up with DeFi, however, while you should be able to access any decentralized website or network, access to DeFi to manage your money is critical as well.",
},
{
title: "Access any decentralized or P2P network",
description:
"The basics of Web3 is the sum of all the open networks and ecosystems. You should be able to access and visit any of these places. You can compare this to accessing things on Google, Facebook, Apple, or other networks/platforms that are generally walled gardens in the current web system.",
},
{
title: "Publish Freely",
description:
'A core tenant of Web3 is censorship-resistance. You should be able to freely post controversial (or even things others just don\'t want to hear) information, such as news, blogging, or video. You should be allowed to openly debate, educate, inform, or entertain without getting "de-platformed".',
},
{
title: "Socialize and Discover Freely",
description:
"While you have the ability to post, you should also have the ability to read.",
},
{
title: "Own your web. Own your identity.",
description:
"You should be able to have your private data be and stay private unless you choose otherwise. This is achieved with your online web3 account, which serves as your identity and means of encrypting everything you do. If you want to share you can, but your data is yours, no one else's.",
},
];
--- ---
<section id="grid" class="mx-10 md:mx-20 lg:mx-40"> <section id="grid" class="feature-grid">
<GridContainer> <div>
{ <h3>Access the markets, aka DeFi</h3>
features.map((feature) => ( <p>Web3 commonly get mixed up with DeFi, however, while you should be able to access any decentralized website or network, access to DeFi to manage your money is critical as well.</p>
<GridCell description={feature.description} title={feature.title} /> </div>
)) <div>
} <h3>Access any decentralized or P2P network</h3>
</GridContainer> <p>The basics of Web3 is the sum of all the open networks and ecosystems. You should be able to access and visit any of these places.</p>
<p>You can compare this to accessing things on Google, Facebook, Apple, or other networks/platforms that are generally walled gardens in the current web system.</p>
</div>
<div>
<h3>Publish Freely</h3>
<p>A core tenant of Web3 is censorship-resistance. You should be able to freely post controversial (or even things others just don't want to hear) information, such as news, blogging, or video. You should be allowed to openly debate, educate, inform, or entertain without getting "de-platformed".</p>
</div>
<div>
<h3>Socialize and Discover Freely</h3>
<p>While you have the ability to post, you should <i>also</i> have the ability to <i>read</i>.</p>
</div>
<div>
<h3>Own your web. Own your identity.</h3>
<p>You should be able to have your private data <b>be</b> and <b>stay</b> private unless you choose otherwise. This is achieved with your online web3 account, which serves as your identity and means of encrypting everything you do.</p>
<p>If you want to share you can, but your data is yours, no one else's.</p>
</div>
</section> </section>

View File

@ -0,0 +1,3 @@
#grid {
margin-bottom: 1.2em;
}

View File

@ -1,17 +1,9 @@
--- ---
import backgroundSrc from "/src/assets/whatsweb3-jumbotron-bg.png"; import '../../../styles/jumbotron.scss';
--- ---
<section <section id="jumbotron">
id="jumbotron" <h1>
class="relative w-full h-[420px] flex items-center justify-center" An evolved, user-owned web where you have access to the world in a way only you control.
>
<img
src={backgroundSrc.src}
class="-z-10 absolute top-[50px] left-1/2 -translate-x-1/2 w-[100em] max-w-none"
/>
<h1 class="font-display2 text-4xl lg:text-5xl w-full max-w-5xl text-center">
An evolved, user-owned web where you have access to the world in a way only
you control.
</h1> </h1>
</section> </section>

View File

@ -1,19 +1,16 @@
--- ---
import FeaturedGroup from "../../ui/FeaturedGroup.astro"; import './NewWorld.scss';
import backgroundSrc from "/src/assets/new-world-bg.png";
--- ---
<section id="new-world" class="mx-10 md:mx-20 lg:mx-40 relative h-[850px]"> <section id="new-world">
<div class="-z-10 absolute top-0 right-0 bottom-0 w-[1500px] -mx-40 h-full"> <div>
<img class="object-cover w-full max-w-none" src={backgroundSrc.src} /> <div class="feature-group">
</div> <h2>Community-Powered</h2>
<div class="float-right max-w-3xl mt-[25%]"> <h3>Your Web, Your Rules</h3>
<FeaturedGroup <p>
subtitle="Your Web, Your Rules" In summary, Web3 is about what you want to do, post, read, play, chat, or interact without others saying
title="Community-Powered" otherwise. It is about freedom of speech <i>and</i> freedom of economy.
text={[ </p>
"In summary, Web3 is about what you want to do, post, read, play, chat, or interact without others saying otherwise. It is about freedom of speech <i>and</i> freedom of economy.", </div>
]} </div>
/>
</div>
</section> </section>

View File

@ -0,0 +1,28 @@
@import "/src/styles/vars.scss";
#new-world {
> div {
position: relative;
display: flex;
justify-content: flex-end;
align-items: center;
max-width: 185.6em;
min-height: 75em;
margin: 0 auto;
&::before {
content: "";
position: absolute;
inset: 0;
background-image: url("/src/assets/new-world-bg.png");
background-position: 50%;
background-size: cover;
z-index: -1;
}
}
.feature-group {
max-width: 64em;
margin: 9em 7.5%;
}
}

View File

@ -1,5 +0,0 @@
<div
class="flex flex-col justify-between items-start gap-y-10 md:grid md:grid-cols-3 md:gap-x-10 md:gap-y-10"
>
<slot />
</div>

View File

@ -51,7 +51,7 @@ const { view, title } = Astro.props;
</head> </head>
<body class="max-w-[1600px] mx-auto"> <body class="max-w-[1600px] mx-auto">
<Navbar view={view} /> <Navbar view={view} />
<main class={view + " space-y-40 overflow-x-hidden relative mb-20"}> <main class={view + " space-y-40 overflow-x-hidden relative "}>
<slot /> <slot />
</main> </main>
{view !== "home" && <JoinCommunity />} {view !== "home" && <JoinCommunity />}

View File

@ -248,6 +248,21 @@ a, button {
} }
} }
main.what {
&::before {
content: "";
position: absolute;
top: -2em;
left: 50%;
width: 151.3em;
height: 122.4em;
background: url("/src/assets/what-bg.png");
background-size: contain;
transform: translate(-50%, 0);
z-index: -1;
}
}
main.donate { main.donate {
&::before { &::before {
content: ""; content: "";

View File

@ -1,24 +1,18 @@
/** @type {import('tailwindcss').Config} */ /** @type {import('tailwindcss').Config} */
module.exports = { module.exports = {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'], content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
variants: {
extend: {
boxShadow: ['active']
}
},
theme: { theme: {
extend: { extend: {
colors: { colors: {
primary: 'var(--color-aquamarine)', primary: 'var(--color-aquamarine)',
"dark-aquamarine": 'var(--color-dark-aquamarine)', "dark-aquamarine": 'var(--color-dark-aquamarine)',
body: 'var(--color-gray)', body: 'var(--color-gray)',
"gradient-aqua": "linear-gradient(to right, var(--color-dark-aquamarine), var(--color-aquamarine))", },
}
}, },
fontFamily: { fontFamily: {
'body': '"Jaldi", sans-serif', 'body': '"Jaldi", sans-serif',
'display': '"JetBrains Mono", monospace', 'display': '"JetBrains Mono", monospace',
'display2': '"IBM Plex Sans Devanagari", monospace', 'display2': '"IBM Plex Sans Devanagari", monospace',
}, }
}, }
} }