Skip to content

Commit

Permalink
feat: visual tweaks on connect extension page (#987)
Browse files Browse the repository at this point in the history
  • Loading branch information
euharrison authored Aug 9, 2024
1 parent 96ffde3 commit 85ce86f
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 7 deletions.
2 changes: 1 addition & 1 deletion apps/namadillo/src/App/Common/Container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const Container = ({
</header>
<div
className={clsx(
"xl:grid xl:grid-cols-[220px_auto] xl:gap-2 min-h-[calc(100svh-95px)]"
"grid xl:grid-cols-[220px_auto] xl:gap-2 min-h-[calc(100svh-95px)]"
)}
>
<aside
Expand Down
10 changes: 9 additions & 1 deletion apps/namadillo/src/App/Common/Intro.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { ActionButton, Image } from "@namada/components";
import { ConnectExtensionButton } from "App/Common/ConnectExtensionButton";
import clsx from "clsx";
import { DISCORD_URL } from "urls";

export const Intro = (): JSX.Element => {
return (
Expand All @@ -17,7 +18,14 @@ export const Intro = (): JSX.Element => {
</div>
<div className="flex gap-4 w-full">
<ConnectExtensionButton />
<ActionButton size="sm" outlineColor="yellow" borderRadius="sm">
<ActionButton
href={DISCORD_URL}
target="_blank"
rel="noreferrer"
size="sm"
outlineColor="yellow"
borderRadius="sm"
>
Help
</ActionButton>
</div>
Expand Down
6 changes: 5 additions & 1 deletion apps/namadillo/src/App/Common/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const Navigation = (): JSX.Element => {
href={DISCORD_URL}
className="hover:text-cyan"
target="_blank"
rel="nofollow noreferrer"
rel="noreferrer"
>
Help
</a>
Expand All @@ -73,6 +73,8 @@ export const Navigation = (): JSX.Element => {
<li>
<a
href={TWITTER_URL}
target="_blank"
rel="noreferrer"
className="transition-colors duration-300 hover:text-cyan"
>
<BsTwitterX />
Expand All @@ -81,6 +83,8 @@ export const Navigation = (): JSX.Element => {
<li>
<a
href={DISCORD_URL}
target="_blank"
rel="noreferrer"
className="transition-colors duration-300 hover:text-cyan"
>
<BsDiscord />
Expand Down
4 changes: 1 addition & 3 deletions apps/namadillo/src/App/Common/PageWithSidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ type PageWithSidebar = {
export const PageWithSidebar = ({ children }: PageWithSidebar): JSX.Element => {
return (
<div
className={clsx(
"w-full flex flex-col gap-2 min-h-full lg:grid lg:grid-cols-[auto_240px]"
)}
className={clsx("w-full min-h-full grid lg:grid-cols-[auto_240px] gap-2")}
>
{children}
</div>
Expand Down
2 changes: 1 addition & 1 deletion apps/namadillo/src/App/Common/Setup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const Setup = ({ onChange }: SetupProps): JSX.Element => {
href={DISCORD_URL}
className="underline"
target="_blank"
rel="nofollow noreferrer"
rel="noreferrer"
>
here
</a>
Expand Down
1 change: 1 addition & 0 deletions apps/namadillo/src/App/Sidebars/ProposalDiscord.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export const ProposalDiscord: React.FC = () => {
backgroundHoverColor="cyan"
href={DISCORD_URL}
target="_blank"
rel="noreferrer"
>
Discord
</ActionButton>
Expand Down

0 comments on commit 85ce86f

Please sign in to comment.