Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid using pixabay images in templates and Sunflower instances. #708

Merged
merged 6 commits into from
Aug 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions assets/css/editor-style.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@font-face {
font-family: GrueneType;
src: url("assets/fonts/GrueneType-BlackCondensedItalic.woff2") format("woff2"), url("assets/fonts/GrueneType-BlackCondensedItalic.ttf") format("truetype");
src: url("../fonts/GrueneType-BlackCondensedItalic.woff2") format("woff2"), url("../fonts/GrueneType-BlackCondensedItalic.ttf") format("truetype");
font-weight: 900;
font-style: normal;
font-display: swap;
Expand Down Expand Up @@ -520,9 +520,10 @@ p a {
}

.next-events {
background-image: url("../img/sunflower1.jpg");
background-image: url("../img/jeb-buchman-NjrjrdJE8As-unsplash-1.jpg");
background-size: cover;
background-position: top;
flex-direction: column;
}

.sunflower-has-background-dim>* {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/img/sunflower1.jpg
Binary file not shown.
1 change: 0 additions & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
require_once __DIR__ . '/functions/activation.php';
require_once __DIR__ . '/functions/comments.php';
require_once __DIR__ . '/functions/icalimport.php';
require_once __DIR__ . '/functions/pictureimport.php';
require_once __DIR__ . '/functions/emailscrambler.php';
require_once __DIR__ . '/functions/contact-form.php';
require_once __DIR__ . '/functions/api.php';
Expand Down
108 changes: 18 additions & 90 deletions functions/block-patterns/elemente/person-2.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<!-- wp:columns -->
<!-- wp:columns {"metadata":{"categories":["sunflower-elemente"],"patternName":"sunflower/person-2","name":"Person-2"}} -->
<div class="wp-block-columns"><!-- wp:column {"className":"mb-md-4"} -->
<div class="wp-block-column mb-md-4"><!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column -->
<div class="wp-block-column"><!-- wp:media-text {"align":"wide","mediaId":152,"mediaLink":"http://localhost/demo/?attachment_id=152","mediaType":"image","className":"person has-shadow"} -->
<div class="wp-block-media-text alignwide is-stacked-on-mobile person has-shadow"><figure class="wp-block-media-text__media"><img src="https://sunflower-theme.de/demo/wp-content/uploads/sites/6/2021/01/sunflower-flower-summer-blossom-4298808-1024x682.jpg" alt="Sunflower Flower Summer Blossom - Bru-nO / Pixabay" class="wp-image-152 size-full"/></figure><div class="wp-block-media-text__content"><!-- wp:paragraph {"placeholder":"Inhalt…","className":"person-name"} -->
<div class="wp-block-column"><!-- wp:media-text {"align":"wide","mediaType":"image","className":"person has-shadow"} -->
<div class="wp-block-media-text alignwide is-stacked-on-mobile person has-shadow"><figure class="wp-block-media-text__media"><img src="https://sunflower-theme.de/demo/wp-content/uploads/sites/6/2024/08/Soncnica_-_Sunflower_-_Helianthus_annuus-1024x768.jpg" alt="Eine gelbe Sonnenblume vor blauem Himmel."/></figure><div class="wp-block-media-text__content"><!-- wp:paragraph {"placeholder":"Inhalt…","className":"person-name"} -->
<p class="person-name">Vorname Nachname-Doppelname</p>
<!-- /wp:paragraph -->

Expand All @@ -15,99 +15,23 @@
<p class="person-mail no-link"><a href="mailto:[email protected]">[email protected]</a></p>
<!-- /wp:paragraph -->

<!-- wp:group {"className":"d-flex p-0"} -->
<div class="wp-block-group d-flex p-0"><div class="wp-block-group__inner-container">
<!-- wp:sunflower/meta-data {"icon":"fab fa-x-twitter"} -->
<div class="wp-block-sunflower-meta-data"><a href="#" target="_blank" rel="noopener noreferrer"><i class="fab fa-x-twitter"></i></a></div>
<!-- /wp:sunflower/meta-data -->

<!-- wp:sunflower/meta-data {"icon":"fab fa-bluesky"} -->
<div class="wp-block-sunflower-meta-data"><a href="#" target="_blank" rel="noopener noreferrer"><i class="fab fa-bluesky"></i></a></div>
<!-- /wp:sunflower/meta-data -->

<!-- wp:sunflower/meta-data {"icon":"fab fa-facebook-f"} -->
<div class="wp-block-sunflower-meta-data"><a href="#" target="_blank" rel="noopener noreferrer"><i class="fab fa-facebook-f"></i></a></div>
<!-- /wp:sunflower/meta-data -->

<!-- wp:sunflower/meta-data {"icon":"fab fa-facebook-f"} -->
<div class="wp-block-sunflower-meta-data"><a href="#" target="_blank" rel="noopener noreferrer"><i class="fab fa-whatsapp"></i></a></div>
<!-- /wp:sunflower/meta-data -->

<!-- wp:sunflower/meta-data {"icon":"fab fa-threads"} -->
<div class="wp-block-sunflower-meta-data"><a href="#" target="_blank" rel="noopener noreferrer"><i class="fab fa-threads"></i></a></div>
<!-- /wp:sunflower/meta-data -->

<!-- wp:sunflower/meta-data {"icon":"fab fa-instagram"} -->
<div class="wp-block-sunflower-meta-data"><a href="#" target="_blank" rel="noopener noreferrer"><i class="fab fa-instagram"></i></a></div>
<!-- /wp:sunflower/meta-data -->

<!-- wp:sunflower/meta-data {"icon":"fab fa-tiktok"} -->
<div class="wp-block-sunflower-meta-data"><a href="#" target="_blank" rel="noopener noreferrer"><i class="fab fa-tiktok"></i></a></div>
<!-- wp:group {"className":"d-flex p-0"} -->
<div class="wp-block-group d-flex p-0"><!-- wp:sunflower/meta-data {"icon":"fab fa-x-twitter"} -->
<div class="wp-block-sunflower-meta-data"><a href="" target="_blank" rel="noopener noreferrer"><i class="fab fa-x-twitter"></i></a></div>
<!-- /wp:sunflower/meta-data -->

<!-- wp:sunflower/meta-data {"icon":"fab fa-mastodon"} -->
<div class="wp-block-sunflower-meta-data"><a href="#" target="_blank" rel="noopener noreferrer"><i class="fab fa-mastodon"></i></a></div>
<!-- /wp:sunflower/meta-data -->

<!-- wp:sunflower/meta-data {"icon":"fas fa-envelope"} -->
<div class="wp-block-sunflower-meta-data"><a href="#" target="_blank" rel="noopener noreferrer"><i class="fas fa-envelope"></i></a></div>
<!-- /wp:sunflower/meta-data -->

<!-- wp:sunflower/meta-data {"icon":"fas fa-globe"} -->
<div class="wp-block-sunflower-meta-data"><a href="#" target="_blank" rel="noopener noreferrer"><i class="fas fa-globe"></i></a></div>
<!-- /wp:sunflower/meta-data --></div></div>
<!-- /wp:group --></div></div>
<!-- /wp:media-text --></div>
<!-- /wp:column -->

<!-- wp:column -->
<div class="wp-block-column"><!-- wp:media-text {"mediaId":152,"mediaLink":"http://localhost/demo/?attachment_id=152","mediaType":"image","className":"person has-shadow"} -->
<div class="wp-block-media-text alignwide is-stacked-on-mobile person has-shadow"><figure class="wp-block-media-text__media"><img src="https://sunflower-theme.de/demo/wp-content/uploads/sites/6/2021/01/sunflower-flower-summer-blossom-4298808-1024x682.jpg" alt="Sunflower Flower Summer Blossom - Bru-nO / Pixabay" class="wp-image-152 size-full"/></figure><div class="wp-block-media-text__content">
<!-- wp:paragraph {"placeholder":"Inhalt…","className":"person-name"} -->
<p class="person-name">Vorname Nachname</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"className":"person-description"} -->
<p class="person-description">Kurze Beschreibung, Amt, Mandat und/oder Zitat.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"className":"person-mail no-link"} -->
<p class="person-mail no-link"><a href="mailto:[email protected]">[email protected]</a></p>
<!-- /wp:paragraph -->

