diff options
| author | Jan Tuomi <jans.tuomi@gmail.com> | 2017-12-25 20:34:50 +0200 |
|---|---|---|
| committer | Jan Tuomi <jans.tuomi@gmail.com> | 2017-12-25 20:34:50 +0200 |
| commit | b048975d318da59aa0a31689a21e8f3c1c8ebb5b (patch) | |
| tree | 125a4434994af0b13965bdc9a65c9982b291207c /src/components | |
| parent | 0fe65c416358c8e5ddf209c416e0fe46fb1bf7e9 (diff) | |
Stuff
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/contact.tag (renamed from src/components/footer.tag) | 28 | ||||
| -rw-r--r-- | src/components/content.tag | 6 | ||||
| -rw-r--r-- | src/components/header.tag | 25 | ||||
| -rw-r--r-- | src/components/site.tag | 1 |
4 files changed, 34 insertions, 26 deletions
diff --git a/src/components/footer.tag b/src/components/contact.tag index f79e1b4..e223e5d 100644 --- a/src/components/footer.tag +++ b/src/components/contact.tag @@ -1,4 +1,4 @@ -<footer> +<contact> <div> <a href="https://www.linkedin.com/in/jantuomi/"> <span class="icon"><i class="fa fa-linkedin fa-lg" aria-hidden="true" /></span> @@ -20,11 +20,6 @@ <style> - footer { - position: fixed; - bottom: 1rem; - height: 5.6rem; - } a { text-decoration: none; @@ -48,24 +43,15 @@ } @media screen and (max-width: 600px) { - footer { - height: inherit; - left: 0; - width: 100%; - display: flex; - align-items: center; - justify-content: center; - } - - footer div { - flex-grow: 1; - text-align: center; - } - span.url { display: none; } + + span.icon i { + font-size: 2rem; + margin: 0.5rem; + } } </style> -</footer>
\ No newline at end of file +</contact>
\ No newline at end of file diff --git a/src/components/content.tag b/src/components/content.tag index 67ea0d3..208f531 100644 --- a/src/components/content.tag +++ b/src/components/content.tag @@ -1,9 +1,11 @@ <content> - <subheading text="Things of interest" /> + <subheading text="Contact me" /> + <contact /> + <subheading text="Check out my..." /> <list items={ items } /> <script> - this.items = [{ title: 'My .vimrc', url: '/.vimrc'}]; + this.items = [{ title: '.vimrc', url: '/.vimrc'}]; </script> </content>
\ No newline at end of file diff --git a/src/components/header.tag b/src/components/header.tag index 7c2713a..13e37ae 100644 --- a/src/components/header.tag +++ b/src/components/header.tag @@ -1,10 +1,31 @@ <header> - <h1>Jan Tuomi</h1> + <h1>Hello, my name is Jan</h1> <style> + header { + display: flex; + } + + h1, a { + justify-content: space-between; + align-items: center; + flex-grow: 1; + } + + img { + object-fit: contain; + max-width: 20%; + } + h1 { - font-size: 3rem; + font-size: 5rem; font-weight: 300; } + + @media screen and (max-width: 600px) { + h1 { + font-size: 3rem; + } + } </style> </header>
\ No newline at end of file diff --git a/src/components/site.tag b/src/components/site.tag index 1d09b0d..e703743 100644 --- a/src/components/site.tag +++ b/src/components/site.tag @@ -1,5 +1,4 @@ <site> <header /> <content /> - <footer /> </site>
\ No newline at end of file |
