mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-05-07 01:02:36 +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
|
@ -1,5 +1,9 @@
|
|||
import { Avatar, utils } from '@roleypoly/design-system/atoms/avatar';
|
||||
import { AccentTitle, AmbientLarge } from '@roleypoly/design-system/atoms/typography';
|
||||
import {
|
||||
AccentTitle,
|
||||
AmbientLarge,
|
||||
CompletelyStylelessLink,
|
||||
} from '@roleypoly/design-system/atoms/typography';
|
||||
import { GuildSlug } from '@roleypoly/types';
|
||||
import * as React from 'react';
|
||||
import { GoPencil } from 'react-icons/go';
|
||||
|
@ -25,12 +29,12 @@ export const ServerMasthead = (props: ServerMastheadProps) => {
|
|||
<Name>
|
||||
<AccentTitle>{props.guild.name}</AccentTitle>
|
||||
{props.editable && (
|
||||
<a href={`/s/${props.guild.id}/edit`}>
|
||||
<CompletelyStylelessLink to={`/s/${props.guild.id}/edit`}>
|
||||
<Editable role="button">
|
||||
<GoPencil />
|
||||
<AmbientLarge>Edit Server</AmbientLarge>
|
||||
</Editable>
|
||||
</a>
|
||||
</CompletelyStylelessLink>
|
||||
)}
|
||||
</Name>
|
||||
</Wrapper>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue