Skip to content

Commit

Permalink
#33 Update of archive-course.html
Browse files Browse the repository at this point in the history
  • Loading branch information
eoxia-amandine committed Mar 29, 2023
1 parent 14890d5 commit 9dc6888
Showing 1 changed file with 26 additions and 50 deletions.
76 changes: 26 additions & 50 deletions block-templates/archive-course.html
Original file line number Diff line number Diff line change
@@ -1,61 +1,37 @@
<!-- wp:group {"layout":{"inherit":false,"contentSize":"1100px"}} -->
<div class="wp-block-group"><!-- wp:query-title {"type":"archive","showPrefix":false} /--></div>
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|50"}}},"layout":{"inherit":false,"contentSize":"1100px","type":"constrained"}} -->
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--50)"><!-- wp:query-title {"type":"archive","showPrefix":false} /--></div>
<!-- /wp:group -->

<!-- wp:group {"layout":{"inherit":false,"contentSize":"1100px"}} -->
<div class="wp-block-group"><!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column {"width":"80%"} -->
<div class="wp-block-column" style="flex-basis:80%"><!-- wp:query {"queryId":39,"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"layout":{"inherit":false}} -->
<div class="wp-block-query"><!-- wp:post-template -->
<!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column -->
<div class="wp-block-column"><!-- wp:post-featured-image {"isLink":true} /--></div>
<!-- /wp:column -->
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|50"}}},"layout":{"type":"constrained","contentSize":"1100px"}} -->
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--50)"><!-- wp:query {"queryId":28,"query":{"perPage":3,"pages":0,"offset":0,"postType":"course","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"displayLayout":{"type":"flex","columns":3},"className":"query-course wp-block-sensei-lms-course-list"} -->
<div class="wp-block-query query-course wp-block-sensei-lms-course-list"><!-- wp:post-template -->
<!-- wp:group {"align":"wide","style":{"border":{"width":"1px","style":"solid","color":"#c5c5c5"}}} -->
<div class="wp-block-group alignwide has-border-color" style="border-color:#c5c5c5;border-style:solid;border-width:1px"><!-- wp:post-featured-image {"isLink":true,"align":"wide"} /-->

<!-- wp:column -->
<div class="wp-block-column"><!-- wp:post-date /-->
<!-- wp:group {"style":{"spacing":{"padding":{"top":"0em","right":"1em","bottom":"0em","left":"1em"}}}} -->
<div class="wp-block-group" style="padding-top:0em;padding-right:1em;padding-bottom:0em;padding-left:1em"><!-- wp:sensei-lms/course-categories {"options":{}} -->
<div class="wp-block-sensei-lms-course-categories"></div>
<!-- /wp:sensei-lms/course-categories -->

<!-- wp:post-title {"isLink":true,"style":{"elements":{"link":{"color":{"text":"var:preset|color|anthracite"}}}}} /-->
<!-- wp:post-title {"level":3,"isLink":true,"style":{"typography":{"fontSize":"18px"},"elements":{"link":{"color":{"text":"var:preset|color|black"}}},"spacing":{"margin":{"top":"0.2em","right":"0em","bottom":"0em","left":"0em"}}}} /--></div>
<!-- /wp:group -->

<!-- wp:post-excerpt {"moreText":"Read more"} /--></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- /wp:post-template -->
<!-- wp:group {"style":{"spacing":{"padding":{"right":"1em","left":"1em"}}},"layout":{"type":"flex","allowOrientation":false}} -->
<div class="wp-block-group" style="padding-right:1em;padding-left:1em"><!-- wp:acf/bfs-course-lessons {"name":"acf/bfs-course-lessons","data":{},"mode":"preview"} /-->

<!-- wp:query-pagination -->
<div class="wp-block-query-pagination"><!-- wp:query-pagination-numbers /-->
<!-- wp:acf/bfs-course-time {"name":"acf/bfs-course-time","mode":"preview"} /--></div>
<!-- /wp:group -->

<!-- wp:query-pagination-previous {"label":"\u003c"} /-->
<!-- wp:sensei-lms/course-progress {"customBarColor":"#1be184","height":10,"borderRadius":0} /--></div>
<!-- /wp:group -->
<!-- /wp:post-template -->

<!-- wp:query-pagination-next {"label":"\u003e"} /--></div>
<!-- /wp:query-pagination --></div>
<!-- /wp:query --></div>
<!-- /wp:column -->
<!-- wp:query-pagination {"paginationArrow":"arrow","align":"wide","layout":{"type":"flex","justifyContent":"center"}} -->
<!-- wp:query-pagination-previous {"label":"","fontSize":"small"} /-->

<!-- wp:column {"width":"20%"} -->
<div class="wp-block-column" style="flex-basis:20%"><!-- wp:paragraph {"style":{"typography":{"fontSize":"20px"}}} -->
<p style="font-size:20px"><strong>Search</strong></p>
<!-- /wp:paragraph -->
<!-- wp:query-pagination-numbers /-->

<!-- wp:search {"label":"Recherche","showLabel":false,"buttonText":"Recherche","buttonPosition":"button-inside","buttonUseIcon":true} /-->

<!-- wp:spacer {"height":40} -->
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:paragraph {"style":{"typography":{"fontSize":"20px"}}} -->
<p style="font-size:20px"><strong>Categories</strong></p>
<!-- /wp:paragraph -->

<!-- wp:categories {"showHierarchy":true,"showPostCounts":true} /-->

<!-- wp:spacer {"height":40} -->
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:image {"id":221,"sizeSlug":"large","linkDestination":"none","style":{"color":[]}} -->
<figure class="wp-block-image size-large"><img src="http://127.0.0.1/themeblock/wp-content/uploads/2021/08/cat-323262_1280-1024x682.jpg" alt="" class="wp-image-221"/></figure>
<!-- /wp:image --></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div>
<!-- wp:query-pagination-next {"label":" ","fontSize":"small"} /-->
<!-- /wp:query-pagination --></div>
<!-- /wp:query --></div>
<!-- /wp:group -->

0 comments on commit 9dc6888

Please sign in to comment.