Commit c918e0bc authored by alain's avatar alain 🐙
Browse files

pinned content buttons

parent 2bd6b636
...@@ -61,6 +61,11 @@ a.btn, .btn, .text-link { ...@@ -61,6 +61,11 @@ a.btn, .btn, .text-link {
@include colourBg($bg-yellow, 0deg); @include colourBg($bg-yellow, 0deg);
} }
&--green {
background: $green;
@include colourBg($bg-yellow, 0deg);
}
&--loading { &--loading {
background: $bg-yellow; background: $bg-yellow;
} }
......
...@@ -12,8 +12,8 @@ ...@@ -12,8 +12,8 @@
$news_post = get_post($news); $news_post = get_post($news);
include(locate_template('template-parts/elements/news-teaser.php')); include(locate_template('template-parts/elements/news-teaser.php'));
} ?> } ?>
<a href="<?php echo get_permalink(get_option('page_for_posts')); ?>" class="text-link"><?php _e('see all news', 'makeitopen'); ?></a>
</div> </div>
<a href="<?php echo get_permalink(get_option('page_for_posts')); ?>" class="btn btn--red"><?php _e('see all news', 'makeitopen'); ?></a>
</div> </div>
<div class="flex-grid"> <div class="flex-grid">
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
$event_post = get_post($event); $event_post = get_post($event);
include(locate_template('template-parts/elements/events-teaser.php')); include(locate_template('template-parts/elements/events-teaser.php'));
} ?> } ?>
<a href="<?php echo get_post_type_archive_link('events'); ?>" class="text-link"><?php _e('go to full agenda', 'makeitopen'); ?></a> <!-- <a href="<?php echo get_post_type_archive_link('events'); ?>" class="text-link"><?php _e('go to full agenda', 'makeitopen'); ?></a> -->
</div> </div>
<?php } ?> <?php } ?>
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
$resource_filters = get_the_terms($resource_post, 'resource-types' ); $resource_filters = get_the_terms($resource_post, 'resource-types' );
include(locate_template('template-parts/elements/resource-teaser.php')); include(locate_template('template-parts/elements/resource-teaser.php'));
} ?> } ?>
<a href="<?php echo get_post_type_archive_link('resources'); ?>" class="text-link"><?php _e('see all resources', 'makeitopen'); ?></a> <a href="<?php echo get_post_type_archive_link('resources'); ?>" class="btn btn--green"><?php _e('see all resources', 'makeitopen'); ?></a>
</div> </div>
</div> </div>
</div> </div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment