9 |
10 | About me
11 | Content for about section goes here 🥳
12 |
13 | You can go back
14 |
15 | home
16 |
17 | .
18 |
19 |
20 | )
21 | /* eslint-enable jsx-a11y/accessible-emoji */
22 |
23 | export default AboutPage
24 |
--------------------------------------------------------------------------------
/src/components/Header/Header.module.scss:
--------------------------------------------------------------------------------
1 | @import '@styles/_theme.scss';
2 |
3 | .header {
4 | height: $headerHeight;
5 | display: flex;
6 | align-items: center;
7 | justify-content: center;
8 | }
9 |
10 | .menu {
11 | height: $headerHeight;
12 | font-size: 0.875rem;
13 | display: flex;
14 | flex: 1;
15 | align-items: center;
16 | justify-content: flex-end;
17 |
18 | .menu-item {
19 | color: $colorPrimary;
20 | margin: 0 0.5rem;
21 | justify-content: flex-end;
22 | padding-bottom: 0.25rem;
23 |
24 | &:hover {
25 | box-shadow: 0 1.5px 0 0 currentColor;
26 | }
27 | }
28 | }
29 |
30 | .title {
31 | margin: 0;
32 | }
33 |
--------------------------------------------------------------------------------
/src/styles/_mixins.scss:
--------------------------------------------------------------------------------
1 | @import '@styles/_theme.scss';
2 | @import '@styles/_breakpoints.scss';
3 |
4 | @mixin anchor-style {
5 | color: $textPrimary;
6 |
7 | &:hover {
8 | color: $colorPrimary;
9 | }
10 | }
11 |
12 | @mixin smooth-font {
13 | $smoothTextShadowColor: rgba(0, 0, 0, 0.01) 0 0 1px;
14 | font-size: 100%;
15 | -webkit-text-size-adjust: 100%;
16 | font-variant-ligatures: none;
17 | text-rendering: optimizeLegibility;
18 | -moz-osx-font-smoothing: grayscale;
19 | -webkit-font-smoothing: antialiased;
20 | text-shadow: $smoothTextShadowColor;
21 | }
22 |
23 | @mixin font-size-reset {
24 | font-size: 15px;
25 |
26 | @include breakpoint-large-up {
27 | font-size: 17px;
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/src/components/Header/Header.js:
--------------------------------------------------------------------------------
1 | import PropTypes from 'prop-types'
2 | import React from 'react'
3 | import { Link } from 'gatsby'
4 | import styles from './Header.module.scss'
5 |
6 | const Header = ({ showHome }) => (
7 |