initial
73
LICENSE
|
@ -1,73 +0,0 @@
|
|||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
|
@ -1,2 +0,0 @@
|
|||
# lumeweb.com
|
||||
|
47
README.md
|
@ -1,2 +1,47 @@
|
|||
# lumeweb.com
|
||||
# Astro Starter Kit: Minimal
|
||||
|
||||
```
|
||||
npm create astro@latest -- --template minimal
|
||||
```
|
||||
|
||||
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/minimal)
|
||||
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/minimal)
|
||||
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/minimal/devcontainer.json)
|
||||
|
||||
> 🧑🚀 **Seasoned astronaut?** Delete this file. Have fun!
|
||||
|
||||
## 🚀 Project Structure
|
||||
|
||||
Inside of your Astro project, you'll see the following folders and files:
|
||||
|
||||
```
|
||||
/
|
||||
├── public/
|
||||
├── src/
|
||||
│ └── pages/
|
||||
│ └── index.astro
|
||||
└── package.json
|
||||
```
|
||||
|
||||
Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name.
|
||||
|
||||
There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.
|
||||
|
||||
Any static assets, like images, can be placed in the `public/` directory.
|
||||
|
||||
## 🧞 Commands
|
||||
|
||||
All commands are run from the root of the project, from a terminal:
|
||||
|
||||
| Command | Action |
|
||||
| :------------------------ | :----------------------------------------------- |
|
||||
| `npm install` | Installs dependencies |
|
||||
| `npm run dev` | Starts local dev server at `localhost:3000` |
|
||||
| `npm run build` | Build your production site to `./dist/` |
|
||||
| `npm run preview` | Preview your build locally, before deploying |
|
||||
| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` |
|
||||
| `npm run astro -- --help` | Get help using the Astro CLI |
|
||||
|
||||
## 👀 Want to learn more?
|
||||
|
||||
Feel free to check [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat).
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
import { defineConfig } from 'astro/config';
|
||||
import tailwind from "@astrojs/tailwind";
|
||||
|
||||
import image from "@astrojs/image";
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
integrations: [tailwind(), image()]
|
||||
});
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"name": "lume-web",
|
||||
"type": "module",
|
||||
"version": "0.0.1",
|
||||
"scripts": {
|
||||
"dev": "astro dev",
|
||||
"start": "astro dev",
|
||||
"build": "astro build",
|
||||
"preview": "astro preview",
|
||||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/image": "^0.16.6",
|
||||
"@astrojs/react": "^2.1.1",
|
||||
"@astrojs/tailwind": "^3.1.1",
|
||||
"astro": "^2.3.2",
|
||||
"astro-icon": "^0.8.0",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"tailwindcss": "^3.3.2",
|
||||
"typewriter-effect": "^2.19.0"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 128 128">
|
||||
<path d="M50.4 78.5a75.1 75.1 0 0 0-28.5 6.9l24.2-65.7c.7-2 1.9-3.2 3.4-3.2h29c1.5 0 2.7 1.2 3.4 3.2l24.2 65.7s-11.6-7-28.5-7L67 45.5c-.4-1.7-1.6-2.8-2.9-2.8-1.3 0-2.5 1.1-2.9 2.7L50.4 78.5Zm-1.1 28.2Zm-4.2-20.2c-2 6.6-.6 15.8 4.2 20.2a17.5 17.5 0 0 1 .2-.7 5.5 5.5 0 0 1 5.7-4.5c2.8.1 4.3 1.5 4.7 4.7.2 1.1.2 2.3.2 3.5v.4c0 2.7.7 5.2 2.2 7.4a13 13 0 0 0 5.7 4.9v-.3l-.2-.3c-1.8-5.6-.5-9.5 4.4-12.8l1.5-1a73 73 0 0 0 3.2-2.2 16 16 0 0 0 6.8-11.4c.3-2 .1-4-.6-6l-.8.6-1.6 1a37 37 0 0 1-22.4 2.7c-5-.7-9.7-2-13.2-6.2Z" />
|
||||
<style>
|
||||
path { fill: #000; }
|
||||
@media (prefers-color-scheme: dark) {
|
||||
path { fill: #FFF; }
|
||||
}
|
||||
</style>
|
||||
</svg>
|
After Width: | Height: | Size: 749 B |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 968 B |
After Width: | Height: | Size: 202 B |
After Width: | Height: | Size: 434 B |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 31 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 73 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1014 B |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 327 KiB |
|
@ -0,0 +1,54 @@
|
|||
---
|
||||
import React, { useState } from "react";
|
||||
import react from "@astrojs/react";
|
||||
import { Icon } from "astro-icon";
|
||||
|
||||
import "./NavbarStyles.css";
|
||||
|
||||
function Navbar() {
|
||||
const [isOpen, setOpen] = useState(false);
|
||||
const [nav, setNav] = useState(false);
|
||||
const toggleNav = () => setNav(!nav);
|
||||
const toggleHam = () => setOpen(!isOpen);
|
||||
}
|
||||
---
|
||||
|
||||
<div class="navbar">
|
||||
<div class="logo"></div>
|
||||
<ul class="nav-menu">
|
||||
<li><a href="home">Home</a></li>
|
||||
<li><a href="vision">Vision</a></li>
|
||||
<li><a href="w3">What is Web3</a></li>
|
||||
<li>Donate</li>
|
||||
<div class="download-btn-container">
|
||||
<a class="download-btn" href="#">Download Extension</a>
|
||||
</div>
|
||||
</ul>
|
||||
|
||||
<div class="hamburger" onclick="toggleNav()">
|
||||
<Icon pack="mdi" name="hamburger" toggled="isOpen" toggle="setOpen" />
|
||||
</div>
|
||||
<div class="mobile-menu">
|
||||
<ul class="mobile-nav" onclick="toggleHam()">
|
||||
<li onclick="toggleNav()">
|
||||
<a href="#" onclick="toggleHam()">Home</a>
|
||||
</li>
|
||||
<li onclick="toggleNav()">
|
||||
<a href="#vision" title="Vision" onclick="toggleHam()">Vision</a
|
||||
>
|
||||
</li>
|
||||
<li onclick="toggleNav()">
|
||||
<a href="#whatisweb3" title="What is Web3" onclick="toggleHam()"
|
||||
>What is Web3</a
|
||||
>
|
||||
</li>
|
||||
<li onclick="toggleNav()">
|
||||
<a href="#donate" onclick="toggleHam()">Donate</a>
|
||||
</li>
|
||||
<div class="download-btn-container">
|
||||
<a class="download-btn" href="#">Download Extension</a>
|
||||
</div>
|
||||
</ul>
|
||||
<div class="mobile-menu-btn"></div>
|
||||
</div>
|
||||
</div>
|
|
@ -0,0 +1,155 @@
|
|||
.logo {
|
||||
background-image: url(../../assets/lume-logo.webp);
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
margin-left: 5px;
|
||||
height: 55px;
|
||||
min-width: 210px;
|
||||
z-index: 998 !important;
|
||||
}
|
||||
|
||||
.navbar-container {
|
||||
white-space: nowrap;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
width: 100%;
|
||||
height: 80px;
|
||||
display: flex;
|
||||
padding-top: 75px;
|
||||
padding-left: 7%;
|
||||
padding-right: 7%;
|
||||
padding-bottom: 3%;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
white-space: nowrap;
|
||||
gap: 36px;
|
||||
background-color: #031418;
|
||||
}
|
||||
|
||||
.nav-menu {
|
||||
display: flex;
|
||||
justify-content: right;
|
||||
padding: 1em;
|
||||
transition: all 1s linear;
|
||||
}
|
||||
|
||||
li {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.download-btn-container {
|
||||
color: var(--black);
|
||||
font-family: var(--font-family-jetbrains_mono);
|
||||
font-size: var(--font-size-s);
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
align-items: flex-end;
|
||||
background-color: var(--aquamarine);
|
||||
border-radius: 5px;
|
||||
display: flex;
|
||||
height: 52px;
|
||||
min-width: 245px;
|
||||
padding: 12px 5.2px;
|
||||
transform: scale(1);
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.download-btn-container a {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.download-btn-container:hover {
|
||||
transform: scale(1.01);
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.download-btn {
|
||||
letter-spacing: 0;
|
||||
min-height: 26px;
|
||||
text-align: center;
|
||||
width: 234px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.hamburger {
|
||||
display: end;
|
||||
font-size: var(--font-size-xl);
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.mobile-menu {
|
||||
top: -50em;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 940px) {
|
||||
.nav-menu {
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
width: 1px;
|
||||
transition: all 0s linear;
|
||||
position: fixed;
|
||||
}
|
||||
|
||||
.hamburger {
|
||||
display: block;
|
||||
position: absolute;
|
||||
right: 20;
|
||||
justify-content: right;
|
||||
z-index: 999 !important;
|
||||
}
|
||||
|
||||
.mobile-menu {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: auto;
|
||||
margin-left: 50%;
|
||||
top: -100vh;
|
||||
right: 0;
|
||||
opacity: 100;
|
||||
position: absolute;
|
||||
justify-content: space-between;
|
||||
align-items: flex-end;
|
||||
background-color: #031418;
|
||||
border-radius: 10px;
|
||||
outline-style: solid;
|
||||
outline-width: 0.1px;
|
||||
outline-color: #07363fa7;
|
||||
box-shadow: 0px 4px 4px #00000096;
|
||||
transition: 0.55s;
|
||||
top: 2em;
|
||||
z-index: 998 !important;
|
||||
}
|
||||
|
||||
.mobile-menu li {
|
||||
padding: 1em 0.5em;
|
||||
margin: 0 1em;
|
||||
}
|
||||
|
||||
.download-btn-container {
|
||||
transform: scale(0.7);
|
||||
transition: 0.3s;
|
||||
margin-left: -0.8em;
|
||||
}
|
||||
|
||||
.download-btn-container:hover {
|
||||
transform: scale(0.75);
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.download-btn {
|
||||
letter-spacing: 0;
|
||||
min-height: 26px;
|
||||
text-align: center;
|
||||
width: 234px;
|
||||
display: block;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
import React from "react";
|
||||
import "./HeaderStyles.css";
|
||||
import HeaderContent from "./HeaderContent.astro";
|
||||
import image from "@astrojs/image";
|
||||
---
|
||||
|
||||
<div class="header-container">
|
||||
<div class="header">
|
||||
<h1 class="header-alignment">
|
||||
<HeaderContent />
|
||||
</h1>
|
||||
</div>
|
||||
</div>
|
|
@ -0,0 +1,34 @@
|
|||
---
|
||||
import react from "@astrojs/react";
|
||||
import Typewriter from "typewriter-effect";
|
||||
|
||||
var headerStrings = [
|
||||
`Access to the web <br /> for the masses`,
|
||||
`An open web for business`,
|
||||
`Web3 for the masses`,
|
||||
`Web3 for you`,
|
||||
],
|
||||
randomString =
|
||||
headerStrings[Math.floor(Math.random() * headerStrings.length)];
|
||||
function lastWord(words) {
|
||||
var n = words.split(" ");
|
||||
return n[n.length - 1];
|
||||
}
|
||||
var lastIndex = randomString.lastIndexOf(" ");
|
||||
---
|
||||
|
||||
<Typewriter client:load />
|
||||
<div>
|
||||
<Typewriter
|
||||
options={{ cursor: "_" }}
|
||||
onInit={(typewriter) => {
|
||||
typewriter
|
||||
.changeDelay(50)
|
||||
.typeString(`${randomString.substring(0, lastIndex)}` + " ")
|
||||
.start();
|
||||
typewriter.typeString(
|
||||
`<span class="header-alt">${lastWord(randomString)}</span>`
|
||||
);
|
||||
}}
|
||||
/>
|
||||
</div>
|
|
@ -0,0 +1,29 @@
|
|||
---
|
||||
import react from "@astrojs/react";
|
||||
import Typewriter from "typewriter-effect";
|
||||
|
||||
var headerStrings = [
|
||||
`Access to the web for the masses`,
|
||||
`An open web for business`,
|
||||
`Web3 for the masses`,
|
||||
`Web3 for you`,
|
||||
],
|
||||
randomString =
|
||||
headerStrings[Math.floor(Math.random() * headerStrings.length)];
|
||||
function lastWord(words) {
|
||||
var n = words.split(" ");
|
||||
return n[n.length - 1];
|
||||
}
|
||||
var lastIndex = randomString.lastIndexOf(" ");
|
||||
---
|
||||
|
||||
<header class="mb-16 group">
|
||||
<h1
|
||||
class="mb-1 text-4xl whitespace-nowrap text-gray-100 md:text-6xl inline-flex overflow-x-hidden animate-type"
|
||||
>
|
||||
{randomString}
|
||||
<span
|
||||
class="box-border inline-block w-1 h-10 ml-2 -mb-2 bg-white md:-mb-4 md:h-16 animate-cursor will-change-transform"
|
||||
></span>
|
||||
</h1>
|
||||
</header>
|
|
@ -0,0 +1,68 @@
|
|||
.header-container {
|
||||
align-items: flex-start;
|
||||
display: flex;
|
||||
margin-block: calc(77px + 1.5625vw);
|
||||
z-index: -1 !important;
|
||||
}
|
||||
|
||||
.header {
|
||||
color: var(--white);
|
||||
font-family: var(--font-family-jetbrains_mono);
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
letter-spacing: -6px;
|
||||
line-height: calc(75px + (110 - 75) * ((100vw - 300px) / (1600 - 300)));
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.header-alt {
|
||||
color: var(--aquamarine);
|
||||
font-family: var(--font-family-jetbrains_mono);
|
||||
}
|
||||
|
||||
.header-alignment {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.header-underscore {
|
||||
animation: blink 1.3s step-end infinite;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
|
||||
from,
|
||||
to {
|
||||
color: transparent
|
||||
}
|
||||
|
||||
50% {
|
||||
color: rgba(245, 245, 245)
|
||||
}
|
||||
}
|
||||
|
||||
.cursor::after {
|
||||
display: block;
|
||||
content: '';
|
||||
position: absolute;
|
||||
width: 4px;
|
||||
height: 100%;
|
||||
background-color: #fff;
|
||||
animation: cursor 0.6s linear infinite alternate;
|
||||
will-change: opacity;
|
||||
}
|
||||
|
||||
@keyframes cursor {
|
||||
|
||||
0%,
|
||||
40% {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
60%,
|
||||
100% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
import "./VisionStyles.css";
|
||||
---
|
||||
|
||||
<div class="vision-container">
|
||||
<div class="vision-wrapper">
|
||||
<span id="vision"></span>
|
||||
<h2>OUR VISION</h2>
|
||||
<h3>Make Web3 easy for <wbr /> everyone</h3>
|
||||
<h4 class="left vision-transluscent">
|
||||
Web3 offers freedom of speech, data sovereignty, and privacy. We
|
||||
simplify Web3 by bridging the gap between the two webs, enabling
|
||||
easy usage without censorship or backdoors.
|
||||
</h4>
|
||||
<div class="vision-btn-container">
|
||||
<a class="vision-btn" href="#"> Download Extension</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -0,0 +1,61 @@
|
|||
.vision-container {
|
||||
align-items: flex-start;
|
||||
display: flex;
|
||||
margin-block: 5vh;
|
||||
padding-bottom: 5vh;
|
||||
vertical-align: center;
|
||||
padding-inline: 15%;
|
||||
}
|
||||
|
||||
.vision-wrapper {
|
||||
background-image: url(../../../assets/video-placeholder.webp);
|
||||
background-position: 100% 50%;
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
transition: 0.5s;
|
||||
}
|
||||
|
||||
.vision-btn-container {
|
||||
align-items: center;
|
||||
background-color: var(--aquamarine);
|
||||
border-radius: 5px;
|
||||
display: flex;
|
||||
height: 49px;
|
||||
margin-left: -1.5px;
|
||||
margin-top: 22px;
|
||||
max-width: 195px;
|
||||
padding: 0 3px;
|
||||
transform: scale(1);
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.vision-btn-container:hover {
|
||||
transform: scale(1.01);
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.vision-btn-container a {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.vision-btn {
|
||||
letter-spacing: 0;
|
||||
min-height: 26px;
|
||||
text-align: center;
|
||||
width: 234px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.vision-transluscent {
|
||||
background-color: none;
|
||||
border-radius: 15px;
|
||||
transition: 0.5s;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1200px) {
|
||||
.vision-transluscent {
|
||||
background-color: #031418a7;
|
||||
border-radius: 15px;
|
||||
transition: 0.5s;
|
||||
}
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
/// <reference types="astro/client" />
|
|
@ -0,0 +1,185 @@
|
|||
@import url("https://fonts.googleapis.com/css?family=Jaldi:400|JetBrains+Mono:400,700|IBM+Plex+Sans+Devanagari:400");
|
||||
|
||||
:root {
|
||||
--primary-dark: #000000;
|
||||
--primary-light: #ffffff;
|
||||
}
|
||||
|
||||
:root {
|
||||
--black:
|
||||
rgba(0, 0, 0, 1);
|
||||
--blue-charcoal:
|
||||
rgba(1, 14, 16, 1);
|
||||
--blue-charcoal-2:
|
||||
rgba(3, 21, 24, 1);
|
||||
--aquamarine:
|
||||
rgba(122, 252, 187, 1);
|
||||
--cloud:
|
||||
rgba(199, 199, 199, 1);
|
||||
--alto:
|
||||
rgba(217, 217, 217, 1);
|
||||
--white:
|
||||
rgba(255, 255, 255, 1);
|
||||
|
||||
--font-size-s: 20px;
|
||||
--font-size-m: 21px;
|
||||
--font-size-l: 25px;
|
||||
--font-size-xl: 30px;
|
||||
--font-size-xxl: 32px;
|
||||
--font-size-xxxl: 45px;
|
||||
--font-size-xxxxl: 100px;
|
||||
|
||||
--font-family-ibm_plex_sans_devanagari: "IBM Plex Sans Devanagari";
|
||||
--font-family-jaldi: "Jaldi";
|
||||
--font-family-jetbrains_mono: "JetBrains Mono";
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
a,
|
||||
a:visited {
|
||||
text-decoration: none;
|
||||
color: white;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: "JetBrains Mono", sans-serif;
|
||||
background-color: #031418;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.body-block {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
gap: 78px;
|
||||
}
|
||||
|
||||
.centered {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
overflow: hidden;
|
||||
height: auto;
|
||||
margin-bottom: 1.5vh;
|
||||
}
|
||||
|
||||
.home {
|
||||
background-color: #031418;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
display: absolute;
|
||||
overflow: hidden;
|
||||
border: 1px none;
|
||||
height: auto;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.title {
|
||||
height: 57px;
|
||||
letter-spacing: -1.5px;
|
||||
line-height: 102px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: calc(26px + (82 - 26) * ((100vw - 300px) / (1600 - 300)));
|
||||
font-weight: 100;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: calc(15px + (25 - 10) * ((100vw - 300px) / (1600 - 300)));
|
||||
color: var(--aquamarine);
|
||||
text-transform: uppercase;
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: calc(30px + (45 - 30) * ((100vw - 300px) / (1600 - 300)));
|
||||
min-width: 75vw;
|
||||
margin-top: 0.5em;
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: calc(15px + (21 - 15) * ((100vw - 300px) / (1600 - 300)));
|
||||
color: var(--cloud);
|
||||
font-family: var(--font-family-jaldi);
|
||||
font-size: var(--font-size-m);
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
max-width: 550px;
|
||||
margin-top: 0.5em;
|
||||
line-height: 35px;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: calc(15px + (29 - 15) * ((100vw - 300px) / (1600 - 300)));
|
||||
color: var(--white);
|
||||
font-family: var(--font-family-jaldi);
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
max-width: 300;
|
||||
line-height: 2rem;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: calc(15px + (19 - 15) * ((100vw - 300px) / (1600 - 300)));
|
||||
color: var(--cloud);
|
||||
font-family: var(--font-family-jaldi);
|
||||
font-weight: 100;
|
||||
font-style: normal;
|
||||
max-width: 300;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 1240px;
|
||||
margin: auto;
|
||||
padding: 0 1rem;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1050px) {
|
||||
.left {
|
||||
display: flex;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.h2-alignment {
|
||||
margin-left: -10em;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: calc(20px + (29 - 15) * ((100vw - 300px) / (1600 - 300)));
|
||||
color: var(--white);
|
||||
font-family: var(--font-family-jaldi);
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
max-width: 300;
|
||||
line-height: 2rem;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: calc(17px + (19 - 15) * ((100vw - 300px) / (1600 - 300)));
|
||||
color: var(--cloud);
|
||||
font-family: var(--font-family-jaldi);
|
||||
font-weight: 100;
|
||||
font-style: normal;
|
||||
max-width: 300;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,28 @@
|
|||
---
|
||||
import Navbar from "../components/Navbar/Navbar.astro";
|
||||
import Header from "../components/P1/Header/Header.astro";
|
||||
import Vision from "../components/P1/Vision/Vision.astro";
|
||||
import "../index.css";
|
||||
---
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Lume Web - Web3 for the masses</title>
|
||||
<meta charset="utf-8" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1.0, maximum-scale=5.0"
|
||||
/>
|
||||
<meta
|
||||
name="description"
|
||||
content="Lume Web - Web3 for the masses | Install the Lume Web3 Extension and have a 1-click gateway into the Web3 internet on Opera, Vivaldi, Edge, and Firefox."
|
||||
/>
|
||||
<meta name="keywords" content="Web3 Extension, Lume Web, Web3" />
|
||||
</head>
|
||||
<body>
|
||||
<Navbar />
|
||||
<Header />
|
||||
<Vision />
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,28 @@
|
|||
/** @type {import('tailwindcss').Config} */
|
||||
module.exports = {
|
||||
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
|
||||
theme: {
|
||||
extend: {
|
||||
animation: {
|
||||
cursor: 'cursor .6s linear infinite alternate',
|
||||
type: 'type 1.8s ease-out .8s 1 normal both',
|
||||
'type-reverse': 'type 1.8s ease-out 0s infinite alternate-reverse both',
|
||||
},
|
||||
keyframes: {
|
||||
type: {
|
||||
'0%': { width: '0ch' },
|
||||
'5%, 10%': { width: '1ch' },
|
||||
'15%, 20%': { width: '2ch' },
|
||||
'25%, 30%': { width: '3ch' },
|
||||
'35%, 40%': { width: '4ch' },
|
||||
'45%, 50%': { width: '5ch' },
|
||||
'55%, 60%': { width: '6ch' },
|
||||
'65%, 70%': { width: '7ch' },
|
||||
'75%, 80%': { width: '8ch' },
|
||||
'85%, 90%': { width: '9ch' },
|
||||
'95%': { width: '10ch' },
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "astro/tsconfigs/base"
|
||||
}
|