Skip to content

Commit

Permalink
Merge 22d9ef0 into 1f27683
Browse files Browse the repository at this point in the history
  • Loading branch information
heyjul3s authored Jan 2, 2021
2 parents 1f27683 + 22d9ef0 commit 1486dba
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/components/AnchorLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { theme } from '../theme';
type Props = {
href: string;
openAsNewTab?: boolean;
style?: React.CSSProperties;
variant?: string;
children: React.ReactChild | React.ReactChildren;
};
Expand Down
10 changes: 9 additions & 1 deletion docs/components/Global/NavTop/NavTop.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
import React from 'react';
import { AnchorLink } from '../../AnchorLink';
import { ArtifakTypeLogo } from '../../../assets/ArtifakTypeLogo';
import { NavTopContainer, NavTopMenu, NavTopLink } from './styles';

export function NavTop() {
return (
<NavTopContainer>
<ArtifakTypeLogo />
<AnchorLink
href="/"
style={{
display: 'flex'
}}
>
<ArtifakTypeLogo />
</AnchorLink>
<NavTopMenu>
<NavTopLink href="https//github.com/heyjul3s/artifak">
Github
Expand Down
2 changes: 1 addition & 1 deletion docs/components/Logo/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import styled from 'styled-components';

export const SVGlogo = styled.svg`
width: 100%;
max-width: 80px;
max-width: 100px;
padding-bottom: 1em;
@media (min-width: 1025px) {
Expand Down
5 changes: 4 additions & 1 deletion docs/components/Nav/Desktop/DesktopNav.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from 'react';
import { AnchorLink } from '../../AnchorLink';
import { Brand } from '../../Global/Brand/Brand';
import { Tagline } from '../../Global/Tagline/Tagline';
import { NavContainer, ListItem } from './styles';
Expand All @@ -8,7 +9,9 @@ import { links } from '../constants';
export function DesktopNav() {
return (
<aside>
<Brand position="flex-start" />
<AnchorLink href="/">
<Brand position="flex-start" />
</AnchorLink>
<Tagline align="left" />
<NavContainer>
{Object.keys(links).map((key, i) => {
Expand Down

0 comments on commit 1486dba

Please sign in to comment.