commit 5c5daf6d0273c616287986ab86d11c9de6087bfb
parent c16a8022f22cf2cc40c33d34ce49bba0c63362d8
Author: William Casarin <jb55@jb55.com>
Date: Wed, 24 Jul 2024 16:48:01 -0500
notedeck tweaks
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
4 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/content/compiled-locales/en.json b/content/compiled-locales/en.json
@@ -296,7 +296,7 @@
"notedeck.hero.description": [
{
"type": 0,
- "value": "The highest performance Nostr client. Period."
+ "value": "Damus. Everywhere. The fastest native, customizable nostr experience, for all platforms."
}
],
"notedeck.hero.menu.signup-for-the-waitlist": [
diff --git a/content/locales/en.json b/content/locales/en.json
@@ -141,7 +141,7 @@
"string": "Follow {shortName}"
},
"notedeck.hero.description": {
- "string": "The highest performance Nostr client. Period."
+ "string": "Damus. Everywhere. The fastest native, customizable nostr experience, for all platforms."
},
"notedeck.hero.menu.signup-for-the-waitlist": {
"string": "Sign up"
diff --git a/src/components/effects/StarField.tsx b/src/components/effects/StarField.tsx
@@ -16,7 +16,7 @@ import React, { useEffect, useRef, useState } from 'react';
const STAR_COUNT = 300;
const STAR_MIN_SPEED = 0.005;
-const STAR_MAX_SPEED = 0.09;
+const STAR_MAX_SPEED = 0.02;
const MIN_VISION_PERSISTENCE = 0.2;
const MAX_VISION_PERSISTENCE = 0.99;
@@ -122,4 +122,4 @@ export function StarField({ className }: { className?: string }) {
}} />;
};
-export default StarField;-
\ No newline at end of file
+export default StarField;
diff --git a/src/components/sections/Notedeck/NotedeckHero.tsx b/src/components/sections/Notedeck/NotedeckHero.tsx
@@ -25,7 +25,7 @@ export function NotedeckHero({ className }: { className?: string }) {
<StarField className="z-0 fixed top-0 left-0 object-cover object-center w-full h-full"/>
<MeshGradient1 className="-translate-x-1/3" />
</motion.div>
- <motion.div className="container z-10 mx-auto px-6 pt-12 h-full min-h-screen flex flex-col justify-center" style={{ opacity: heroOpacity }}>
+ <motion.div className="container z-10 mx-auto px-6 pt-6 h-full min-h-screen flex flex-col justify-center" style={{ opacity: heroOpacity }}>
<motion.div
className="w-full z-10 backdrop-blur-sm bg-black/20 rounded-xl p-4 shadow-xl border border-black/30"
style={{ opacity: 0 }}
@@ -43,7 +43,7 @@ export function NotedeckHero({ className }: { className?: string }) {
/>
</motion.div>
<motion.div
- className="flex flex-col items-center justify-center h-full grow mt-48 z-10"
+ className="flex flex-col items-center justify-center h-full grow mt-32 z-10"
style={{ opacity: 0 }}
animate={{ opacity: 1, transition: { delay: 0.5, duration: 1 } }}
>
@@ -56,10 +56,10 @@ export function NotedeckHero({ className }: { className?: string }) {
/>
</div>
<div className="text-purple-200/70 text-lg md:text-2xl text-center max-w-2xl mb-8 break-keep">
- {intl.formatMessage({ id: "notedeck.hero.description", defaultMessage: "The highest performance Nostr client. Period." })}
+ {intl.formatMessage({ id: "notedeck.hero.description", defaultMessage: "Damus. Everywhere. The fastest native, customizable nostr experience, for all platforms." })}
</div>
<motion.div
- className="mt-10 md:mt-4 mb-8 flex flex-col md:flex-row items-center md:items-center gap-y-4 gap-x-6 w-full md:w-auto"
+ className="mt-6 md:mt-4 mb-8 flex flex-col md:flex-row items-center md:items-center gap-y-4 gap-x-6 w-full md:w-auto"
style={{ opacity: 0 }}
animate={{ opacity: 1, transition: { delay: 1.5, duration: 1 } }}
>