Skip to content

Commit

Permalink
Deploying to master from @ 3539244 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
Deployment bot committed May 23, 2024
1 parent 16e18a3 commit 04c908a
Show file tree
Hide file tree
Showing 7 changed files with 233 additions and 12 deletions.
11 changes: 11 additions & 0 deletions config/translations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"Artistas:": "Artists:",
"Fotos para:": "Photos:",
"Veja mais em:": "Check out:",
"Brasil": "Brazil",
"Irlanda": "Ireland",
"EUA": "USA",
"Animais": "Animals",
"Natureza": "Nature",
"Produtos": "Products"
}
1 change: 1 addition & 0 deletions en.html

Large diffs are not rendered by default.

154 changes: 154 additions & 0 deletions en.pug
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
//- Mixins ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
include mixins.pug

//- Page ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
doctype html
html(lang="en")
head
meta(charset="UTF-8")
meta(http-equiv="X-UA-Compatible" content="IE=edge")
meta(name="description" content="Concert photography, lifestyle, drone, nature")
meta(name="og:description" content="Concert photography, lifestyle, drone, nature")
meta(name="twitter:description" content="Concert photography, lifestyle, drone, nature")
meta(name="viewport" content="width=device-width, initial-scale=1.0")
link(rel="icon" href="https://gabrieluizramos.com.br/favicon-32x32.png")
link(rel="stylesheet" href="https://gabrieluizramos.com.br/theme/main.css")
link(rel="stylesheet" href="./style.css")
script !{" "}
title Gabriel Ramos | Concert Photographer

body.body
.sticky.wrapper
a.language(href="/" title="pt") 🇧🇷

.loader(data-loading)
figure.crow
img(src="images/crow.thumb.webp")

header.header
h1.title Gabriel / Ramos
h2.subtitle Photography
ul.menu
li.menu-item(data-title="contact")
a.menu-link(href="#contact" title="contact")
img.menu-image(src='icons/envelope.svg')
each item in locals.menu
li.menu-item(data-title=item.title)
a.menu-link(href=item.href target="_blank" title=item.title)
- const src = `icons/${item.title}.svg`
img.menu-image(src=src)

div.content

section.section
.wrapper
h3.title.greeting Hi 😀
p.text.greeting I'm <b>Gabriel</b>.

.about
.texts
p.text I fell in love for photography around 2013, influenced by a friend. Since then, I've been dedicating my time to perfecting and improve not only my photographic vision, but the whole stetic around my work and also the way I capture moment through my lenses.

p.text From every niche we can imagine, concert photography always had my heart. Despite the fact I've dedicated myself to the music for a long time, being able to capture unique moments while artists are performing on stage was always something challenging and extremely motivating.

p.text To feel the energy that echoes in the delivery of an artists to its audience on stage and sublimating these moments in something concrete, palpable and visual is a unique experience that's even hard to describe.

p.text That's the thing that fascinates me: combining in a single artifact two artistic expressions, the art of photography and the art of music. In this journey on the stages I've had the honor to work and had my photos used by many press outlets, bands and producers. Hope you'll enjoy my work!

figure.avatar
img(src="https://github.com/gabrieluizramos.png" alt="foto Gabriel Ramos" loading="lazy")

section.section.music
.wrapper
h3.title 🎙 Shows
-
const concerts = Object.entries(concert).reduce((concerts, [name, values]) => {
const rest = values.filter(c => !c.highlighted);
const currentHighlights = values.filter(c => c.highlighted);
let highlights = concerts.highlights ? [...concerts.highlights, ...currentHighlights] : currentHighlights;
let count = concerts.count || 0;
count += currentHighlights.length + rest.length
return {
...concerts,
[name]: rest,
highlights,
count,
}
}, {})
h4.subtitle.subdivision
span Highlights ⭐️
+gallery(concerts.highlights)

h4.subtitle.subdivision
span News 🆕
+gallery(concerts.recent, true)

+archive(concerts.archived)
section.section
.wrapper
h3.title A bit more of history

p.text Since it started out as a hobby, for many years I've shot with smartphones.

