Skip to content

Commit

Permalink
466: Website UI nits (#469)
Browse files Browse the repository at this point in the history
* 466: Website UI nits

* Linting

* linting
  • Loading branch information
ivntsng authored Oct 11, 2024
1 parent 5963f53 commit fd81651
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
23 changes: 16 additions & 7 deletions frontend/src/components/nav/Navbar.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useState } from "react";
import { FaBars, FaDiscord, FaGithub } from "react-icons/fa";
import { FaXTwitter } from "react-icons/fa6";
import { FaRegFileLines, FaWpexplorer, FaXTwitter } from "react-icons/fa6";
import { Link, useLocation } from "react-router-dom";

import Logo from "@/components/Logo";
Expand All @@ -26,29 +26,38 @@ const Navbar = () => {
{ name: "Buy", path: "/buy", isExternal: false },
{ name: "Browse", path: "/browse", isExternal: false },
{ name: "Downloads", path: "/downloads", isExternal: false },
{ name: "Docs", path: "https://docs.kscale.dev/", isExternal: true },
{ name: "Research", path: "/research", isExternal: false },
];

const communityItems = [
{
name: "Discord",
path: "https://discord.gg/kscale",
icon: <FaDiscord className="h-5 w-5" />,
description:
"Connect with other robot developers, researchers, and enthusiasts.",
description: "",
},
{
name: "Twitter",
path: "https://x.com/kscalelabs",
icon: <FaXTwitter className="h-5 w-5" />,
description: "Follow us on Twitter for updates on what we're building.",
description: "",
},
{
name: "GitHub",
path: "https://github.com/kscalelabs",
icon: <FaGithub className="h-5 w-5" />,
description: "Check out our open-source projects on GitHub.",
description: "",
},
{
name: "Docs",
path: "https://docs.kscale.dev/",
icon: <FaRegFileLines className="h-5 w-5" />,
description: "",
},
{
name: "Research",
path: "/research",
icon: <FaWpexplorer className="h-5 w-5" />,
description: "",
},
];

Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/ui/PageHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const PageHeader: React.FC<PageHeaderProps> = ({ title, subheading }) => {
});

if (mousePosRef.current) {
const radius = 15;
const radius = 6;
for (let dy = -radius; dy <= radius; dy++) {
for (let dx = -radius; dx <= radius; dx++) {
if (dx * dx + dy * dy <= radius * radius) {
Expand Down

0 comments on commit fd81651

Please sign in to comment.