Skip to content

Commit

Permalink
Updated UI a little
Browse files Browse the repository at this point in the history
Updated state/store management
  • Loading branch information
Marvin Heilemann committed Jan 7, 2020
1 parent c86a662 commit 280248d
Show file tree
Hide file tree
Showing 27 changed files with 5,020 additions and 3,639 deletions.
9 changes: 6 additions & 3 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
- [ ] update NPM
- [ ] see if new start template has some recommendations
- [x] update NPM
- [x] see if new start template has some recommendations
- [ ] read docs a little
- [ ] repair console errors
- [ ] remove deprecated stuff
- [ ] check why `-` is a regular file and not `f`
- [x] check why `-` is a regular file and not `f`

* [x] add eslint
* [x] use Gatsby Link component
Expand All @@ -16,6 +16,7 @@
* [x] add custom slug to all pages
* [ ] test `postcss-easing-gradients` with Scss loaded in `/src`
* [ ] add md table of contents
* [ ] new start page: https://labs.semplice.com/s5-vertical-grid
* [x] test purgecss with classes from Markdown files
* [ ] add NOW deployment
- [ ] Setup Nameserver
Expand Down Expand Up @@ -43,9 +44,11 @@
- [ ] More text
- [ ] Update images
* [ ] Upload some photos (best off's)
* [ ] setup SimpleAnalytics
* [ ] check all pages with screen reader
* [ ] check all pages with reduced motion
* [ ] check all pages with reduced transparency
* [ ] PWA: add service worker for offline usage
* [ ] add tests?!
* [ ] ~~move from bash script to [Nim][2]~~
* [ ] check markdown for ["Vary sentence length"][3]
Expand Down
23 changes: 10 additions & 13 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require('dotenv').config({
const path = require('path')
const { yellow } = require('kleur')
const { getPkgVersion, siteMetadata } = require('./gatsby/utils')
const { activeEnv } = require('./gatsby/environment')
const { activeEnv, isDev } = require('./gatsby/environment')

console.log(`Using environment: ${yellow(activeEnv)}\n`)

Expand All @@ -24,6 +24,7 @@ module.exports = {
root: './src',
aliases: {
'@app': './',
'@store': './store',
'@components': './components',
'@layouts': './layouts',
'@scripts': './scripts',
Expand All @@ -33,13 +34,7 @@ module.exports = {
},
},
},
// `gatsby-plugin-layout`,
{
resolve: 'gatsby-plugin-transition-link',
options: {
layout: require.resolve(`./src/layouts/Index.jsx`),
},
},
`gatsby-plugin-layout`,
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-plugin-canonical-urls`,
Expand Down Expand Up @@ -165,11 +160,11 @@ module.exports = {
],
thanks: [`Gatsby`, `Node`],
site: {
Standards: 'HTML5, SCSS, JSON, TXT, ES10',
Components: 'Normalize.css, Tailwindcss',
Softwares: 'VS Code, SublimeText, Brave',
Standards: 'HTML5, SCSS, JSON, TXT, ESNEXT, GraphQL, API, Rest',
Components: 'Normalize.css, Preact, React',
Softwares: 'VS Code, SublimeText, Brave, Firefox Developer Edition',
},
note: `Made in the beautiful Frankfurt am Main 🏙`,
note: `Made in the beautiful city Frankfurt am Main 🏙`,
},
},
{
Expand Down Expand Up @@ -197,11 +192,13 @@ module.exports = {
resolve: 'gatsby-plugin-webpack-bundle-analyzer',
options: {
analyzerMode: 'static',
production: true,
disable: isDev,
openAnalyzer: true,
reportFilename: path.resolve(
__dirname,
`reports/v${getPkgVersion()}/treemap.html`
),
openAnalyzer: false,
},
},
],
Expand Down
21 changes: 3 additions & 18 deletions metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,48 +11,33 @@ module.exports = {
'writings',
'photography',
],
/**
* - => regular file
* d => directory
* l => link
*/
menuLinks: [
{
name: 'Root',
link: '/',
type: null,
},
{
name: 'About',
link: '/about',
type: '-',
},
{
name: 'Setup',
// link: '/about/setup', use Notion API later?
// link: '/about/setup', // NOTE: Maybe use Notion API later?
link:
'https://www.notion.so/marvins/Setup-9ad349afe68942ae807dc31c9afccd7d',
type: 'l',
external: true,
},
{
name: 'Projects',
link: '/projects',
type: 'd',
},
{
name: 'Photography',
link: '/photography',
type: 'd',
},
{
name: 'Writings',
link: '/writings',
type: 'd',
},
{
name: 'CHANGELOG.md',
name: 'Changelog',
link: '/changelog',
type: '-',
},
],
socialLinks: [
Expand Down

0 comments on commit 280248d

Please sign in to comment.