links updated, loader fix

This commit is contained in:
allinix 2025-02-19 13:07:49 +05:30
parent 667a2a97b8
commit ebf364fa5f
6 changed files with 63 additions and 20 deletions

19
lander/public/favicon.svg Normal file
View File

@ -0,0 +1,19 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<style>
path {
fill: black;
\
}
circle {
fill: black;
}
@media (prefers-color-scheme: dark) {
path { fill: white; }
circle { fill: white; }
}
</style>
<path d="M6.82928 9C6.93984 8.68722 6.99999 8.35064 6.99999 8C6.99999 7.64936 6.93984 7.31278 6.82928 7H17C20.3137 7 23 9.68629 23 13C23 16.3137 20.3137 19 17 19H15.8293C15.9398 18.6872 16 18.3506 16 18C16 17.6494 15.9398 17.3128 15.8293 17H17C19.2091 17 21 15.2091 21 13C21 10.7909 19.2091 9 17 9H6.82928Z" fill="white"/>
<circle cx="13" cy="18" r="3" fill="white"/>
<circle cx="4" cy="8" r="3" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 699 B

View File

@ -1,6 +1,7 @@
import type { Metadata } from "next"; import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google"; import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css"; import "./globals.css";
import Head from "next/head";
const geistSans = Geist({ const geistSans = Geist({
variable: "--font-geist-sans", variable: "--font-geist-sans",
@ -24,6 +25,9 @@ export default function RootLayout({
}>) { }>) {
return ( return (
<html lang="en"> <html lang="en">
<Head>
<link rel="icon" href="/favicon.svg" />
</Head>
<body <body
className={`${geistSans.variable} ${geistMono.variable} antialiased`} className={`${geistSans.variable} ${geistMono.variable} antialiased`}
> >

View File

@ -39,7 +39,7 @@ export default function SocialLinks() {
whileTap={{ scale: 0.9 }} whileTap={{ scale: 0.9 }}
transition={{ type: "spring", stiffness: 300, damping: 15 }} transition={{ type: "spring", stiffness: 300, damping: 15 }}
> >
<Link href={"https://github.com/Allinix-Labs/Allinix"} target="_blank" className="flex"> <Link href={"https://github.com/Allinix-ai/Allinix-app"} target="_blank" className="flex">
<svg <svg
width="29" width="29"
height="29" height="29"
@ -69,7 +69,7 @@ export default function SocialLinks() {
whileTap={{ scale: 0.9 }} whileTap={{ scale: 0.9 }}
transition={{ type: "spring", stiffness: 300, damping: 15 }} transition={{ type: "spring", stiffness: 300, damping: 15 }}
> >
<Link href={"https://docs.allinix.ai/"} className="flex"> <Link href={"https://allinix-ai.gitbook.io/allinix"} className="flex">
<img src="/gitbook.png" width={28} height={28} /> <img src="/gitbook.png" width={28} height={28} />
</Link> </Link>
</motion.div> </motion.div>

View File

@ -61,20 +61,40 @@ const LeftSidebar = ({ show, setShow, onReload }: DisplayProps & { onReload?: ()
return ( return (
<> <>
{isPageLoading && ( {isPageLoading && (
<div className="fixed inset-0 z-50 flex items-center justify-center bg-black/50 backdrop-blur-sm"> <div className="fixed inset-0 z-50 flex items-center justify-center bg-black/80 backdrop-blur-sm">
<div className="relative space-y-3 text-center"> <div className="flex flex-col items-center space-y-4">
<div className="h-1.5 w-32 overflow-hidden rounded-full bg-gray-800"> <style jsx global>{`
<div className="absolute inset-0"> @keyframes loadingBar {
<div 0% {
className="h-full w-1/3 bg-blue-500" transform: translateX(-100%);
style={{ }
animation: 'loadingN 1.5s infinite ease-in-out', 100% {
transform: 'translateX(-100%)' transform: translateX(100%);
}} }
></div> }
</div>
@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.5;
}
}
.loading-bar {
animation: loadingBar 1.5s infinite ease-in-out;
}
.pulse-text {
animation: pulse 1.5s infinite ease-in-out;
}
`}</style>
<div className="h-1 w-32 overflow-hidden rounded-full bg-gray-800/60">
<div className="loading-bar h-full w-full bg-gradient-to-r from-orange-500/80 via-orange-400 to-orange-500/80"></div>
</div> </div>
<p className="text-sm font-medium text-white/90">Loading...</p> <p className="pulse-text text-sm font-medium text-orange-500/90">Loading...</p>
</div> </div>
</div> </div>
)} )}
@ -163,7 +183,7 @@ const LeftSidebar = ({ show, setShow, onReload }: DisplayProps & { onReload?: ()
</div> </div>
</li> </li>
<li> <li>
<div className="mb-2 ml-2 text-center text-xs font-semibold text-slate-10"> <div className="mb-2 ml-2 text-center text-xs font-semibold text-slate-10">
@{new Date().getFullYear()} Allinix.ai | All Rights reserved @{new Date().getFullYear()} Allinix.ai | All Rights reserved
</div> </div>
</li> </li>

View File

@ -39,7 +39,7 @@ export default function SocialLinks() {
whileTap={{ scale: 0.9 }} whileTap={{ scale: 0.9 }}
transition={{ type: "spring", stiffness: 300, damping: 15 }} transition={{ type: "spring", stiffness: 300, damping: 15 }}
> >
<Link href={"https://github.com/Allinix-Labs/Allinix"} target="_blank" className="flex"> <Link href={"https://github.com/Allinix-ai/Allinix-app"} target="_blank" className="flex">
<svg <svg
width="29" width="29"
height="29" height="29"
@ -69,7 +69,7 @@ export default function SocialLinks() {
whileTap={{ scale: 0.9 }} whileTap={{ scale: 0.9 }}
transition={{ type: "spring", stiffness: 300, damping: 15 }} transition={{ type: "spring", stiffness: 300, damping: 15 }}
> >
<Link href={"https://docs.allinix.ai/"} className="flex"> <Link href={"https://allinix-ai.gitbook.io/allinix"} className="flex">
<img src="/gitbook.png" width={28} height={28} /> <img src="/gitbook.png" width={28} height={28} />
</Link> </Link>
</motion.div> </motion.div>

View File

@ -38,7 +38,7 @@ export const PAGE_LINKS: LinkMetadata[] = [
export const SOCIAL_LINKS: LinkMetadata[] = [ export const SOCIAL_LINKS: LinkMetadata[] = [
{ {
name: "Github", name: "Github",
href: "https://github.com/Allinix-Labs/Allinix", href: "https://github.com/Allinix-ai/Allinix-app",
icon: FaGithub, icon: FaGithub,
}, },
// { // {
@ -50,7 +50,7 @@ export const SOCIAL_LINKS: LinkMetadata[] = [
// }, // },
{ {
name: "gitbook", name: "gitbook",
href: "https://docs.allinix.ai/", href: "https://allinix-ai.gitbook.io/allinix",
icon: "/gitbook.png", icon: "/gitbook.png",
width:28, width:28,
height:28 height:28