diff --git a/README.md b/README.md index 06b79a8..9ccd028 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,12 @@ -# cabinet +# vitrine + +A Pure CSS Hugo theme for portfolio websites + +- [x] Scroll snap behaviour on home +- [ ] Button for switching between projects +- [x] Header with CV + Portfolio +- [x] Single Site with just Markdown +- [x] Project summary with picture title tags and a more button +- [x] Highlight and Button color +- [ ] Switch between light and dark in config -A Pure CSS Hugo theme for portfolio websites \ No newline at end of file diff --git a/assets/build/images.sh b/assets/build/images.sh new file mode 100755 index 0000000..9689030 --- /dev/null +++ b/assets/build/images.sh @@ -0,0 +1,31 @@ +#!/bin/bash + +# Libary needed: ImageMagick + +PARAMS=('-quality 60') + +if [ $# -ne 0 ]; then + PARAMS=$@; +fi + +cd $(pwd) + +shopt -s nullglob nocaseglob extglob +shopt -s globstar + +# Resize +sizes=(320 640 960 1280) +for FILE in public/**/*.@(jpg|jpeg|tif|tiff|png|gif); do + DIR=$(dirname "$FILE") + NAME=$(basename "$FILE" | cut -d. -f1) + EXTENSION=$(basename "$FILE" | cut -d. -f2) + for size in ${sizes[@]}; do + convert "$FILE" -resize ${size}x${size}\> "${DIR}/${NAME}-${size}.${EXTENSION}" + done +done + +# Web Optimized Formats +for FILE in public/**/*.@(jpg|jpeg|tif|tiff|png|gif); do + convert $PARAMS "$FILE" "${FILE}".webp; + convert $PARAMS "$FILE" "${FILE}".avif; +done \ No newline at end of file diff --git a/assets/css/main.css b/assets/css/main.css deleted file mode 100644 index 166ade9..0000000 --- a/assets/css/main.css +++ /dev/null @@ -1,22 +0,0 @@ -body { - color: #222; - font-family: sans-serif; - line-height: 1.5; - margin: 1rem; - max-width: 768px; -} - -header { - border-bottom: 1px solid #222; - margin-bottom: 1rem; -} - -footer { - border-top: 1px solid #222; - margin-top: 1rem; -} - -a { - color: #00e; - text-decoration: none; -} diff --git a/assets/images/avatar.jpg b/assets/images/avatar.jpg new file mode 100644 index 0000000..e30b369 Binary files /dev/null and b/assets/images/avatar.jpg differ diff --git a/assets/images/portfolio.png b/assets/images/portfolio.png new file mode 100644 index 0000000..a6bee57 Binary files /dev/null and b/assets/images/portfolio.png differ diff --git a/assets/js/main.js b/assets/js/main.js index e2aac52..e69de29 100644 --- a/assets/js/main.js +++ b/assets/js/main.js @@ -1 +0,0 @@ -console.log('This site was generated by Hugo.'); diff --git a/assets/scss/main.scss b/assets/scss/main.scss new file mode 100644 index 0000000..6bc4223 --- /dev/null +++ b/assets/scss/main.scss @@ -0,0 +1,564 @@ +$font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; +$width: 960px; + +:root { + color-scheme: dark; +} + +body { + background-color: #231D1D; + color: #F5F5F5; +} + +* { + box-sizing: border-box; + word-break: break-word; +} + +html { + scroll-behavior: smooth; +} + +header, footer { + color: white; +} + + +html, body { + height: 100%; +} + +body { + margin: 0; + display: flex; + flex-direction: column; + font-family: $font; + font-weight: lighter; + font-style: normal; + font-size: larger; +} + +h1 { + margin: 0rem; + margin-bottom: 0.5rem; + margin-top: 0.5rem; +} + +p { + //margin: 0.5rem; +} + +a { + text-decoration: none; + color: {{ .Site.Params.color.secondary }}; +} + +{{ if .Site.Params.list.icon }} + + ul { + list-style: none; + padding-left: 1rem; + } + + ul li { + display: flex; + } + + ul li:before { + content: url({{ .Site.Params.list.icon }}); + display: inline-block; + width: 21px; + height: 21px; + margin-right: 10px; + flex-shrink: 0; + } + +{{ end }} + +.col-3 {flex: 25%; width: 25%; max-width: 25%;} +.col-4 {flex: 33.33%; width: 33.33%; max-width: 33.33%;} +.col-5 {flex: 41.66%; width: 41.66%; max-width: 41.66%;} +.col-6 {flex: 50%; width: 50%; max-width: 50%;} +.col-7 {flex: 58.33%; width: 58.33%; max-width: 58.33%;} +.col-8 {flex: 66.66%; width: 66.66%; max-width: 66.66%;} +.col-9 {flex: 75%; width: 75%; max-width: 75%;} +.col-10 {flex: 83.33%; width: 83.33%; max-width: 83.33%;} +.col-11 {flex: 91.66%; width: 91.66%; max-width: 91.66%;} +.col-12 {flex: 100%; width: 100%; max-width: 100%;} + +[class*="col-"] { + float: left; +} + +.rotate-45 {-webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg);} +.rotate-90 {-webkit-transform: rotate(90deg); -moz-transform: rotate(90deg); -ms-transform: rotate(90deg); -o-transform: rotate(90deg); transform: rotate(90deg);} +.rotate-180 { -webkit-transform: rotate(180deg); -moz-transform: rotate(180deg); -ms-transform: rotate(180deg); -o-transform: rotate(180deg); transform: rotate(180deg);} + +.row { + display: flex; + flex-wrap: wrap; + flex-flow: column; +} + +/* Header */ + +header { + height: 80px; + position: sticky; + top: 0; + z-index: 9; + display: flex; + flex-direction: row-reverse; + flex-wrap: wrap; + align-items: center; + text-align: end; + background-color: inherit; + + h2 { + max-width: 960px; + padding-inline: 1rem; + + a { + color: inherit; + } + } + + i { + font-size: x-large; + } + + .items { + display: flex; + flex-grow: 1; + justify-content: right; + + .item { + align-self: center; + padding-inline-end: 16px; + } + } +} + +.progress { + background: {{ .Site.Params.color.primary }}; + height: 5px; + width: 0%; + position: fixed; + top: 0; + z-index: 10; +} + +.scroll-indicator { + display: flex; + justify-content: center; + position: relative; + width: 100%; + bottom: 0; + padding: 2rem; + font-size: x-large; +} + +.totop { + display: inline-flex; + background-color: {{ .Site.Params.color.primary }}; + color: #f2f2f2; + width: 40px; + height: 40px; + align-items: center; + justify-content: center; + border-radius: 50%; + margin: 20px; + position: fixed; + bottom: 0px; + right: 0px; + transition: background-color .3s; + z-index: 10; + visibility: hidden; + opacity: 0; +} + +.totop:hover { + filter: brightness(60%); +} + +.totop.show { + visibility: visible; + opacity: 1; +} + +/* Sections */ + +.scroller { + height: calc(100vh - 80px); + overflow-y: scroll; + scroll-snap-type: y mandatory; + + section { + min-height: 100%; + scroll-snap-align: start; + display: flex; + flex-direction: column; + + .profile { + .content { + margin: auto; + + h1 { + margin-block-end: 1rem; + } + + p { + margin: 0px; + } + + .social { + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: space-evenly; + padding: 2rem; + + i { + font-size: xx-large; + } + + a { + padding-inline: 6px; + color: {{ .Site.Params.color.secondary }}; + } + } + } + } + + .card { + display: flex; + flex-direction: row; + flex-wrap: wrap; + width: 100%; + max-width: 1152px; + margin: auto; + padding: 1rem; + align-items: stretch; + + a { + color: inherit; + } + + .image { + display: flex; + flex: min-content; + justify-content: center; + max-width: 580px; + max-height: 400px; + min-width: 300px; + + picture { + display: flex; + } + } + + .placeholder { + height: 300px; + } + + .content { + display: flex; + flex-direction: column; + flex: 1 1 0%; + //flex: content; + min-width: 300px; + max-width: 800px; + margin-inline: auto; + padding: 1rem; + + h1 { + flex-grow: 1; + color: {{ .Site.Params.color.primary }}; + font-size: xx-large; + } + + .tags { + + .tag + .tag::before { + content: " - " + } + + } + + .more { + display: flex; + justify-content: end; + padding: 1rem; + } + } + } + } +} + +article { + + .card { + display: flex; + flex-direction: row; + flex-wrap: wrap; + padding: 1rem; + margin-block-end: 4rem; + + a { + color: inherit; + } + + .image { + width: 100%; + max-width: 480px; + } + + .placeholder { + height: 300px; + } + + .content { + display: flex; + flex-direction: column; + flex: min-content; + min-width: 300px; + padding: 1rem; + + p { + margin: 0px; + } + } + } +} + +.table-of-contents { + position: fixed; + left: 0px; + top: 0px; + height: 100%; + display: flex; + flex-direction: row; + + .extend { + margin: auto; + padding-block: 1rem; + padding-inline: 0.4rem; + border-radius: 0rem 0.5rem 0.5rem 0rem; + background-color: black; + cursor: pointer; + } +} + +#TableOfContents { + display: none; + margin: auto; + padding-inline: 20px; + border-radius: 0rem 0.5rem 0.5rem 0rem; + background-color: black; + font-size: larger; + + ul { + counter-reset:toc1; + list-style-type:none; + padding-inline-start: 0rem; + padding-block: 0.5rem; + } + + li { + list-style-type:none; + + ul { + counter-reset:toc2; + + li { + list-style-type:none; + + ul { + counter-reset:toc3; + + li:before { + counter-increment:toc3; + content:counter(toc1) "." counter(toc2) "." counter(toc3) " "; + } + } + } + + li:before { + counter-increment:toc2; + content:counter(toc1) "." counter(toc2) " "; + } + } + } + + li:before { + counter-increment:toc1; + content:counter(toc1) ". "; + } +} + +#TableOfContents.show { + display: block; +} + +main { + flex-grow: 1; + display: flex; + flex-direction: column; +} + +.title h1 { + color: {{ .Site.Params.color.primary }}; + font-size: xxx-large; + margin-block-end: 3rem; +} + +main > .content { + padding-top: 9rem; + padding-bottom: 2rem; + padding-right: 1.5rem; + padding-left: 1.5rem; + width: 100%; + max-width: $width; + margin: 0; + align-self: center; + flex-grow: 1; +} + +.list { + margin-block-start: 2rem; +} + +.list > li { + list-style: none; + margin: 0.5rem; +} + +.list > article { + margin: 0.5rem; + padding: 0.5rem; + border: 2px solid gray; + border-radius: 6px; +} + +.list > article > h3 { + margin: 0px; + padding-block: 0.25rem; + font-size: x-large; +} + +.list > article > .meta { + font-size: smaller; + padding-block-end: 1rem; +} + +.meta > span { + padding-inline-end: 1rem; +} + +.list > article > .more { + display: block; + width: 100%; + text-align: right; + font-size: x-large; + border: none; + background: inherit; + color: {{ .Site.Params.color.secondary }}; +} + +.section { + padding-top: 2rem; + padding-bottom: 2.5rem; + padding-right: 1.5rem; + padding-left: 1.5rem; + width: 100%; + margin: 0; + align-self: center; + flex: 1 0 auto; +} + +.section.even { + // background-color: #eee; +} + +.section.highlight { + background-color: {{ .Site.Params.color.primary }}; +} + +.section > .content { + width: 100%; + max-width: $width; + margin: auto; + justify-content: center; +} + +/* Buttons */ +/* TODO: test */ +.button { + font-family: inherit; + font-size: 100%; + line-height: inherit; + color: inherit; + background-color: transparent; + background-image: none; + text-transform: none; + padding: 0; +} + +.button:hover { + filter: brightness(60%); +} + +.button.filled { + background-color: {{ .Site.Params.color.secondary }}; + color: white; + border: 2px solid {{ .Site.Params.color.secondary }}; + border-radius: 4px; + padding: 0.5rem 1.5rem; + text-align: center; + text-decoration: none; + display: inline-block; + font-size: 1rem; +} + +.button.outlined { + background-color: transparent; + color: {{ .Site.Params.color.secondary }}; + border: 2px solid {{ .Site.Params.color.secondary }}; + border-radius: 4px; + padding: 0.5rem 1.5rem; + text-align: center; + text-decoration: none; + display: inline-block; + font-size: 1rem; +} + +.button.outlined:hover { + background-color: {{ .Site.Params.color.secondary }}; + color: white; +} + +/* Images */ + +img { + max-width: 100%; + max-height: 100%; + width: auto; + height: auto; + margin: auto; + object-fit: contain; + vertical-aligh: middle; + border-radius: 6px; +} + +.avatar { + border-radius: 50%; + border: 3px solid {{ .Site.Params.color.primary }}; + object-fit: cover; +} + +.caption { + text-align: center; + color: gray; + font-size: small; + margin: 0px; +} diff --git a/content/_index.md b/content/_index.md index 652623b..ee86fc7 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,9 +1,14 @@ -+++ -title = 'Home' -date = 2023-01-01T08:00:00-07:00 -draft = false -+++ - -Laborum voluptate pariatur ex culpa magna nostrud est incididunt fugiat -pariatur do dolor ipsum enim. Consequat tempor do dolor eu. Non id id anim anim -excepteur excepteur pariatur nostrud qui irure ullamco. +--- +title: Hi, I'm Melissa +image: + url: images/avatar.jpg + alt: Avatar +social: + - type: linkedin + rel: nofollow + url: https://www.linkedin.com/in/melissa-sarria/ + - type: at + url: mailto:melissa.andrea94@hotmail.es + weight: 1 +--- +Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim aeque doleamus animo, cum corpore dolemus, fieri tamen permagna accessio potest, si aliquod aeternum et infinitum impendere malum nobis opinemur. Quod idem licet transferre in voluptatem, ut postea variari voluptas distinguique possit, augeri amplificarique non possit. At. diff --git a/content/cv/index.md b/content/cv/index.md new file mode 100644 index 0000000..ee97dda --- /dev/null +++ b/content/cv/index.md @@ -0,0 +1,22 @@ +--- +title: CV +nav: true +--- + +## Beruflicher Werdegang + +2023 Wissenchafliche Hilskraft (Neurobiopsychologie) Universität Osnabrück / Osnabrück + +2023 Wissenchafliche Hilskraft (Vergleichende Kognitionsbiologie) Universität Osnabrück / Osnabrück + +2020 - 2021 Forschungspraktikantin LobVR / Osnabrück + +## Aus- und Weiterbildungen + +2024 Certified User Experience Designer XDi- Experience Design Institut + +2023 Digital Product Design: UX Research & UI Design Udemy + +2019-2022 M.sc. Cognitive Science Universität Osnabrück / Osnabrück Schwerpunkte: Kognitive Psychologie und Computerlinguitik Thesenthema: A graph approach for the identification of exploratory and exploitative navigational strategies in a Virtual Reality city exploration. Ausgezeichnet mit dem Förderpreis der Universität Osnabrück 2022/2023 gestiftet durch die ROSEN Gruppe + +2013- 2017 Studium zur Psychologin Pontificia Universidad Javeriana / Bogotá, Kolumbien diff --git a/content/posts/_index.md b/content/posts/_index.md index e7066c0..fed6062 100644 --- a/content/posts/_index.md +++ b/content/posts/_index.md @@ -1,7 +1,5 @@ -+++ -title = 'Posts' -date = 2023-01-01T08:30:00-07:00 -draft = false -+++ - -Tempor est exercitation ad qui pariatur quis adipisicing aliquip nisi ea consequat ipsum occaecat. Nostrud consequat ullamco laboris fugiat esse esse adipisicing velit laborum ipsum incididunt ut enim. Dolor pariatur nulla quis fugiat dolore excepteur. Aliquip ad quis aliqua enim do consequat. +--- +title: Blog +draft: true +nav: true +--- diff --git a/content/posts/post-1.md b/content/posts/post-1.md deleted file mode 100644 index 3e3fc6b..0000000 --- a/content/posts/post-1.md +++ /dev/null @@ -1,10 +0,0 @@ -+++ -title = 'Post 1' -date = 2023-01-15T09:00:00-07:00 -draft = false -tags = ['red'] -+++ - -Tempor proident minim aliquip reprehenderit dolor et ad anim Lorem duis sint eiusmod. Labore ut ea duis dolor. Incididunt consectetur proident qui occaecat incididunt do nisi Lorem. Tempor do laborum elit laboris excepteur eiusmod do. Eiusmod nisi excepteur ut amet pariatur adipisicing Lorem. - -Occaecat nulla excepteur dolore excepteur duis eiusmod ullamco officia anim in voluptate ea occaecat officia. Cillum sint esse velit ea officia minim fugiat. Elit ea esse id aliquip pariatur cupidatat id duis minim incididunt ea ea. Anim ut duis sunt nisi. Culpa cillum sit voluptate voluptate eiusmod dolor. Enim nisi Lorem ipsum irure est excepteur voluptate eu in enim nisi. Nostrud ipsum Lorem anim sint labore consequat do. diff --git a/content/posts/post-2.md b/content/posts/post-2.md deleted file mode 100644 index 22b8287..0000000 --- a/content/posts/post-2.md +++ /dev/null @@ -1,10 +0,0 @@ -+++ -title = 'Post 2' -date = 2023-02-15T10:00:00-07:00 -draft = false -tags = ['red','green'] -+++ - -Anim eiusmod irure incididunt sint cupidatat. Incididunt irure irure irure nisi ipsum do ut quis fugiat consectetur proident cupidatat incididunt cillum. Dolore voluptate occaecat qui mollit laborum ullamco et. Ipsum laboris officia anim laboris culpa eiusmod ex magna ex cupidatat anim ipsum aute. Mollit aliquip occaecat qui sunt velit ut cupidatat reprehenderit enim sunt laborum. Velit veniam in officia nulla adipisicing ut duis officia. - -Exercitation voluptate irure in irure tempor mollit Lorem nostrud ad officia. Velit id fugiat occaecat do tempor. Sit officia Lorem aliquip eu deserunt consectetur. Aute proident deserunt in nulla aliquip dolore ipsum Lorem ut cupidatat consectetur sit sint laborum. Esse cupidatat sit sint sunt tempor exercitation deserunt. Labore dolor duis laborum est do nisi ut veniam dolor et nostrud nostrud. diff --git a/content/posts/post-3/bryce-canyon.jpg b/content/posts/post-3/bryce-canyon.jpg deleted file mode 100644 index 9a923be..0000000 Binary files a/content/posts/post-3/bryce-canyon.jpg and /dev/null differ diff --git a/content/posts/post-3/index.md b/content/posts/post-3/index.md deleted file mode 100644 index ca42a66..0000000 --- a/content/posts/post-3/index.md +++ /dev/null @@ -1,12 +0,0 @@ -+++ -title = 'Post 3' -date = 2023-03-15T11:00:00-07:00 -draft = false -tags = ['red','green','blue'] -+++ - -Occaecat aliqua consequat laborum ut ex aute aliqua culpa quis irure esse magna dolore quis. Proident fugiat labore eu laboris officia Lorem enim. Ipsum occaecat cillum ut tempor id sint aliqua incididunt nisi incididunt reprehenderit. Voluptate ad minim sint est aute aliquip esse occaecat tempor officia qui sunt. Aute ex ipsum id ut in est velit est laborum incididunt. Aliqua qui id do esse sunt eiusmod id deserunt eu nostrud aute sit ipsum. Deserunt esse cillum Lorem non magna adipisicing mollit amet consequat. - -![Bryce Canyon National Park](bryce-canyon.jpg) - -Sit excepteur do velit veniam mollit in nostrud laboris incididunt ea. Amet eu cillum ut reprehenderit culpa aliquip labore laborum amet sit sit duis. Laborum id proident nostrud dolore laborum reprehenderit quis mollit nulla amet veniam officia id id. Aliquip in deserunt qui magna duis qui pariatur officia sunt deserunt. diff --git a/content/projects/project2.md b/content/projects/project2.md new file mode 100644 index 0000000..4116e7d --- /dev/null +++ b/content/projects/project2.md @@ -0,0 +1,27 @@ +--- +title: Project 2 +date: 2024-06-01 +tags: [Product Strategy] +overview: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim aeque doleamus animo, cum corpore dolemus, fieri tamen permagna accessio potest, si aliquod aeternum et infinitum impendere malum nobis opinemur. Quod idem licet transferre in voluptatem, ut postea variari voluptas distinguique possit, augeri amplificarique non possit. At etiam Athenis, ut e patre. +image: + url: images/portfolio.png + alt: Portfolio +--- + +# Heading 1 +[Google](https://google.com) Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim aeque doleamus animo, cum corpore dolemus, fieri tamen permagna accessio potest, si aliquod aeternum et infinitum impendere malum nobis opinemur. Quod idem licet transferre in voluptatem, ut postea variari. + +## Heading 2 +Ullus investigandi veri, nisi inveneris, et quaerendi defatigatio turpis est, cum esset accusata et vituperata ab Hortensio. Qui liber cum et mortem contemnit, qua qui est imbutus quietus esse numquam potest. Praeterea bona praeterita grata recordatione renovata delectant. Est. + +### Heading 3 +Ullus investigandi veri, nisi inveneris, et quaerendi defatigatio turpis est, cum esset accusata et vituperata ab Hortensio. Qui liber cum et mortem contemnit, qua qui est imbutus quietus esse numquam potest. Praeterea bona praeterita grata recordatione renovata delectant. Est autem situm in nobis ut et voluptates et dolores nasci fatemur e corporis voluptatibus et doloribus -- itaque concedo, quod modo dicebas, cadere causa. + +#### Heading 4 +Ullus investigandi veri, nisi inveneris, et quaerendi defatigatio turpis est, cum esset accusata et vituperata ab Hortensio. Qui liber cum et mortem contemnit, qua qui est imbutus quietus esse numquam potest. Praeterea bona praeterita grata recordatione renovata delectant. Est autem situm in nobis. + +##### Heading 5 +Ullus investigandi veri, nisi inveneris, et quaerendi defatigatio turpis est, cum esset accusata et vituperata ab Hortensio. Qui liber cum et mortem contemnit, qua qui est imbutus quietus esse numquam potest. Praeterea bona praeterita grata recordatione renovata delectant. Est autem situm in nobis ut et voluptates et dolores nasci fatemur e corporis voluptatibus et doloribus -- itaque. + +###### Heading 6 +Ullus investigandi veri, nisi inveneris, et quaerendi defatigatio turpis est, cum esset accusata et vituperata ab Hortensio. Qui liber cum et mortem contemnit, qua qui est imbutus quietus esse numquam potest. Praeterea bona praeterita. diff --git a/content/projects/smartberg.md b/content/projects/smartberg.md new file mode 100644 index 0000000..3dd52c9 --- /dev/null +++ b/content/projects/smartberg.md @@ -0,0 +1,12 @@ +--- +title: Design of a responsive website for a German city +date: 2024-03-31 +tags: [UX Research, Web Design, Product Strategy] +overview: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim aeque doleamus animo, cum corpore dolemus, fieri tamen permagna accessio potest, si aliquod aeternum et infinitum impendere malum nobis opinemur. Quod idem licet transferre in voluptatem, ut postea variari voluptas distinguique possit, augeri amplificarique non possit. At etiam Athenis, ut e patre. +--- + +Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim aeque doleamus animo, cum corpore dolemus, fieri tamen permagna accessio potest, si. + +Ullus investigandi veri, nisi inveneris, et quaerendi defatigatio turpis est, cum esset accusata et vituperata ab Hortensio. Qui liber cum et mortem contemnit, qua qui est imbutus quietus esse numquam potest. Praeterea bona praeterita grata recordatione renovata delectant. Est autem situm in nobis ut et voluptates et. + +Ullus investigandi veri, nisi inveneris, et quaerendi defatigatio turpis est, cum esset accusata et vituperata ab Hortensio. Qui liber cum et mortem contemnit, qua qui est imbutus quietus esse numquam potest. Praeterea bona praeterita grata recordatione renovata delectant. Est autem situm in nobis ut et voluptates et dolores nasci fatemur e corporis voluptatibus et doloribus -- itaque. diff --git a/hugo.toml b/hugo.toml deleted file mode 100644 index 890e58d..0000000 --- a/hugo.toml +++ /dev/null @@ -1,23 +0,0 @@ -baseURL = 'https://example.org/' -languageCode = 'en-us' -title = 'My New Hugo Site' - -[[menus.main]] -name = 'Home' -pageRef = '/' -weight = 10 - -[[menus.main]] -name = 'Posts' -pageRef = '/posts' -weight = 20 - -[[menus.main]] -name = 'Tags' -pageRef = '/tags' -weight = 30 - -[module] - [module.hugoVersion] - extended = false - min = "0.116.0" diff --git a/hugo.yaml b/hugo.yaml new file mode 100644 index 0000000..6f83e7a --- /dev/null +++ b/hugo.yaml @@ -0,0 +1,11 @@ +baseURL: http://example.com/ +languageCode: en-us +title: UX Portfolio + +enableEmoji: true +enableRobotsTXT: true + +params: + color: + primary: "#04BFAD" + secondary: "#CB9148" diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html new file mode 100644 index 0000000..82e5c7f --- /dev/null +++ b/layouts/_default/_markup/render-image.html @@ -0,0 +1,3 @@ +{{ $img := .Page.Resources.GetMatch .Destination }} + +{{ partial "components/image.html" (dict "img" $img "destination" .Destination "alt" .Text "caption" .Title) }} diff --git a/layouts/_default/home.html b/layouts/_default/home.html index 0df6597..3fd2c9c 100644 --- a/layouts/_default/home.html +++ b/layouts/_default/home.html @@ -1,7 +1,60 @@ {{ define "main" }} - {{ .Content }} - {{ range site.RegularPages }} -
Copyright {{ now.Year }}. All rights reserved.
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 02c2240..93ec7ba 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,5 +1,7 @@ -{{ .Params.overview }}
+