diff --git a/packages/freesewing.dev/pages/index.js b/packages/freesewing.dev/pages/index.js index b82226ec757..e1ae4c895f2 100644 --- a/packages/freesewing.dev/pages/index.js +++ b/packages/freesewing.dev/pages/index.js @@ -1,29 +1,12 @@ import Page from 'shared/components/wrappers/page.js' import useApp from 'site/hooks/useApp.js' -import ThemePicker from 'shared/components/theme-picker.js' -import Popout from 'shared/components/popout' import Logo from 'shared/components/logos/freesewing.js' export default (props) => { const app = useApp() return ( - - - test - test - test - test - test - test -
{JSON.stringify(Object.keys(app.navigation.reference), null, 2)}
-

- -

- - + + ) } diff --git a/packages/freesewing.shared/components/logos/freesewing.js b/packages/freesewing.shared/components/logos/freesewing.js index ac75e19652f..8a7b44ba6fd 100644 --- a/packages/freesewing.shared/components/logos/freesewing.js +++ b/packages/freesewing.shared/components/logos/freesewing.js @@ -2,43 +2,38 @@ import React from 'react' const colors = require('tailwindcss/colors') const stroke = { - light: 'none', - dark: 'none', - hax0r: 'none', - lgbtq: 'none', - trans: 'none', + light: colors.neutral[300], + dark: colors.neutral[800], + hax0r: colors.lime[700], + lgbtq: colors.neutral[500], + trans: colors.neutral[500], } let step = 0 const fill = { light: ( - - - - + + + + + ), dark: ( - - - + + + + ), - bureaucrats: ( - - - - - - ), hax0r: ( - - {[0,1,2,3,4,5,6,7,8,9].map( i => ( + + {[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20].map( i => ( <> - - - + + + ))} @@ -72,10 +67,10 @@ const fill = { ), } -const Logo = ({ size=false, className='', theme='light' }) => { +const Logo = ({ size=false, className='stroke-0', theme='light' }) => { const svgProps = { xmlns: 'http://www.w3.org/2000/svg', - viewBox: '0 0 48 48', + viewBox: '-1 0 50 50', className: className } if (size) { @@ -84,12 +79,12 @@ const Logo = ({ size=false, className='', theme='light' }) => { } return ( - {fill[theme]} - + + {fill[theme]} + + + + ) } diff --git a/packages/freesewing.shared/components/navigation/primary.js b/packages/freesewing.shared/components/navigation/primary.js index ca0939517bc..a56863083e3 100644 --- a/packages/freesewing.shared/components/navigation/primary.js +++ b/packages/freesewing.shared/components/navigation/primary.js @@ -2,7 +2,7 @@ import get from 'lodash.get' import Icon from 'shared/components/icon/index.js' import Link from 'next/link' import orderBy from 'lodash.orderby' -import Logo from '@freesewing/components/Logo' +import Logo from 'shared/components/logos/freesewing.js' import ThemePicker from 'shared/components/theme-picker.js' import { getTagline } from 'site/utils.js' @@ -100,7 +100,7 @@ const TopLogo = ({ app }) => ( p-2 text-base-content `}> - +