p.text Although it might seem a bit limited for anyone reading it for the first time, we all know that who takes a good photo is who's behind the lens, not the equipment. After so long photographing with fixed lenses, I turned out to notice everiday situations in a different perspective, and that's how one of my simplest photos, taken with a phone, used to have my biggest view/download rate on Unsplash (<a href="https://unsplash.com/photos/MqnJttIdHGQ" target="_blank">photo</a>), with almost 3M views today.

p.text With that, I have a little challenge for you. Can you find out which photos in my portfolio were done with a smartphone? Let me know!

section.section.world
.wrapper
h3.title 🌎 Everiday life & Travel
+gallery(locals.world)

section.section
.wrapper
h3.title Beyond the usual

p.text Although photographing concerts is what really moves me, capturing everyday situations is something easy to do on a daily basis. I always bring my camera when I'm out for a walk on somewhere new.

p.text Photographing by passion allows me to try new different niches, including random ones like game photography (you can see it in my <a href="https://www.flickr.com/photos/gabrieluizramos/" target="_blank">Flickr</a>), nature and animals.

section.section.nature
.wrapper
h3.title 🌱 Nature & Animals
+gallery(locals.nature)

section.section
.wrapper
h3.title Lifestyle

p.text And of course, like many other photographers, there might be some ocasions to shot products here and there. From scented candles, to workout accessories or any other product I've bought that I'd like to register.

p.text And around sport, I've also had the opportunity to capture some athletes during CrossFit workouts.

section.section.lifestyle
.wrapper
h3.title 🏋🏼 Sports & Products
+gallery(locals.lifestyle)

section.section#contact
.wrapper
h3.title Contact me & Download

p.text In case you wanna chat, just shoot me an email on <a href="mailto:[email protected]">[email protected]</a>. You can also ping me online in any of my social media, like my Instagram <a href="https://www.instagram.com/gabrieluizramos/" target="_blank">@gabrieluizramos</a>.

p.text Oh! And my username in most social medias around is always the same. Since I also work at tech, please don't be surprised in case you see any related content around the internet.

p.text In case you wanna use any photo of mine, you can do that by downloading them on my <a href="https://unsplash.com/@gabrieluizramos" target="_blank">Unsplash profile</a> or on <a href="https://www.pexels.com/@gabrieluizramos/" target="_blank">Pexels</a> and download some of my high-quality shots completely. I'll be happy if you end up giving me the credits and even happier if you end up using my photo to compose a work of yours and show me the result!

p.text In case you want any photo that's not on this platforms or in a specific format, just shoot me a message. Will be a pleasure to send you these files (in case I'm allowed to, of course).

p.text Feel free to ping me if you need anything. See you around!

footer.footer
a(href="https://gabrieluizramos.com.br/" target="_blank") @gabrieluizramos


dialog.modal#modal
.container
figure.figure.polaroid(data-alt="Loading...")
img.img
button.close &times;

script(src="./script.js")
2 changes: 1 addition & 1 deletion index.html

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions index.pug
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ html(lang="pt-BR")
title Fotografia | Gabriel Ramos

body.body
div.loader(data-loading)
.sticky.wrapper
a.language(href="/en" title="en") 🇺🇸

.loader(data-loading)
figure.crow
img(src="images/crow.thumb.webp")

Expand Down Expand Up @@ -132,15 +135,15 @@ html(lang="pt-BR")
.wrapper
h3.title Além do comum

p.text Embora fotografar shows ao vivo seja o que realmente me atrai, e registrar situações cotidinas seja mais simples de encaixar no meu dia-a-dia. Sempre levo minha câmera quando vou dar uma volta por algum lugar novo.
p.text Embora fotografar shows ao vivo seja o que realmente me atrai, registrar situações cotidinas é mais simples de encaixar no meu dia-a-dia. Sempre levo minha câmera quando vou dar uma volta por algum lugar novo.

p.text Fotografar por paixão me permite experimentar muitos segmentos diferentes, incluindo até alguns variados como fotografia de jogos (como você pode ver no meu <a href="https://www.flickr.com/photos/gabrieluizramos/" target="_blank">Flickr</a>), natureza e animais selvagens e domésticos.

