Compare commits
10 Commits
5467bab0fb
...
0cbbdd79a9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0cbbdd79a9 | ||
|
|
b462fbfed4 | ||
|
|
3ca2f0c851 | ||
|
|
1c15d03265 | ||
|
|
e47e082a6d | ||
|
|
72583bb76a | ||
|
|
639b0b0c4c | ||
|
|
38836ef894 | ||
|
|
f2e9870fd4 | ||
|
|
ccd01b2d59 |
|
|
@ -8,7 +8,8 @@ require_once(__DIR__ . '/includes/logos.php');
|
|||
require_once(__DIR__ . '/includes/collective-access-api.php');
|
||||
require_once(__DIR__ . '/includes/utilities.php');
|
||||
require_once(__DIR__ . '/includes/nawalker_fction.php');
|
||||
require_once(__DIR__ . '/includes/social-networks.php');
|
||||
require_once(__DIR__ . '/includes/options-social-networks.php');
|
||||
require_once(__DIR__ . '/includes/options-presse.php');
|
||||
require_once(__DIR__ . '/includes/forms.php');
|
||||
require_once(__DIR__ . '/includes/rapport-activites.php');
|
||||
require_once(__DIR__ . '/includes/equipe.php');
|
||||
|
|
|
|||
78
includes/options-presse.php
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
<?php
|
||||
|
||||
/* ----------------------------------------------------------------
|
||||
##### PRESSE : menu parent + Communiqués de presse (CPT) + Paramètres
|
||||
| ------------------------------------------------------------------*/
|
||||
|
||||
// Menu parent "Presse" + sous-page Paramètres (le CPT est enregistré dans mu-plugins)
|
||||
function carhop_add_options_ressources_graphiques_page()
|
||||
{
|
||||
if (get_current_blog_id() !== 1) return;
|
||||
|
||||
// Parent au 1er niveau : Presse
|
||||
add_menu_page(
|
||||
'Presse',
|
||||
'Presse',
|
||||
'manage_options',
|
||||
'carhop-presse',
|
||||
'carhop_options_presse_page_html',
|
||||
'dashicons-media-text',
|
||||
25
|
||||
);
|
||||
|
||||
|
||||
|
||||
// Sous-page : Ressources graphiques (page d'options ACF → visible dans la localisation des champs)
|
||||
if (function_exists('acf_add_options_sub_page')) {
|
||||
acf_add_options_sub_page(array(
|
||||
'page_title' => 'Ressources graphiques',
|
||||
'menu_title' => 'Ressources graphiques',
|
||||
'parent_slug' => 'carhop-presse',
|
||||
'menu_slug' => 'carhop-ressources-graphiques',
|
||||
));
|
||||
acf_add_options_sub_page(array(
|
||||
'page_title' => 'Personnes de contact pour la presse',
|
||||
'menu_title' => 'Personnes de contact',
|
||||
'parent_slug' => 'carhop-presse',
|
||||
'menu_slug' => 'carhop-personnes-contact-presse',
|
||||
));
|
||||
}
|
||||
// Sous-page : lien vers l'édition de la page Presse (ID 113)
|
||||
add_submenu_page(
|
||||
'carhop-presse',
|
||||
__('Page Presse', 'carhop'),
|
||||
__('Page Presse', 'carhop'),
|
||||
'edit_pages',
|
||||
'carhop-presse-page',
|
||||
'carhop_presse_redirect_to_page_113'
|
||||
);
|
||||
|
||||
// Sous-page : lien vers l'édition de la sous-page Presse (ID 1135)
|
||||
add_submenu_page(
|
||||
'carhop-presse',
|
||||
__('Revue de Presse', 'carhop'),
|
||||
__('Revue de Presse', 'carhop'),
|
||||
'edit_pages',
|
||||
'carhop-revue-de-presse',
|
||||
'carhop_presse_redirect_to_page_1135'
|
||||
);
|
||||
}
|
||||
add_action('admin_menu', 'carhop_add_options_ressources_graphiques_page');
|
||||
|
||||
/**
|
||||
* Redirige vers l'éditeur de la page Presse (ID 113).
|
||||
*/
|
||||
function carhop_presse_redirect_to_page_113()
|
||||
{
|
||||
wp_safe_redirect(admin_url('post.php?post=113&action=edit'));
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
* Redirige vers l'éditeur de la sous-page Presse (ID 1135).
|
||||
*/
|
||||
function carhop_presse_redirect_to_page_1135()
|
||||
{
|
||||
wp_safe_redirect(admin_url('post.php?post=1135&action=edit'));
|
||||
exit;
|
||||
}
|
||||
|
|
@ -34,6 +34,8 @@
|
|||
@import './components/scroll-top.css';
|
||||
@import './components/member-author-card.css';
|
||||
@import './components/search-module.css';
|
||||
@import './components/author-card.css';
|
||||
@import './components/tablist.css';
|
||||
|
||||
/* ########### EDITOR CONTENT ############ */
|
||||
@import './editor-content/entry-content.css';
|
||||
|
|
@ -79,6 +81,7 @@
|
|||
@import './blocks/image-stack.css';
|
||||
@import './blocks/highlight-timeline-step.css';
|
||||
@import './blocks/highlight-timeline.css';
|
||||
@import './blocks/press-ressources.css';
|
||||
|
||||
@import './blocks/wp-block-heading.css';
|
||||
@import './blocks/wp-block-list.css';
|
||||
|
|
|
|||
172
resources/css/blocks/press-ressources.css
Normal file
|
|
@ -0,0 +1,172 @@
|
|||
.wp-block-carhop-blocks-press-ressources {
|
||||
.contact-persons {
|
||||
}
|
||||
}
|
||||
|
||||
.press-ressources {
|
||||
.contact-persons {
|
||||
@apply px-16 max-w-screen-lg mx-auto;
|
||||
&__list {
|
||||
@apply grid grid-cols-1 md:grid-cols-2 gap-8;
|
||||
}
|
||||
}
|
||||
|
||||
.press-toolbar {
|
||||
.tablist {
|
||||
@apply my-8;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.block-front-header + .press-ressources {
|
||||
margin-top: -300px;
|
||||
}
|
||||
|
||||
.block-front-header:has(+ .press-ressources) {
|
||||
@apply pb-72;
|
||||
}
|
||||
|
||||
.communiques-de-presse {
|
||||
&__title {
|
||||
@apply my-12;
|
||||
}
|
||||
&__list {
|
||||
@apply grid grid-cols-1 md:grid-cols-2 gap-8;
|
||||
.communique-card {
|
||||
@apply border border-primary border-solid bg-white p-8;
|
||||
}
|
||||
}
|
||||
}
|
||||
.communiques-de-presse__title {
|
||||
@apply my-12;
|
||||
}
|
||||
|
||||
.ressources-graphiques {
|
||||
&__title {
|
||||
@apply my-12;
|
||||
}
|
||||
.contact-datas {
|
||||
@apply grid grid-cols-1 md:grid-cols-3 gap-8;
|
||||
a {
|
||||
@apply block mb-1;
|
||||
}
|
||||
h3 {
|
||||
@apply nunito text-lg font-bold tracking-widest mb-3;
|
||||
}
|
||||
}
|
||||
.download-list {
|
||||
@apply mt-16;
|
||||
.list-heading {
|
||||
@apply grid gap-4 bg-primary text-white p-4 uppercase tracking-wider;
|
||||
grid-template-columns: 4fr 1fr 1fr 1fr;
|
||||
|
||||
column-gap: ;
|
||||
/* span {
|
||||
@apply nunito text-sm font-bold tracking-widest mb-3;
|
||||
} */
|
||||
}
|
||||
&__item {
|
||||
@apply relative;
|
||||
transition: transform 0.3s ease-out;
|
||||
&:after {
|
||||
@apply content-[''] absolute top-0 left-0 w-full h-full opacity-0 z-0;
|
||||
transition: opacity 0.3s ease-out;
|
||||
}
|
||||
a {
|
||||
@apply border-primary border-solid z-10 px-4;
|
||||
grid-template-columns: 4fr 1fr 1fr 1fr;
|
||||
@apply text-primary py-6 items-center;
|
||||
@apply grid gap-4 border-b relative;
|
||||
}
|
||||
.file-name {
|
||||
transition: transform 0.3s ease-out;
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
a {
|
||||
@apply text-white;
|
||||
}
|
||||
.file-name {
|
||||
transform: translateX(10px);
|
||||
}
|
||||
&:after {
|
||||
@apply bg-primary opacity-100;
|
||||
}
|
||||
.download-link:after {
|
||||
filter: brightness(0) invert(1);
|
||||
transform: rotate(-90deg);
|
||||
}
|
||||
}
|
||||
a:last-child {
|
||||
@apply border-b-0;
|
||||
}
|
||||
|
||||
.file-name,
|
||||
.download-link {
|
||||
@apply font-semibold;
|
||||
}
|
||||
/* :nth-child(4) {
|
||||
@apply bg-red-500;
|
||||
} */
|
||||
.download-link {
|
||||
@apply text-right flex items-center justify-end gap-4;
|
||||
&:after {
|
||||
@apply content-[''] inline-block w-10 h-10 bg-contain bg-no-repeat bg-center;
|
||||
background-image: url('../resources/img/icons/button-arrow-down-small.svg');
|
||||
background-size: contain;
|
||||
transition: transform 0.3s ease-out;
|
||||
}
|
||||
}
|
||||
|
||||
span {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.download-table {
|
||||
@apply w-full;
|
||||
thead {
|
||||
@apply bg-primary text-white;
|
||||
}
|
||||
tr {
|
||||
@apply border-b border-primary border-solid p-2 text-primary !py-6;
|
||||
}
|
||||
th,
|
||||
td {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.presse-reviews {
|
||||
@apply mt-12;
|
||||
.wp-block-carhop-blocks-content-box {
|
||||
@apply !w-full !m-0;
|
||||
.content-box__innerblocks {
|
||||
@apply p-0;
|
||||
> * {
|
||||
@apply w-full max-w-none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.ressources-grid-content-wrapper {
|
||||
&[data-active-tab='communiques'] {
|
||||
.ressources-graphiques,
|
||||
.presse-reviews {
|
||||
@apply hidden;
|
||||
}
|
||||
}
|
||||
&[data-active-tab='ressources-graphiques'] {
|
||||
.communiques-de-presse,
|
||||
.presse-reviews {
|
||||
@apply hidden;
|
||||
}
|
||||
}
|
||||
&[data-active-tab='presse-reviews'] {
|
||||
.communiques-de-presse,
|
||||
.ressources-graphiques {
|
||||
@apply hidden;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -4,53 +4,7 @@
|
|||
.container {
|
||||
@apply px-0;
|
||||
}
|
||||
.author-card {
|
||||
@apply bg-white p-8 border border-carhop-green-700 mb-0 flex flex-col;
|
||||
|
||||
&--director {
|
||||
@apply bg-primary;
|
||||
p,
|
||||
.author-card__name a,
|
||||
.author-card__bio {
|
||||
@apply text-white;
|
||||
}
|
||||
|
||||
.author-card__email {
|
||||
@apply bg-white text-primary;
|
||||
&:hover {
|
||||
@apply bg-carhop-green-900;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__profile-picture {
|
||||
@apply w-full h-32 object-cover mb-6 border border-carhop-green-700 relative bg-white;
|
||||
|
||||
/* img {
|
||||
@apply object-cover object-center;
|
||||
object-fit: cover;
|
||||
object-position: center;
|
||||
width: calc(100% - 16px);
|
||||
height: calc(100% - 16px);
|
||||
} */
|
||||
}
|
||||
|
||||
&__name {
|
||||
@apply text-2xl font-medium mb-0 uppercase;
|
||||
}
|
||||
|
||||
&__email {
|
||||
@apply mt-4 text-lg;
|
||||
|
||||
&:hover {
|
||||
@apply cta--primary;
|
||||
}
|
||||
}
|
||||
|
||||
&__bio {
|
||||
@apply text-base text-primary text-center leading-relaxed;
|
||||
}
|
||||
}
|
||||
.comity-type {
|
||||
@apply pt-12;
|
||||
|
||||
|
|
|
|||
|
|
@ -7,3 +7,18 @@
|
|||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.wp-block-carhop-blocks-notice-panel + .wp-block-image.is-style-framed {
|
||||
@apply mt-8;
|
||||
}
|
||||
|
||||
h1.is-style-stroked-after,
|
||||
h2.is-style-stroked-after {
|
||||
@apply flex items-end gap-2;
|
||||
overflow-wrap: anywhere;
|
||||
&:after {
|
||||
@apply flex-auto border-b border-primary border-solid mb-2;
|
||||
content: '';
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
46
resources/css/components/author-card.css
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
.author-card {
|
||||
@apply bg-white p-8 border border-carhop-green-700 mb-0 flex flex-col;
|
||||
|
||||
&--director {
|
||||
@apply bg-primary;
|
||||
p,
|
||||
.author-card__name a,
|
||||
.author-card__bio {
|
||||
@apply text-white;
|
||||
}
|
||||
|
||||
.author-card__email {
|
||||
@apply bg-white text-primary;
|
||||
&:hover {
|
||||
@apply bg-carhop-green-900;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__profile-picture {
|
||||
@apply w-full h-32 object-cover mb-6 border border-carhop-green-700 relative bg-white;
|
||||
}
|
||||
|
||||
&__name {
|
||||
@apply text-2xl font-medium !mb-0 !pb-0 uppercase text-primary;
|
||||
a {
|
||||
@apply !text-primary;
|
||||
}
|
||||
}
|
||||
|
||||
&__email {
|
||||
@apply mt-4 text-lg !normal-case;
|
||||
|
||||
&:is(a) {
|
||||
@apply !text-primary;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
@apply !text-white;
|
||||
}
|
||||
}
|
||||
|
||||
&__bio {
|
||||
@apply text-base text-primary text-center leading-relaxed;
|
||||
}
|
||||
}
|
||||
28
resources/css/components/tablist.css
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
.tablist {
|
||||
@apply flex items-center overflow-y-visible gap-8 lg:gap-3 xl:gap-12 border-b border-primary py-0;
|
||||
position: relative;
|
||||
|
||||
span {
|
||||
@apply sr-only lg:not-sr-only;
|
||||
}
|
||||
button {
|
||||
@apply text-base md:text-lg lg:text-lg mt-8 nunito pb-4 flex flex-col lg:flex-row items-center gap-2 lg:gap-4 text-left shrink-0;
|
||||
grid-template-columns: auto 1fr;
|
||||
|
||||
word-break: keep-all;
|
||||
|
||||
.icon {
|
||||
@apply w-8 h-8 block;
|
||||
}
|
||||
|
||||
&[aria-selected='true'] {
|
||||
@apply text-primary border-b-4 border-primary;
|
||||
.icon {
|
||||
@apply filter-primary;
|
||||
}
|
||||
}
|
||||
&[aria-selected='false'] {
|
||||
@apply text-black opacity-40;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -45,10 +45,9 @@ article > *:not(.entry-content),
|
|||
}
|
||||
}
|
||||
}
|
||||
.wp-singular.page{
|
||||
|
||||
.wp-singular.page {
|
||||
.site-content {
|
||||
> *:not(.alignfull, .alignwide) {
|
||||
> *:not(.alignfull, .alignwide, footer) {
|
||||
@apply max-w-content mx-auto;
|
||||
}
|
||||
> :first-child {
|
||||
|
|
|
|||
12
resources/img/icons/button-arrow-down-small.svg
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0_2159_20039)">
|
||||
<path d="M14.5469 20.4253L14.5469 10.5" stroke="#136F63" stroke-width="2"/>
|
||||
<path d="M8.53276 14.1263L14.5536 20.4253L20.5684 14.1263" stroke="#136F63" stroke-width="2"/>
|
||||
</g>
|
||||
<circle cx="15" cy="15" r="14" transform="rotate(90 15 15)" stroke="#136F63" stroke-width="2"/>
|
||||
<defs>
|
||||
<clipPath id="clip0_2159_20039">
|
||||
<rect width="10.8" height="12.9" fill="white" transform="translate(21 10.5) rotate(90)"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 564 B |
13
resources/img/icons/carhop-document.svg
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg id="document" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.1 42.76">
|
||||
<defs>
|
||||
<style>
|
||||
.cls-1 {
|
||||
fill: none;
|
||||
stroke: #000;
|
||||
stroke-width: 2px;
|
||||
}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon class="cls-1" points="1 1 27.02 1 34.1 8.08 34.1 41.76 1 41.76 1 1"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 342 B |
14
resources/img/icons/carhop-ecouter.svg
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<svg width="29" height="27" viewBox="0 0 29 27" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0_1459_14383)">
|
||||
<path d="M14.1953 0V27" stroke="white" stroke-width="2"/>
|
||||
<path d="M7.93359 5.05997V21.9333" stroke="white" stroke-width="2"/>
|
||||
<path d="M0.691406 10.3231V16.6769" stroke="white" stroke-width="2"/>
|
||||
<path d="M21.0664 5.05997V21.9333" stroke="white" stroke-width="2"/>
|
||||
<path d="M28.3086 10.3231V16.6769" stroke="white" stroke-width="2"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_1459_14383">
|
||||
<rect width="29" height="27" fill="white"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 586 B |
14
resources/img/icons/carhop-lien.svg
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg id="imprimer" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20.12 20.12">
|
||||
<defs>
|
||||
<style>
|
||||
.cls-1 {
|
||||
fill: none;
|
||||
stroke: #000;
|
||||
stroke-width: 2px;
|
||||
}
|
||||
</style>
|
||||
</defs>
|
||||
<path class="cls-1" d="M9.01,3.56l1-1c2.08-2.08,5.46-2.08,7.55,0h0c2.08,2.08,2.08,5.46,0,7.55l-4.65,4.65-3.07-3.07"/>
|
||||
<path class="cls-1" d="M11.11,16.56l-1,1c-2.08,2.08-5.46,2.08-7.55,0h0c-2.08-2.08-2.08-5.46,0-7.55l4.65-4.65,3.18,3.18"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 506 B |
14
resources/img/icons/carhop-note-biographique.svg
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg id="note-biographique" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32.99 42.47">
|
||||
<defs>
|
||||
<style>
|
||||
.cls-1 {
|
||||
fill: none;
|
||||
stroke: #000;
|
||||
stroke-width: 2px;
|
||||
}
|
||||
</style>
|
||||
</defs>
|
||||
<polygon class="cls-1" points="5.63 36.84 13.89 36.84 31.99 18.74 31.99 2.41 5.63 28.78 5.63 36.84"/>
|
||||
<line class="cls-1" x1=".71" y1="41.76" x2="12.86" y2="29.61"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 441 B |
14
resources/img/icons/carhop-notes.svg
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg id="notes" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36.22 35.69">
|
||||
<defs>
|
||||
<style>
|
||||
.cls-1 {
|
||||
fill: none;
|
||||
stroke: #000;
|
||||
stroke-width: 2px;
|
||||
}
|
||||
</style>
|
||||
</defs>
|
||||
<circle class="cls-1" cx="18.11" cy="17.81" r="16.72"/>
|
||||
<rect class="cls-1" x="14.06" y="14.09" width="8.08" height="8.08" transform="translate(-7.51 18.11) rotate(-45)"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 435 B |
6
resources/img/icons/carhop-pause.svg
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<svg width="16" height="23" viewBox="0 0 16 23" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0_1459_14367)">
|
||||
<path d="M0.941406 0V23" stroke="#136F63" stroke-width="2"/>
|
||||
<path d="M15.0586 0V23" stroke="#136F63" stroke-width="2"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 268 B |
16
resources/img/icons/carhop-plan.svg
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg id="plan" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 34.12 36.42">
|
||||
<defs>
|
||||
<style>
|
||||
.cls-1 {
|
||||
fill: none;
|
||||
stroke: #000;
|
||||
stroke-width: 2px;
|
||||
}
|
||||
</style>
|
||||
</defs>
|
||||
<line class="cls-1" x1="34.12" y1="12.47" x2="0" y2="12.47"/>
|
||||
<line class="cls-1" x1="34.12" y1="35.42" x2="0" y2="35.42"/>
|
||||
<line class="cls-1" x1="24.62" y1="1" x2="0" y2="1"/>
|
||||
<line class="cls-1" x1="24.62" y1="23.95" x2="0" y2="23.95"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 506 B |
12
resources/img/icons/carhop-plume-white.svg
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0_1328_11789)">
|
||||
<path d="M24.6411 4.88879L22.2345 6.53778V15.3777L7.16797 23.8166L8.99849 7.32024L16.9158 3.09753L17.0438 0.0258789" stroke="white" stroke-width="2"/>
|
||||
<path d="M7.16797 23.8166L13.4084 14.3753" stroke="white" stroke-width="2"/>
|
||||
<path d="M0 24.3533H7.16846" stroke="white" stroke-width="2"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_1328_11789">
|
||||
<rect width="25" height="25" fill="white"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 542 B |
15
resources/img/icons/carhop-plume.svg
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg id="plume" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 39.06 38.66">
|
||||
<defs>
|
||||
<style>
|
||||
.cls-1 {
|
||||
fill: none;
|
||||
stroke: #000;
|
||||
stroke-width: 2px;
|
||||
}
|
||||
</style>
|
||||
</defs>
|
||||
<polyline class="cls-1" points="38.5 7.56 34.74 10.11 34.74 23.78 11.2 36.83 14.06 11.32 26.43 4.79 26.63 .04"/>
|
||||
<line class="cls-1" x1="11.2" y1="36.83" x2="20.95" y2="22.23"/>
|
||||
<line class="cls-1" y1="37.66" x2="11.2" y2="37.66"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 497 B |
12
resources/img/icons/carhop-rechercher-green-circle.svg
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0_420_14310)">
|
||||
<path d="M22.2969 22.9976L26.6451 27.3529" stroke="#136F63" stroke-width="2"/>
|
||||
<path d="M17.1329 25.1788C21.2341 25.1788 24.5588 21.7151 24.5588 17.4423C24.5588 13.1696 21.2341 9.70587 17.1329 9.70587C13.0317 9.70587 9.70703 13.1696 9.70703 17.4423C9.70703 21.7151 13.0317 25.1788 17.1329 25.1788Z" stroke="#136F63" stroke-width="2" stroke-miterlimit="10"/>
|
||||
</g>
|
||||
<circle cx="18" cy="18" r="17" stroke="#136F63" stroke-width="2"/>
|
||||
<defs>
|
||||
<clipPath id="clip0_420_14310">
|
||||
<rect width="18.1482" height="18.8541" fill="white" transform="translate(9 9)"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 711 B |
11
resources/img/icons/carhop-rechercher-green.svg
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<svg width="19" height="19" viewBox="0 0 19 19" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0_420_14311)">
|
||||
<path d="M13.2969 13.9976L17.6451 18.3529" stroke="#136F63" stroke-width="2"/>
|
||||
<path d="M8.13291 16.1788C12.2341 16.1788 15.5588 12.7151 15.5588 8.44234C15.5588 4.16961 12.2341 0.705872 8.13291 0.705872C4.03171 0.705872 0.707031 4.16961 0.707031 8.44234C0.707031 12.7151 4.03171 16.1788 8.13291 16.1788Z" stroke="#136F63" stroke-width="2" stroke-miterlimit="10"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_420_14311">
|
||||
<rect width="18.1482" height="18.8541" fill="white"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 623 B |
12
resources/img/icons/carhop-rechercher-special.svg
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0_1328_11790)">
|
||||
<path d="M17.5859 18.5605L23.3362 24.3354" stroke="white" stroke-width="2"/>
|
||||
<path d="M10.7539 21.4526C16.1775 21.4526 20.5742 16.8598 20.5742 11.1943C20.5742 5.52879 16.1775 0.935974 10.7539 0.935974C5.33029 0.935974 0.933594 5.52879 0.933594 11.1943C0.933594 16.8598 5.33029 21.4526 10.7539 21.4526Z" stroke="white" stroke-width="2" stroke-miterlimit="10"/>
|
||||
<path d="M10.7556 6.68164L6.25391 11.1954L10.7556 15.7091L15.2573 11.1954L10.7556 6.68164Z" stroke="white" stroke-width="2" stroke-miterlimit="10"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_1328_11790">
|
||||
<rect width="24" height="25" fill="white"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 760 B |
5
resources/img/icons/carhop-reset-search-cross-green.svg
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<circle cx="18" cy="18" r="17" stroke="#136F63" stroke-width="2"/>
|
||||
<path d="M11.8828 25L26.0005 11" stroke="#136F63" stroke-width="2"/>
|
||||
<path d="M25.1172 25L10.9995 11" stroke="#136F63" stroke-width="2"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 308 B |
16
resources/img/icons/carhop-resume.svg
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg id="resume" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 34.12 36.42">
|
||||
<defs>
|
||||
<style>
|
||||
.cls-1 {
|
||||
fill: none;
|
||||
stroke: #000;
|
||||
stroke-width: 2px;
|
||||
}
|
||||
</style>
|
||||
</defs>
|
||||
<line class="cls-1" x1="34.12" y1="12.47" x2="9.41" y2="12.47"/>
|
||||
<line class="cls-1" x1="34.12" y1="35.42" x2="9.41" y2="35.42"/>
|
||||
<line class="cls-1" x1="24.62" y1="1" y2="1"/>
|
||||
<line class="cls-1" x1="27.24" y1="23.95" x2="9.41" y2="23.95"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 510 B |
4
resources/img/icons/carhop-stop-reading.svg
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg id="Calque_1" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
<rect width="16" height="16" style="fill: #fff;"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 217 B |
3
resources/img/icons/cite-icon.svg
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M48 46.125L0 48V0L48 1.96875V46.125Z" fill="#136F63"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 167 B |
1
resources/img/icons/icon-activites.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<svg width="33.243" xmlns="http://www.w3.org/2000/svg" height="33.243" id="screenshot-a2556a6c-3214-8099-8006-165931dde031" viewBox="-0.121 -0.121 33.243 33.243" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1"><g id="shape-a2556a6c-3214-8099-8006-165931dde031" rx="0" ry="0" style="fill: rgb(0, 0, 0);"><g id="shape-a2556a6c-3214-8099-8006-165931dde032" style="display: none;"><g class="fills" id="fills-a2556a6c-3214-8099-8006-165931dde032"><rect width="32.99999999999818" height="32.997226940004225" x="-0.000010239060429739766" transform="matrix(0.999973, 0.007385, -0.007385, 0.999973, 0.122307, -0.121397)" style="fill: rgb(214, 195, 255); fill-opacity: 1;" ry="0" fill="none" rx="0" y="0.0027730221845558845"/></g></g><g id="shape-a2556a6c-3214-8099-8006-165931dde033"/><g id="shape-a2556a6c-3214-8099-8006-165931dde034"><g class="fills" id="fills-a2556a6c-3214-8099-8006-165931dde034"><rect width="28.870975068950884" height="17.792708437504757" class="cls-1" x="2.0645861314221747" transform="matrix(0.712339, -0.701836, 0.701896, 0.712280, -6.833029, 16.326982)" style="fill: rgb(214, 195, 255); fill-opacity: 1;" ry="0" rx="0" y="7.601056546915743"/></g></g></g></svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
4
resources/img/icons/open-close-arrow-button.svg
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<svg width="45" height="45" viewBox="0 0 45 45" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M1 22.5C1 10.6259 10.6259 1 22.5 1C34.3741 1 44 10.6259 44 22.5C44 34.3741 34.3741 44 22.5 44C10.6259 44 1 34.3741 1 22.5Z" stroke="white" stroke-width="2"/>
|
||||
<path d="M13.5 18.4499L22.2518 26.9999L31.5 18.45" stroke="white" stroke-width="2"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 355 B |
42
template-parts/cards/author-card.php
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
<?php
|
||||
$member_id = $args['member_id'];
|
||||
|
||||
$member_full_name = get_the_title($member_id);
|
||||
$member_thumbnail = get_field('profile_thumbnail', $member_id);
|
||||
$member_description = get_field('description', $member_id);
|
||||
$member_email = get_field('email', $member_id);
|
||||
|
||||
|
||||
?>
|
||||
<li class="comity-type__item author-card">
|
||||
<div class="author-card__profile-picture">
|
||||
<?php if ($member_thumbnail) : ?>
|
||||
<a href="<?php echo get_the_permalink($author->ID); ?>">
|
||||
<img src="<?php echo $member_thumbnail['url']; ?>" alt="<?php echo $member_thumbnail['alt']; ?>">
|
||||
</a>
|
||||
<?php else : ?>
|
||||
<a href="<?php echo get_the_permalink($member_id); ?>">
|
||||
<div class="author-card__profile-picture-placeholder author-card__profile-picture-placeholder--<?php echo $placeholder_thumbnail_counter % 3 + 1; ?>n">
|
||||
<!-- <img class="" src="<?php echo get_template_directory_uri(); ?>/assets/images/placeholder-author.png" alt="Placeholder author"> -->
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<h4 class="author-card__name">
|
||||
<a href="<?php echo get_the_permalink($member_id); ?>"> <?php echo $member_full_name ?></a>
|
||||
</h4>
|
||||
|
||||
<div class="author-card__bio"><?php echo $member_description; ?></p>
|
||||
<?php if ($member_email) : ?>
|
||||
<a href="mailto:<?php echo $member_email; ?>" class="author-card__email cta cta--classic cta--rounded cta--has-icon cta--mailing">
|
||||
<div class="cta__icon">
|
||||
<?php $mail_svg_path = get_template_directory() . '/resources/img/icons/carhop-mail.svg';
|
||||
if (file_exists($mail_svg_path)) {
|
||||
echo file_get_contents($mail_svg_path);
|
||||
} ?>
|
||||
</div>
|
||||
Envoyer un email
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
</li>
|
||||