1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2024-12-22 17:23:22 +01:00

layout tweaks

This commit is contained in:
Matthias Kretschmann 2022-11-16 23:06:26 +00:00
parent 98f1d88db8
commit 66cb27fbf7
Signed by: m
GPG Key ID: 606EEEF3C479A91F
5 changed files with 7 additions and 8 deletions

View File

@ -1,8 +1,8 @@
.header { .header {
position: relative; position: relative;
padding: calc(var(--spacer) / 2); padding: calc(var(--spacer) / 2);
padding-top: 30vh; padding-top: 25vh;
min-height: calc(90vh - var(--spacer)); min-height: calc(80vh - var(--spacer));
max-height: 1000px; max-height: 1000px;
text-align: center; text-align: center;
display: flex; display: flex;

View File

@ -15,7 +15,7 @@ type Props = {
export default function Header({ small }: Props) { export default function Header({ small }: Props) {
return ( return (
<header className={`${styles.header} ${small ? styles.small : null}`}> <header className={`${styles.header} ${small ? styles.small : ''}`}>
<LogoUnit small={small} /> <LogoUnit small={small} />
{!small ? <Networks /> : null} {!small ? <Networks /> : null}
<div className={styles.meta}> <div className={styles.meta}>

View File

@ -1,7 +1,6 @@
.logounit { .logounit {
pointer-events: none; pointer-events: none;
display: block; display: block;
width: 100%;
} }
.logo { .logo {

View File

@ -1,7 +1,5 @@
.networks { .networks {
padding-top: var(--spacer); padding-top: var(--spacer);
width: 100%;
text-align: center;
} }
.title { .title {
@ -25,6 +23,8 @@
stroke: var(--brand-grey-light); stroke: var(--brand-grey-light);
width: 24px; width: 24px;
height: 24px; height: 24px;
transition: stroke 0.2s var(--easing);
will-change: stroke;
} }
.link:hover svg, .link:hover svg,

View File

@ -26,7 +26,7 @@ export const moveInTop = {
export const moveInBottom = { export const moveInBottom = {
initial: { initial: {
opacity: 0, opacity: 0,
y: 50, y: 20,
transition: { type: 'spring' } transition: { type: 'spring' }
}, },
enter: { enter: {
@ -40,7 +40,7 @@ export const moveInBottom = {
}, },
exit: { exit: {
opacity: 0, opacity: 0,
y: 50, y: 20,
transition: { transition: {
type: 'spring' type: 'spring'
} }