Added the fixes suggested by PG.

This commit is contained in:
NoobDeveloper412 2024-09-27 18:05:17 +05:00
parent ef520c8890
commit 31e290d19f
6 changed files with 26 additions and 18 deletions

View file

@ -14,7 +14,7 @@ const { title, subtext, variant = "primary" } = Astro.props;
}`} }`}
> >
<span <span
class={`absolute bg-black z-10 top-[-20px] px-[12px] uppercase text-[1rem] ${variant === "secondary" ? "text-[#909090]" : "text-white"} font-bold`} class={`absolute bg-black z-10 top-[-20px] px-[12px] uppercase text-[0.8rem] md:text-[1rem] ${variant === "secondary" ? "text-[#909090]" : "text-white"} font-bold`}
> >
{title} {title}
</span> </span>

View file

@ -31,14 +31,17 @@ import AboutItem from "../components/AboutItem.astro";
</div> </div>
<div> <div>
<div class="flex items-center flex-nowrap space-x-5"> <div class="flex items-center flex-nowrap space-x-5">
<a href="">
PRIVACY EXPLORER
<span <span
class="font-bold text-white underline" class="font-bold text-white underline"
style="text-underline-offset: 4px;" style="text-underline-offset: 4px;"
> >
PRIVACY EXPLORER
</span> </span>
</a>
</div> </div>
<span class="text-[1rem] mt-0 w-full" <span class="text-[0.8rem] md:text-[1rem] mt-0 w-full"
>For Projects, Use-case list, Market & Funding info >For Projects, Use-case list, Market & Funding info
</span> </span>
</div> </div>
@ -59,7 +62,7 @@ import AboutItem from "../components/AboutItem.astro";
HACKATHON IDEA GENERATOR HACKATHON IDEA GENERATOR
</span> </span>
</div> </div>
<span class="text-[1rem] mt-0 w-full" <span class="text-[0.8rem] md:text-[1rem] mt-0 w-full"
>Helps developers build applications that address real-world >Helps developers build applications that address real-world
problems, that people will actually use. problems, that people will actually use.
</span> </span>

View file

@ -42,7 +42,7 @@ function personLink(person) {
<img <img
src={person.imageUrl} src={person.imageUrl}
alt={person.name} alt={person.name}
class="h-24 w-full md:h-48 object-cover object-center h-full" class="h-24 w-full md:h-48 object-cover object-center h-full transition duration-200 ease-in"
/> />
</a> </a>
<div class="mt-4"> <div class="mt-4">

View file

@ -1,5 +1,5 @@
title: Web3Privacy Now title: Web3Privacy Now
description: Advocates worldwide are uniting to make privacy fundamental pillar of the Web3 industry, transforming it into a cultural movement that champions freedom and decentralization. description: The leading nonprofit advancing Privacy & Freedom in the web3 industry. In our Ecosystem, we foster a culture that empowers decentralization, open-source , and anti surveillance.
header: header:
menu: menu:
- name: Home - name: Home
@ -54,7 +54,9 @@ footer:
link: matrix link: matrix
hero: hero:
text: | text: |
Advocates worldwide are uniting to make privacy fundamental pillar of the Web3 industry, transforming it into a cultural movement that champions freedom and decentralization. The leading nonprofit advancing Privacy & Freedom in the web3 industry.
<br />
In our Ecosystem, we foster a culture that empowers decentralization, open-source, and anti surveillance.
landing: landing:
merch: | merch: |
To make humans gain control over their privacy by utilizing Web3 stack. So privacy would become a cultural phenomena & active lifestyle. To make humans gain control over their privacy by utilizing Web3 stack. So privacy would become a cultural phenomena & active lifestyle.

View file

@ -157,7 +157,7 @@ function genHeading(str) {
{/* <h1 class="glitch-text-interval text-6xl"> {/* <h1 class="glitch-text-interval text-6xl">
web3privacy summit #1 web3privacy summit #1
</h1> */} </h1> */}
<div class="text-left mt-10">{config.hero.text}</div> <div class="text-left mt-10" set:html={config.hero.text}></div>
<div class="mt-6"> <div class="mt-6">
<a class="button" href="/about"> <a class="button" href="/about">
<button> <button>

View file

@ -321,7 +321,7 @@ export function ccRenderer (item) {
return cc return cc
} }
export function eventStatus (item) { export function eventStatus(item) {
const statuses = { const statuses = {
preregistration: { preregistration: {
title: 'Pre-registration', title: 'Pre-registration',
@ -341,9 +341,12 @@ export function eventStatus (item) {
} }
} }
const date = dateInfo(item) const date = dateInfo(item);
const eventDate = new Date(item.date);
const currentDate = new Date();
return item.confirmed return item.confirmed
? (date.isDate ? statuses.past : statuses.confirmed) ? (eventDate < currentDate ? statuses.past : statuses.confirmed)
: (item.links?.rsvp ? statuses.preregistration : statuses.unconfirmed); : (item.links?.rsvp ? statuses.preregistration : statuses.unconfirmed);
} }