From 84ed40faadb346cf46fc1e2f828150c0498c2334 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sat, 18 Nov 2023 12:17:07 +0100 Subject: [PATCH] feat: kill iconfont --- comments.php | 4 +- components/article/breadcrumb.php | 6 +-- components/article/terms.php | 2 +- components/common-icons.php | 47 +++++++++++++++++++++++ components/featured.php | 2 +- components/footer-content.php | 12 +++--- components/mobile-sidebar.php | 4 +- components/navbar-category.php | 2 +- components/navbar-pages.php | 6 +-- components/posts-list.php | 2 +- components/sidebar/archives.php | 2 +- components/sidebar/categories.php | 2 +- components/sidebar/last-articles.php | 2 +- components/sidebar/links.php | 4 +- components/sidebar/tags.php | 2 +- dep/iconfont/style.css | 2 +- functions/breadcrumb.php | 4 +- header.php | 6 +-- page-about.php | 6 +-- page-links.php | 4 +- scss/_core.scss | 1 + scss/components/_cards.scss | 9 ----- scss/core/_icons.scss | 9 +++++ style.css | 56 ++++++++++++++-------------- taxonomy-roman.php | 4 +- 25 files changed, 125 insertions(+), 75 deletions(-) create mode 100644 components/common-icons.php create mode 100644 scss/core/_icons.scss diff --git a/comments.php b/comments.php index d7b6641..50d5f95 100644 --- a/comments.php +++ b/comments.php @@ -70,8 +70,8 @@ $oddcomment = 'alt'; diff --git a/components/article/breadcrumb.php b/components/article/breadcrumb.php index e8b4685..8b78551 100644 --- a/components/article/breadcrumb.php +++ b/components/article/breadcrumb.php @@ -5,16 +5,16 @@ if (has_category('chapters')) { $romans = get_the_terms($post->ID, 'roman'); foreach( $romans as $roman ) { - echo ""; + echo ""; } } else { $categories = get_the_category(); foreach( $categories as $category ) { - echo ""; + echo ""; } } - ?> + ?> diff --git a/components/article/terms.php b/components/article/terms.php index 5cc1ce1..2722a82 100644 --- a/components/article/terms.php +++ b/components/article/terms.php @@ -13,7 +13,7 @@ echo ""; } diff --git a/components/common-icons.php b/components/common-icons.php new file mode 100644 index 0000000..c5c680d --- /dev/null +++ b/components/common-icons.php @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/components/featured.php b/components/featured.php index e8ecceb..82897e4 100644 --- a/components/featured.php +++ b/components/featured.php @@ -22,7 +22,7 @@
diff --git a/components/footer-content.php b/components/footer-content.php index 8a9384a..1e2e9a3 100644 --- a/components/footer-content.php +++ b/components/footer-content.php @@ -4,21 +4,21 @@ $listmenu = get_nav_menu_locations(); $menu = wp_get_nav_menu_items($listmenu['social']); if ($menu != null) { - foreach ($menu as $menuElement) { - echo '
  • '; - } + foreach ($menu as $menuElement) { ?> +
  • +
  • @@ -28,7 +28,7 @@

    Les contenus sont diffusé sous licence Creative Common Attribution - Partage à l'Identique 4.0 - hors mention contraire.

    -

    Ces licences vous autorise à partager et copier mes travaux, tant que vous me citiez en source, et que vous autorisez la même chose pour les travaux qui en seraient dérivés. N'hésitez pas à partager !

    +

    Ces licences vous autorise à partager et copier mes travaux, tant que vous me citiez en source, et que vous autorisez la même chose pour les travaux qui en seraient dérivés. N'hésitez pas à partager ! 🩷

    diff --git a/components/mobile-sidebar.php b/components/mobile-sidebar.php index ec31529..0d9a227 100644 --- a/components/mobile-sidebar.php +++ b/components/mobile-sidebar.php @@ -7,7 +7,7 @@

    Menu principal

  • - Accueil + Accueil
  • - \ No newline at end of file + \ No newline at end of file diff --git a/components/navbar-category.php b/components/navbar-category.php index 59bac2b..76025af 100644 --- a/components/navbar-category.php +++ b/components/navbar-category.php @@ -9,7 +9,7 @@ ?>
  • - name ?> + name ?> diff --git a/components/posts-list.php b/components/posts-list.php index 2eda6c4..c0d9ae0 100644 --- a/components/posts-list.php +++ b/components/posts-list.php @@ -4,7 +4,7 @@
    diff --git a/components/sidebar/archives.php b/components/sidebar/archives.php index a9f0111..3097e17 100644 --- a/components/sidebar/archives.php +++ b/components/sidebar/archives.php @@ -1,5 +1,5 @@
    -

    Archives

    +

    Archives