p.text Clicar animais em seu espaço e situações corriqueiras é algo simples, mas que também traz uma leveza e transforma qualquer passeio em uma reserva ou refúgio biológico em algo único.

section.section.nature
.wrapper
h3.title 🌱 Natureza & Vida Selvagem
h3.title 🌱 Natureza & Animais
+gallery(locals.nature)

section.section
Expand Down
14 changes: 8 additions & 6 deletions mixins.pug
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
- const translate = (text) => locals.translate && locals.translations[text] || text;

mixin outlet(outlet, more)
- let base = locals.outlet[outlet.name] || locals.social[outlet.social] || '';
- const article = outlet.article;
Expand All @@ -11,7 +13,7 @@ mixin details(category)
.details
if category.details.artists
dl.artists
dt.artist.detail Artistas: !{" "}
dt.artist.detail #{translate("Artistas:")} !{" "}
each artist in category.details.artists
dd.artist.info #{artist}
if category.details.venue && category.details.date
Expand All @@ -22,18 +24,18 @@ mixin details(category)
if category.details.outlet
if category.details.outlet.name
p
span.detail Fotos para: !{" "}
span.detail #{translate("Fotos para:")} !{" "}
+outlet(category.details.outlet)
if category.details.outlet.more
p
span.detail Veja mais em: !{" "}
span.detail #{translate("Veja mais em:")} !{" "}
each extra in category.details.outlet.more
+outlet(extra, true)

mixin photos(category)
summary.expander(data-emoji=category.emoji)
h4.subtitle
span #{category.title}
span #{translate(category.title)}
+details(category)
.gallery
ul.scrollable
Expand All @@ -46,7 +48,7 @@ mixin photos(category)
button.clickable
figure
- const loading = category.open ? 'eager' : 'lazy';
img(src=img data-href=href alt=category.title loading=loading)
img(src=img data-href=href alt=translate(category.title) loading=loading)
mixin accordion(category)
if category.open
details.accordion(open)
Expand All @@ -66,5 +68,5 @@ mixin archive(items)
details.accordion.archive
summary.expander.subdivision
h4.subtitle.subdivision
span.check Ver
span.check
+gallery(items, true)
54 changes: 52 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
.sticky {
position: sticky;
top: 0;
font-size: var(--font-size-big);
display: flex;
flex-direction: row-reverse;
}
.sticky.wrapper {
padding: 0;
}

.language {
display: inline-block;
background: var(--color-post-background);
padding: 0 var(--spacing-half);
border-radius: 0 0 var(--radius-default) var(--radius-default);
position: relative;
}

.header {
text-align: center;
}
Expand Down Expand Up @@ -26,7 +45,8 @@
position: relative;
}

.menu-item:after {
.menu-item:after,
.language:after {
content: attr(data-title);
display: flex;
align-items: center;
Expand All @@ -41,11 +61,21 @@
transition: var(--transition-default);
}

.menu-item:hover:after {
.language:after {
content: attr(title);
transform: translateY(px);
}

.menu-item:hover:after,
.language:hover:after {
opacity: 1;
transform: translateY(0);
}

.language:hover:after {
transform: translateY(5px);
}

.menu-link {
display: flex;
padding: var(--spacing-default);
Expand All @@ -57,6 +87,7 @@
}

.content {
position: relative;
color: var(--color-post-color);
}

Expand Down Expand Up @@ -116,6 +147,10 @@
content: '';
}

.accordion.archive > .expander .subtitle .check:before {
content: "Ver ";
}

.accordion.archive > .expander .subtitle .check:after {
content: 'mais 👈';
}
Expand Down Expand Up @@ -660,4 +695,19 @@
display: flex;
justify-content: center;
}
}


/* EN */

html[lang="en"] .accordion.archive > .expander .subtitle .check:before {
content: "";
}

html[lang="en"] .accordion.archive > .expander .subtitle .check:after {
content: 'More 👈';
}

html[lang="en"] .accordion.archive[open] > .expander .subtitle .check:after {
content: 'More 👇';
}

0 comments on commit 04c908a

Please sign in to comment.