<!-- wp:group {"className":"d-flex p-0"} -->
<div class="wp-block-group d-flex p-0"><div class="wp-block-group__inner-container"><!-- wp:sunflower/meta-data {"icon":"fab fa-x-twitter"} -->
<div class="wp-block-sunflower-meta-data"><a href="#" target="_blank" rel="noopener noreferrer"><i class="fab fa-x-twitter"></i></a></div>
<!-- /wp:sunflower/meta-data -->

<!-- wp:sunflower/meta-data {"icon":"fab fa-bluesky"} -->
<div class="wp-block-sunflower-meta-data"><a href="#" target="_blank" rel="noopener noreferrer"><i class="fab fa-bluesky"></i></a></div>
<!-- /wp:sunflower/meta-data -->

<!-- wp:sunflower/meta-data {"icon":"fab fa-facebook-f"} -->
<div class="wp-block-sunflower-meta-data"><a href="#" target="_blank" rel="noopener noreferrer"><i class="fab fa-facebook-f"></i></a></div>
<!-- /wp:sunflower/meta-data -->

<!-- wp:sunflower/meta-data {"icon":"fab fa-facebook-f"} -->
<div class="wp-block-sunflower-meta-data"><a href="#" target="_blank" rel="noopener noreferrer"><i class="fab fa-whatsapp"></i></a></div>
<!-- /wp:sunflower/meta-data -->

