Change profile pic
This commit is contained in:
parent
46195dc3d3
commit
f34e72c53e
7
package-lock.json
generated
7
package-lock.json
generated
@ -2497,10 +2497,9 @@
|
|||||||
"integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw=="
|
"integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw=="
|
||||||
},
|
},
|
||||||
"@types/node": {
|
"@types/node": {
|
||||||
"version": "12.6.2",
|
"version": "14.11.2",
|
||||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-12.6.2.tgz",
|
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.11.2.tgz",
|
||||||
"integrity": "sha512-gojym4tX0FWeV2gsW4Xmzo5wxGjXGm550oVUII7f7G5o4BV6c7DBdiG1RRQd+y1bvqRyYtPfMK85UM95vsapqQ==",
|
"integrity": "sha512-jiE3QIxJ8JLNcb1Ps6rDbysDhN4xa8DJJvuC9prr6w+1tIh+QAbYyNF3tyiZNLDBIuBCf4KEcV2UvQm/V60xfA=="
|
||||||
"dev": true
|
|
||||||
},
|
},
|
||||||
"@types/parse-json": {
|
"@types/parse-json": {
|
||||||
"version": "4.0.0",
|
"version": "4.0.0",
|
||||||
|
@ -12,9 +12,10 @@
|
|||||||
"test": "run-p --race dev cy:run"
|
"test": "run-p --race dev cy:run"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@rollup/plugin-typescript": "^6.0.0",
|
||||||
|
"@types/node": "^14.11.2",
|
||||||
"classnames": "^2.2.6",
|
"classnames": "^2.2.6",
|
||||||
"compression": "^1.7.4",
|
"compression": "^1.7.4",
|
||||||
"@rollup/plugin-typescript": "^6.0.0",
|
|
||||||
"date-fns": "^2.16.1",
|
"date-fns": "^2.16.1",
|
||||||
"feed": "^4.2.1",
|
"feed": "^4.2.1",
|
||||||
"front-matter": "^4.0.2",
|
"front-matter": "^4.0.2",
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
<script>
|
<script lang="typescript">
|
||||||
export let status;
|
export let status
|
||||||
export let error;
|
export let error
|
||||||
|
|
||||||
const dev = process.env.NODE_ENV === 'development';
|
const dev = process.env.NODE_ENV === 'development'
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
h1, p {
|
h1,
|
||||||
|
p {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
<script context="module">
|
<script context="module" lang="typescript">
|
||||||
import { take } from 'ramda'
|
import { take } from 'ramda'
|
||||||
|
|
||||||
export function preload({ params, query }) {
|
export function preload({ params, query }) {
|
||||||
return this.fetch(`blog.json`)
|
return this.fetch(`blog.json`)
|
||||||
.then(r => r.json())
|
.then((r) => r.json())
|
||||||
.then(posts => {
|
.then((posts) => {
|
||||||
return { latestPosts: take(5, posts) }
|
return { latestPosts: take(5, posts) }
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script>
|
<script lang="typescript">
|
||||||
import Nav from '../components/Nav.svelte'
|
import Nav from '../components/Nav.svelte'
|
||||||
import Footer from '../components/Footer.svelte'
|
import Footer from '../components/Footer.svelte'
|
||||||
export let segment
|
export let segment
|
||||||
@ -19,7 +19,10 @@
|
|||||||
|
|
||||||
<style>
|
<style>
|
||||||
.app-content {
|
.app-content {
|
||||||
|
display: grid;
|
||||||
|
grid-template-rows: auto 1fr auto;
|
||||||
background: #f2f6f6;
|
background: #f2f6f6;
|
||||||
|
min-height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
main {
|
main {
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
img {
|
img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 420px;
|
|
||||||
margin: 0 0 1em 0;
|
margin: 0 0 1em 0;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
box-shadow: 0px 0px 8px 1px #2d3935;
|
box-shadow: 0px 0px 8px 1px #2d3935;
|
||||||
@ -38,7 +37,10 @@
|
|||||||
|
|
||||||
<header class="index-header">
|
<header class="index-header">
|
||||||
<figure class="profile-pic">
|
<figure class="profile-pic">
|
||||||
<img alt="My eye" src="eye.png" />
|
<picture>
|
||||||
|
<source srcset="images/profile-picture.webp" type="image/webp" />
|
||||||
|
<img alt="My profile picture" src="image/profil-picture.jpg" />
|
||||||
|
</picture>
|
||||||
</figure>
|
</figure>
|
||||||
|
|
||||||
<p class="motto">
|
<p class="motto">
|
||||||
|
BIN
static/images/profile-picture.jpg
(Stored with Git LFS)
Normal file
BIN
static/images/profile-picture.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
static/images/profile-picture.webp
Normal file
BIN
static/images/profile-picture.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 117 KiB |
Loading…
Reference in New Issue
Block a user