style: update link colors and hover states for documentation and support links

This commit is contained in:
2025-10-15 16:21:19 +02:00
parent 39e19a95d0
commit 794605117a
4 changed files with 18 additions and 9 deletions

View File

@@ -54,7 +54,7 @@ export default function DownloadHero() {
className="mt-6 text-lg/8 text-gray-600" className="mt-6 text-lg/8 text-gray-600"
> >
Get Mycelium for Android, Windows, macOS, and iOS to securely connect, store, and interact with the decentralized networkseamlessly and efficiently. Not sure how it works?{' '} Get Mycelium for Android, Windows, macOS, and iOS to securely connect, store, and interact with the decentralized networkseamlessly and efficiently. Not sure how it works?{' '}
<a href="https://threefold.info/mycelium_network/docs/" className="text-cyan-500 hover:text-cyan-600 font-semibold underline"> <a href="https://threefold.info/mycelium_network/docs/" className="text-gray-900 hover:text-cyan-500 transition-colors font-semibold underline">
Read the manual. Read the manual.
</a> </a>
</motion.p> </motion.p>

View File

@@ -67,8 +67,8 @@ export function Faqs() {
<p className="mt-2 text-lg text-gray-600"> <p className="mt-2 text-lg text-gray-600">
If you have anything else you want to ask,{' '} If you have anything else you want to ask,{' '}
<a <a
href="https://t.me/threefold" href="https://threefoldfaq.crisp.help/en/"
className="text-gray-900 underline" className="text-gray-900 hover:text-cyan-500 transition-colors font-semibold underline"
> >
reach out to us reach out to us
</a> </a>

View File

@@ -58,7 +58,11 @@ export function Footer() {
</Button> </Button>
</form> </form>
<p className="mt-6 text-sm text-gray-500 md:mt-0"> <p className="mt-6 text-sm text-gray-500 md:mt-0">
&copy; Copyright ThreeFold {new Date().getFullYear()}. All rights reserved. &copy; Copyright{' '}
<a href="https://www.threefold.io" target="_blank" rel="noopener noreferrer" className="hover:text-cyan-500 transition-colors">
ThreeFold
</a>{' '}
{new Date().getFullYear()}. All rights reserved.
</p> </p>
</div> </div>
</Container> </Container>

View File

@@ -14,6 +14,7 @@ export function NavLinks() {
['How it Works', '/#howitworks'], ['How it Works', '/#howitworks'],
['Coming Soon', '/#comingsoon'], ['Coming Soon', '/#comingsoon'],
['FAQs', '/#faqs'], ['FAQs', '/#faqs'],
['Docs', 'https://threefold.info/mycelium_network/docs/'],
].map(([label, href], index) => ( ].map(([label, href], index) => (
<Link <Link
key={label} key={label}
@@ -31,13 +32,17 @@ export function NavLinks() {
}, 50) }, 50)
}} }}
onClick={(e) => { onClick={(e) => {
e.preventDefault() if (href.startsWith('/#')) {
const targetId = href.substring(2) e.preventDefault();
const targetElement = document.getElementById(targetId) const targetId = href.substring(2);
if (targetElement) { const targetElement = document.getElementById(targetId);
targetElement.scrollIntoView({ behavior: 'smooth' }) if (targetElement) {
targetElement.scrollIntoView({ behavior: 'smooth' });
}
} }
}} }}
target={href.startsWith('http') ? '_blank' : undefined}
rel={href.startsWith('http') ? 'noopener noreferrer' : undefined}
> >
<AnimatePresence> <AnimatePresence>
{hoveredIndex === index && ( {hoveredIndex === index && (