feat: LOPDP Ecuador — router, permalinks, política privacidad, banner, nav, index temas
This commit is contained in:
@@ -1,28 +1,26 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<section class="lm-wrap">
|
||||
<div class="lm-card">
|
||||
<?php if (have_posts()) : ?>
|
||||
<?php while (have_posts()) : the_post(); ?>
|
||||
<article <?php post_class('lm-entry'); ?>>
|
||||
<h1 class="lm-entry__title"><?php the_title(); ?></h1>
|
||||
<div class="lm-entry__body">
|
||||
<?php the_content(); ?>
|
||||
</div>
|
||||
</article>
|
||||
<?php endwhile; ?>
|
||||
<?php else : ?>
|
||||
<article class="lm-entry lm-entry--empty">
|
||||
<h1><?php esc_html_e('Empieza a construir tu perfil', 'lumina'); ?></h1>
|
||||
<p><?php esc_html_e('Crea una página de inicio y usa Lumina CV como tema activo.', 'lumina'); ?></p>
|
||||
</article>
|
||||
<?php endif; ?>
|
||||
<style>
|
||||
.lm-page-wrap{max-width:780px;margin:3rem auto;padding:0 2rem 4rem}
|
||||
.lm-page-wrap h1{font-family:'Plus Jakarta Sans',sans-serif;font-size:2rem;font-weight:700;color:#0f766e;margin-bottom:1.5rem;padding-bottom:.75rem;border-bottom:3px solid #f59e0b}
|
||||
.lm-page-wrap h2,.lm-page-wrap h3{font-family:'Plus Jakarta Sans',sans-serif;font-weight:700;color:#0f766e;margin:1.75rem 0 .5rem}
|
||||
.lm-page-wrap h2{font-size:1.15rem}
|
||||
.lm-page-wrap p{font-size:.95rem;color:#334155;line-height:1.75;margin-bottom:.75rem}
|
||||
.lm-page-wrap a{color:#0d9488}
|
||||
.lm-page-wrap a:hover{color:#f59e0b}
|
||||
.lm-back{display:inline-flex;align-items:center;gap:.4rem;margin-bottom:2rem;font-family:'Plus Jakarta Sans',sans-serif;font-size:.82rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#0d9488;text-decoration:none}
|
||||
.lm-back:hover{color:#f59e0b}
|
||||
.lm-back::before{content:'←'}
|
||||
</style>
|
||||
<section style="background:#f8fafc;min-height:60vh">
|
||||
<div class="lm-page-wrap">
|
||||
<a class="lm-back" href="<?php echo esc_url(home_url('/')); ?>">Volver al CV</a>
|
||||
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
|
||||
<h1><?php the_title(); ?></h1>
|
||||
<?php the_content(); ?>
|
||||
<?php endwhile; endif; ?>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<?php get_footer(); ?>
|
||||
|
||||
Reference in New Issue
Block a user