<!-- wp:sunflower/meta-data {"icon":"fab fa-threads"} -->
<div class="wp-block-sunflower-meta-data"><a href="#" target="_blank" rel="noopener noreferrer"><i class="fab fa-threads"></i></a></div>
<!-- /wp:sunflower/meta-data -->

<!-- wp:sunflower/meta-data {"icon":"fab fa-instagram"} -->
<div class="wp-block-sunflower-meta-data"><a href="#" target="_blank" rel="noopener noreferrer"><i class="fab fa-instagram"></i></a></div>
<!-- /wp:sunflower/meta-data -->

<!-- wp:sunflower/meta-data {"icon":"fab fa-tiktok"} -->
<div class="wp-block-sunflower-meta-data"><a href="#" target="_blank" rel="noopener noreferrer"><i class="fab fa-tiktok"></i></a></div>
<!-- wp:sunflower/meta-data {"icon":"fab fa-bluesky"} -->
<div class="wp-block-sunflower-meta-data"><a href="" target="_blank" rel="noopener noreferrer"><i class="fab fa-bluesky"></i></a></div>
<!-- /wp:sunflower/meta-data -->

<!-- wp:sunflower/meta-data {"icon":"fab fa-facebook-f"} -->
<div class="wp-block-sunflower-meta-data"><a href="" target="_blank" rel="noopener noreferrer"><i class="fab fa-facebook-f"></i></a></div>
<!-- /wp:sunflower/meta-data -->

<!-- wp:sunflower/meta-data {"icon":"fab fa-whatsapp"} -->
<div class="wp-block-sunflower-meta-data"><a href="" target="_blank" rel="noopener noreferrer"><i class="fab fa-whatsapp"></i></a></div>
<!-- /wp:sunflower/meta-data -->

<!-- wp:sunflower/meta-data {"icon":"fab fa-threads"} -->
<div class="wp-block-sunflower-meta-data"><a href="" target="_blank" rel="noopener noreferrer"><i class="fab fa-threads"></i></a></div>
<!-- /wp:sunflower/meta-data -->
Expand Down Expand Up @@ -136,8 +60,8 @@
<!-- /wp:column -->

<!-- wp:column -->
<div class="wp-block-column"><!-- wp:media-text {"align":"wide","mediaId":152,"mediaLink":"http://localhost/demo/?attachment_id=152","mediaType":"image","className":"person has-shadow"} -->
<div class="wp-block-media-text alignwide is-stacked-on-mobile person has-shadow"><figure class="wp-block-media-text__media"><img src="https://sunflower-theme.de/demo/wp-content/uploads/sites/6/2021/01/sunflower-flower-summer-blossom-4298808-1024x682.jpg" alt="Sunflower Flower Summer Blossom - Bru-nO / Pixabay" class="wp-image-152 size-full"/></figure><div class="wp-block-media-text__content"><!-- wp:paragraph {"placeholder":"Inhalt…","className":"person-name"} -->
<div class="wp-block-column"><!-- wp:media-text {"align":"wide","mediaType":"image","className":"person has-shadow"} -->
<div class="wp-block-media-text alignwide is-stacked-on-mobile person has-shadow"><figure class="wp-block-media-text__media"><img src="https://sunflower-theme.de/demo/wp-content/uploads/sites/6/2024/08/Soncnica_-_Sunflower_-_Helianthus_annuus-1024x768.jpg" alt="Eine gelbe Sonnenblume vor blauem Himmel."/></figure><div class="wp-block-media-text__content"><!-- wp:paragraph {"placeholder":"Inhalt…","className":"person-name"} -->
<p class="person-name">Vorname Nachname</p>
<!-- /wp:paragraph -->

Expand All @@ -162,6 +86,10 @@
<div class="wp-block-sunflower-meta-data"><a href="" target="_blank" rel="noopener noreferrer"><i class="fab fa-facebook-f"></i></a></div>
<!-- /wp:sunflower/meta-data -->

<!-- wp:sunflower/meta-data {"icon":"fab fa-whatsapp"} -->
<div class="wp-block-sunflower-meta-data"><a href="" target="_blank" rel="noopener noreferrer"><i class="fab fa-whatsapp"></i></a></div>
<!-- /wp:sunflower/meta-data -->

<!-- wp:sunflower/meta-data {"icon":"fab fa-threads"} -->
<div class="wp-block-sunflower-meta-data"><a href="" target="_blank" rel="noopener noreferrer"><i class="fab fa-threads"></i></a></div>
<!-- /wp:sunflower/meta-data -->
Expand Down
Loading