Skip to content

Commit

Permalink
adiciona show do Bambam, Gavin James e insere links de produtoras e r…
Browse files Browse the repository at this point in the history
…edes sociais de artistas
  • Loading branch information
gabrieluizramos committed Mar 7, 2024
1 parent 0bee655 commit cd3c5e5
Show file tree
Hide file tree
Showing 98 changed files with 337 additions and 98 deletions.
266 changes: 210 additions & 56 deletions src/config/photos/concert.json

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions src/config/producers.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"Gig Music": "https://www.instagram.com/gigmusicoficial",
"Dreamers Entertainment": "https://www.instagram.com/drmrs_entertainment"
}
5 changes: 5 additions & 0 deletions src/config/social.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"instagram": "https://www.instagram.com",
"twitter": "https://twitter.com",
"facebook": "https://www.facebook.com"
}
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
3 changes: 3 additions & 0 deletions src/images/concert/7-gig-music/1-bambam/photo-1.webp
Git LFS file not shown
3 changes: 3 additions & 0 deletions src/images/concert/7-gig-music/1-bambam/photo-10.webp
Git LFS file not shown
3 changes: 3 additions & 0 deletions src/images/concert/7-gig-music/1-bambam/photo-11.webp
Git LFS file not shown
3 changes: 3 additions & 0 deletions src/images/concert/7-gig-music/1-bambam/photo-12.webp
Git LFS file not shown
3 changes: 3 additions & 0 deletions src/images/concert/7-gig-music/1-bambam/photo-13.webp
Git LFS file not shown
3 changes: 3 additions & 0 deletions src/images/concert/7-gig-music/1-bambam/photo-14.webp
Git LFS file not shown
3 changes: 3 additions & 0 deletions src/images/concert/7-gig-music/1-bambam/photo-15.webp
Git LFS file not shown
3 changes: 3 additions & 0 deletions src/images/concert/7-gig-music/1-bambam/photo-16.webp
Git LFS file not shown
3 changes: 3 additions & 0 deletions src/images/concert/7-gig-music/1-bambam/photo-17.webp
Git LFS file not shown
3 changes: 3 additions & 0 deletions src/images/concert/7-gig-music/1-bambam/photo-2.webp
Git LFS file not shown
3 changes: 3 additions & 0 deletions src/images/concert/7-gig-music/1-bambam/photo-3.webp
Git LFS file not shown
3 changes: 3 additions & 0 deletions src/images/concert/7-gig-music/1-bambam/photo-4.webp
Git LFS file not shown
3 changes: 3 additions & 0 deletions src/images/concert/7-gig-music/1-bambam/photo-5.webp
Git LFS file not shown
3 changes: 3 additions & 0 deletions src/images/concert/7-gig-music/1-bambam/photo-6.webp
Git LFS file not shown
3 changes: 3 additions & 0 deletions src/images/concert/7-gig-music/1-bambam/photo-7.webp
Git LFS file not shown
3 changes: 3 additions & 0 deletions src/images/concert/7-gig-music/1-bambam/photo-8.webp
Git LFS file not shown
3 changes: 3 additions & 0 deletions src/images/concert/7-gig-music/1-bambam/photo-9.webp
Git LFS file not shown
16 changes: 8 additions & 8 deletions src/index.pug
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@ html(lang="pt-BR")

p.text Sentir a energia de uma música que ecoa em meio à entrega de um artista ao público quando está sobre palco e sublimar esses momentos em algo mais concreto, palpável e visual é uma experiência única e até difícil de descrever.

p.text Se tem algo que me fascina, é isso: conseguir combinar em um único artefato essas duas expressões artísticas, a arte de ver e a arte de ouvir. E é nessa jornada em frente aos palcos que já tive a honra de ter minhas fotos utilizadas pelos veículos
- const vehicles = Object.entries(locals.press)
span.vehicles-list
each vehicle in vehicles
span.vehicles-item
- const [name, url] = vehicle
- const vehicleClass = name.toLowerCase().replace(/\s/g, '');
- const classes = `vehicle ${vehicleClass}`
p.text Se tem algo que me fascina, é isso: conseguir combinar em um único artefato essas duas expressões artísticas, a arte de ver e a arte de ouvir. E é nessa jornada junto aos palcos que já tive a honra de trabalhar e ter minhas fotos utilizadas por alguns veículos de imprensa, bandas e produtoras, como:
- const outlets = [...Object.entries(locals.press), ...Object.entries(locals.producers)]
span.outlets-list
each outlet in outlets
span.outlets-item
- const [name, url] = outlet
- const outletClass = name.toLowerCase().replace(/\s/g, '');
- const classes = `outlet ${outletClass}`
a(class=classes href=url target="_blank") #{name}

