Skip to content

Commit

Permalink
STYLE: Run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
larswittenberg committed Nov 16, 2022
1 parent 2c6b139 commit cd3f6ed
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 25 deletions.
11 changes: 9 additions & 2 deletions components/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,22 @@ export default function Header({ className }) {
<nav>
<ul className="flex flex-col md:flex-row items-center justify-between py-8">
<li>
<NextLink href="/" className="font-medium text-xl sm:text-2xl py-1 px-4 sm:px-6 tracking-wider font-mono">
<NextLink
href="/"
className="font-medium text-xl sm:text-2xl py-1 px-4 sm:px-6 tracking-wider font-mono"
>
&lt;larswittenberg.de /&gt;
</NextLink>
</li>
<li>
<ul className="my-8 lg:my-0 m-auto flex flex-wrap items-center justify-between">
{links.map(({ href, label }) => (
<li key={`${href}${label}`}>
<NextLink href={href} passHref className="font-bold text-xl py-1 px-4 sm:px-6 tracking-wider hover:shadow-linkhover hover:dark:text-darkblue transition-all duration-150 ease-linear">
<NextLink
href={href}
passHref
className="font-bold text-xl py-1 px-4 sm:px-6 tracking-wider hover:shadow-linkhover hover:dark:text-darkblue transition-all duration-150 ease-linear"
>
{label}
</NextLink>
</li>
Expand Down
23 changes: 13 additions & 10 deletions next-seo.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const title = 'Lars Wittenberg - Frontend Web Developer aus Stuttgart';
const description = 'Frontend Web Developer. Pixelschubser. Coder. Nerd. Fahrradfahrer. Aus Stuttgart.';
const title = 'Lars Wittenberg - Frontend Web Developer aus Stuttgart'
const description =
'Frontend Web Developer. Pixelschubser. Coder. Nerd. Fahrradfahrer. Aus Stuttgart.'

const SEO = {
title,
Expand All @@ -11,18 +12,20 @@ const SEO = {
url: 'https://larswittenberg.de/',
title,
description,
images: [{
url: 'https://larswittenberg.de/images/opengraph.png',
alt: title,
width: 1200,
height: 628
}]
images: [
{
url: 'https://larswittenberg.de/images/opengraph.png',
alt: title,
width: 1200,
height: 628,
},
],
},
twitter: {
handle: '@larswittenberg',
site: '@larswittenberg',
cardType: 'summary_large_image',
},
};
}

export default SEO;
export default SEO
4 changes: 2 additions & 2 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module.exports = {
webpack: (config, { isServer }) => {
if (!isServer) {
config.resolve.fallback.fs = false;
config.resolve.fallback.fs = false
}
return config;
return config
},
}
4 changes: 2 additions & 2 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
plugins: {
'tailwindcss/nesting': {},
'tailwindcss': {},
'autoprefixer': {},
tailwindcss: {},
autoprefixer: {},
},
}
16 changes: 7 additions & 9 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ module.exports = {
theme: {
extend: {
colors: {
'orange': '#ef7c17',
'darkblue': '#1c2532',
orange: '#ef7c17',
darkblue: '#1c2532',
},
typography: {
DEFAULT: {
Expand All @@ -18,15 +18,13 @@ module.exports = {
},
},
borderWidth: {
'1': '1px',
1: '1px',
},
boxShadow: {
'link': 'inset 0 -2px 0 0 #ef7c17',
'linkhover': 'inset 0 -1.6em 0 0 #ef7c17',
}
link: 'inset 0 -2px 0 0 #ef7c17',
linkhover: 'inset 0 -1.6em 0 0 #ef7c17',
},
},
},
plugins: [
require('@tailwindcss/typography'),
],
plugins: [require('@tailwindcss/typography')],
}

0 comments on commit cd3f6ed

Please sign in to comment.