mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-05-06 00:32:35 +00:00
fix(design-system): fix styling regression from removing next/link (#168)
This commit is contained in:
parent
99952aa19f
commit
5e8876a90c
6 changed files with 28 additions and 24 deletions
|
@ -2,7 +2,11 @@ import { Avatar, utils } from '@roleypoly/design-system/atoms/avatar';
|
|||
import { Button } from '@roleypoly/design-system/atoms/button';
|
||||
import { DotOverlay } from '@roleypoly/design-system/atoms/dot-overlay';
|
||||
import { Hero } from '@roleypoly/design-system/atoms/hero';
|
||||
import { AccentTitle, SmallTitle } from '@roleypoly/design-system/atoms/typography';
|
||||
import {
|
||||
AccentTitle,
|
||||
CompletelyStylelessLink,
|
||||
SmallTitle,
|
||||
} from '@roleypoly/design-system/atoms/typography';
|
||||
import { evaluatePermission } from '@roleypoly/misc-utils/hasPermission';
|
||||
import { GuildSlug, UserGuildPermissions } from '@roleypoly/types';
|
||||
import * as React from 'react';
|
||||
|
@ -63,11 +67,11 @@ const adminMessage = (id: string) => (
|
|||
</FlexLine>
|
||||
<FlexLine>
|
||||
<div>
|
||||
<a href={`/machinery/bot-join?id=${id}`}>
|
||||
<CompletelyStylelessLink to={`/machinery/bot-join?id=${id}`}>
|
||||
<Button color="discord" icon={<FaDiscord />}>
|
||||
Add Roleypoly
|
||||
</Button>
|
||||
</a>
|
||||
</CompletelyStylelessLink>
|
||||
</div>
|
||||
</FlexLine>
|
||||
</>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue