Compare commits

...

3 Commits

Author SHA1 Message Date
sasha-astiadi
fd3c6df21f edit responsiveness 2024-06-07 11:42:08 +03:00
sasha-astiadi
d1aa6087c8 Merge branch 'development' of https://git.ourworld.tf/tfgrid/www_projectinca into development 2024-06-07 11:41:17 +03:00
sasha-astiadi
500538c107 Edit name 2024-06-07 11:41:13 +03:00
7 changed files with 636 additions and 180 deletions

768
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -22,7 +22,7 @@
"@astrolib/analytics": "^0.5.0", "@astrolib/analytics": "^0.5.0",
"@astrolib/seo": "^1.0.0-beta.5", "@astrolib/seo": "^1.0.0-beta.5",
"@fontsource-variable/inter": "^5.0.18", "@fontsource-variable/inter": "^5.0.18",
"astro": "^4.9.2", "astro": "^4.10.0",
"astro-embed": "^0.7.2", "astro-embed": "^0.7.2",
"astro-icon": "^1.1.0", "astro-icon": "^1.1.0",
"limax": "4.1.0", "limax": "4.1.0",
@ -30,7 +30,7 @@
"unpic": "^3.18.0" "unpic": "^3.18.0"
}, },
"devDependencies": { "devDependencies": {
"@astrojs/mdx": "^3.0.1", "@astrojs/mdx": "^3.1.0",
"@astrojs/partytown": "^2.1.0", "@astrojs/partytown": "^2.1.0",
"@astrojs/tailwind": "5.1.0", "@astrojs/tailwind": "5.1.0",
"@eslint/js": "^9.2.0", "@eslint/js": "^9.2.0",

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 47 KiB

View File

@ -2,8 +2,7 @@
import { SITE } from 'astrowind:config'; import { SITE } from 'astrowind:config';
--- ---
<span <span class="flex items-center self-center ml-2 rtl:ml-0 rtl:mr-2 text-2xl md:text-xl font-bold text-gray-900 whitespace-nowrap dark:text-white">
class="self-center ml-2 rtl:ml-0 rtl:mr-2 text-2xl md:text-xl font-bold text-gray-900 whitespace-nowrap dark:text-white" <img src="/assets/images/logo.svg" alt="Site Logo" class="h-8 w-auto mr-2" />
>
{SITE?.name} {SITE?.name}
</span> </span>

View File

@ -29,9 +29,11 @@ const {
<section class="relative md:-mt-[76px] not-prose" {...id ? { id } : {}}> <section class="relative md:-mt-[76px] not-prose" {...id ? { id } : {}}>
<div class="absolute inset-0 pointer-events-none" aria-hidden="true"></div> <div class="absolute inset-0 pointer-events-none" aria-hidden="true"></div>
<div class="relative max-w-7xl mx-auto px-4 sm:px-6"> <div class="relative max-w-7xl mx-auto px-4 sm:px-6">
<div class="pt-0 md:pt-[76px] pointer-events-none"></div> <div class="pt-0 md:pt-12 pointer-events-none"></div>
<div class="py-12 md:py-20"> <div class="py-8 md:py-20">
<div class="text-center pb-10 md:pb-16 max-w-5xl mx-auto"> <div class="text-center pb-8 md:pb-16 max-w-5xl mx-auto">
<!-- Add the logo before the tagline -->
<img src="/assets/images/logo.svg" alt="Logo" class=" mx-auto mb-4 h-65 sm:h-23 w-auto" />
{ {
tagline && ( tagline && (
<p <p
@ -43,7 +45,7 @@ const {
{ {
title && ( title && (
<h1 <h1
class="text-5xl md:text-6xl font-bold leading-tighter tracking-tighter mb-4 font-heading dark:text-gray-200" class="text-3xl md:text-6xl font-bold leading-tighter tracking-tighter mb-2 font-heading dark:text-gray-200"
set:html={title} set:html={title}
/> />
) )
@ -51,13 +53,13 @@ const {
{ {
title2 && ( title2 && (
<h3 <h3
class="text-5xl md:text-4xl font-bold leading-tighter tracking-tighter mb-4 font-heading dark:text-gray-200" class="text-xl md:text-4xl font-bold leading-tighter tracking-tighter mb-4 font-heading dark:text-gray-200"
set:html={title2} set:html={title2}
/> />
) )
} }
<div class="max-w-3xl mx-auto"> <div class="max-w-3xl mx-auto">
{subtitle && <p class="text-xl text-muted mb-6 dark:text-slate-300" set:html={subtitle} />} {subtitle && <p class="text-xl text-muted mb-8 dark:text-slate-300 max-w-m md:max-w-3xl" set:html={subtitle} />}
{ {
actions && ( actions && (
<div class="max-w-xs sm:max-w-md m-auto flex flex-nowrap flex-col sm:flex-row sm:justify-center gap-4"> <div class="max-w-xs sm:max-w-md m-auto flex flex-nowrap flex-col sm:flex-row sm:justify-center gap-4">

View File

@ -1,5 +1,5 @@
site: site:
name: Project Internet Capacity name: PROJECT INCA
site: 'https://threefold.io' site: 'https://threefold.io'
base: '/' base: '/'
trailingSlash: false trailingSlash: false

View File

@ -40,23 +40,28 @@ const metadata = {
}, },
{ text: 'Learn more', href: '#technology' }, { text: 'Learn more', href: '#technology' },
]} ]}
tagline="Welcome to" tagline="Welcome to"
image={{ src: '~/assets/images/background.png', alt: '' }}
> >
<Fragment slot="title"> <Fragment slot="title">
Project Internet Capacity<br> The Decentralized Autonomous Cloud Project <span class="text-blue-600">IN</span>ternet <span class="text-blue-600">CA</span>pacity
</Fragment>
<Fragment slot="title2">
The Decentralized Autonomous Cloud
</Fragment> </Fragment>
<Fragment slot="subtitle"> <Fragment slot="subtitle">
<span class="hidden sm:inline"> We are a community-driven and open-source project that built a self-healing and autonomous cloud engine allowing <span class="font-semibold">anyone</span> to become a <span class="font-semibold">cloud service provider</span>.
We are a community-driven and open-source project<br> that built a self-healing and autonomous cloud engine<br> allowing <span class="font-semibold">anyone</span> to become a <span class="font-semibold">cloud service provider</span>!<br> <span class="block my-4 font-bold text-blue-600">
</span>
<span class="block mb-1 sm:hidden font-bold text-blue-600">
Internet Capacity, DePIN Cloud Internet Capacity, DePIN Cloud
</span> </span>
<i><br>Compute is the currency of the future...<br> <i>Compute is the currency of the future.
<br>
Earn rewards by providing <span class="font-semibold">Internet Capacity</span> to the world!</i> Earn rewards by providing <span class="font-semibold">Internet Capacity</span> to the world!</i>
</Fragment> </Fragment>
</Hero> </Hero>