figure.avatar
Expand Down
25 changes: 12 additions & 13 deletions src/mixins.pug
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
mixin vehicle(press, more)
- const base = locals.press[press.vehicle]
- const article = press.article;
mixin outlet(outlet, more)
- let base = locals[outlet.category][outlet.name] || locals[outlet.category][outlet.network] || '';
- const article = outlet.article;
- const href = article ? `${base}${article}` : base
- const vehicleClass = press.vehicle.toLowerCase().replace(/\s/g, '');
- const classes = `vehicle ${vehicleClass} ${more && 'more'}`
a(href=href target="_blank" title=press.title class=classes) #{press.vehicle}
- const outletClass = outlet.category === 'social' ? outlet.network : outlet.name.toLowerCase().replace(/\s/g, '');
- const classes = ['outlet', outletClass, more && 'more'].filter(c => c).join(' ');
a(href=href target="_blank" title=press.title class=classes) #{outlet.name}

mixin details(category)
if category.details
Expand All @@ -19,16 +19,15 @@ mixin details(category)
span.detail #{category.details.date} !{" "}
span.info @
span.detail !{" "} #{category.details.venue}
if category.details.press
if category.details.outlet
p.press
- const label = category.details.press.article ? 'Leia a matéria completa: ' : 'Veículo: ';
span.detail #{label}
+vehicle(category.details.press)
if category.details.press.more
span.detail Cobertura:
+outlet(category.details.outlet)
if category.details.outlet.more
p.press
span.detail Veja mais em: !{" "}
each extra in category.details.press.more
+vehicle(extra, true)
each extra in category.details.outlet.more
+outlet(extra, true)

mixin photos(category)
summary.expander(data-emoji=category.emoji)
Expand Down
47 changes: 26 additions & 21 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -211,65 +211,70 @@
color: var(--color-terminal-yellow);
}

.vehicles-list {
.outlets-list {
font-size: var(--font-size-small);
padding-left: var(--spacing-half);
}

.vehicles-item {
.outlets-item {
display: inline;
}

.vehicles-item:not(:first-child):before {
.outlets-item:not(:first-child):before {
content: ', ';
}

.vehicles-item:last-child:before {
.outlets-item:last-child:before {
content: 'e ';
margin-left: var(--spacing-half);
}

.vehicles-item:last-child:after {
.outlets-item:last-child:after {
content: '.';
}

.vehicle {
.outlet {
padding: 0 var(--spacing-half);
border-radius: var(--radius-default);
color: var(--color-black);
display: inline-block;
font-weight: bold;
background: #ffffff;
}

.vehicle.igormiranda {
background: #e84c3d;
.outlet.instagram {
background: #f42a5c;
}

.vehicle.sonoridadeunderground {
background: #f8a002;
.outlet.facebook {
background: #0a65ff;
}

.vehicle.downstage {
background: #d691ac;
.outlet.twitter {
background: #179df1;
}

.vehicle.boomerangmusic {
background: #ac5200;
.outlet.igormiranda {
background: #e84c3d;
}

.vehicle.hedflow {
background: #ffffff;
.outlet.sonoridadeunderground {
background: #f8a002;
}

.vehicle:not(.more):hover {
color: var(--color-white);
.outlet.downstage {
background: #d691ac;
}

.outlet.boomerangmusic {
background: #ac5200;
}

.vehicle.hedflow:hover {
color: initial;
.outlet:hover{
opacity: 0.8;
}

.vehicle.more:not(:last-child) {
.outlet.more:not(:last-child) {
margin-right: var(--spacing-half);
}

Expand Down

0 comments on commit cd3c5e5

Please sign in to comment.