Compare commits

...

4 Commits

Author SHA1 Message Date
26a93eb446 update topbarfooter 2025-08-31 10:32:25 +02:00
de8eecbcbc genera home and classes 2025-08-29 07:32:17 +02:00
bf71d1cf48 footer responsive 2 2025-08-29 06:22:07 +02:00
035a2090a9 Footer responsive 2025-08-29 06:20:43 +02:00
5 changed files with 33 additions and 15 deletions

View File

@@ -10,6 +10,10 @@ body {
@apply bg-background font-sans; @apply bg-background font-sans;
} }
#topbar-footer {
background: url("assets/img/topbar-footer.jpg") no-repeat center top;
@apply h-[5vw] w-full bg-cover;
}
footer { footer {
@apply bg-secondary w-full text-white; @apply bg-secondary w-full text-white;
@@ -24,6 +28,12 @@ footer {
} }
} }
} }
.footer-text-and-icons {
@apply flex w-full flex-col items-start justify-between gap-4 py-8 text-sm md:ml-0 md:flex-row md:items-center md:gap-8;
.w-1\/4 {
@apply w-full justify-start pl-8 md:w-1/4 md:justify-center md:pl-0;
}
}
} }
#header-menu { #header-menu {
@@ -60,3 +70,13 @@ footer {
#text-slide { #text-slide {
@apply font-montserrat z-10 mt-32 flex flex-col items-center justify-center text-center text-7xl font-bold text-white; @apply font-montserrat z-10 mt-32 flex flex-col items-center justify-center text-center text-7xl font-bold text-white;
} }
.services-list {
@apply flex w-full flex-col items-start justify-between gap-4 py-8 text-sm md:flex-row md:gap-8;
.wp-block-group {
@apply mx-6 md:mx-0;
}
}
.clients-logos {
@apply align-middle;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 KiB

View File

@@ -1,4 +1,5 @@
<?php <?php
/** /**
* Template part for displaying pages * Template part for displaying pages
* *
@@ -13,37 +14,35 @@
<header class="entry-header"> <header class="entry-header">
<?php <?php
if ( ! is_front_page() ) { if (! is_front_page()) {
the_title( '<h1 class="entry-title">', '</h1>' ); the_title('<h1 class="entry-title">', '</h1>');
} else {
the_title( '<h2 class="entry-title">', '</h2>' );
} }
?> ?>
</header><!-- .entry-header --> </header><!-- .entry-header -->
<?php studio_up_post_thumbnail(); ?> <?php studio_up_post_thumbnail(); ?>
<div <?php studio_up_content_class( 'entry-content' ); ?>> <div <?php studio_up_content_class('entry-content'); ?>>
<?php <?php
the_content(); the_content();
wp_link_pages( wp_link_pages(
array( array(
'before' => '<div>' . __( 'Pages:', 'studio-up' ), 'before' => '<div>' . __('Pages:', 'studio-up'),
'after' => '</div>', 'after' => '</div>',
) )
); );
?> ?>
</div><!-- .entry-content --> </div><!-- .entry-content -->
<?php if ( get_edit_post_link() ) : ?> <?php if (get_edit_post_link()) : ?>
<footer class="entry-footer"> <footer class="entry-footer">
<?php <?php
edit_post_link( edit_post_link(
sprintf( sprintf(
wp_kses( wp_kses(
/* translators: %s: Name of current post. Only visible to screen readers. */ /* translators: %s: Name of current post. Only visible to screen readers. */
__( 'Edit <span class="sr-only">%s</span>', 'studio-up' ), __('Edit <span class="sr-only">%s</span>', 'studio-up'),
array( array(
'span' => array( 'span' => array(
'class' => array(), 'class' => array(),

View File

@@ -9,7 +9,7 @@
*/ */
?> ?>
<div id="topbar-footer"></div>
<footer id="colophon" class="site-footer py-8"> <footer id="colophon" class="site-footer py-8">
<section class="container mx-auto"> <section class="container mx-auto">
<?php if (is_active_sidebar('sidebar-footer')) : ?> <?php if (is_active_sidebar('sidebar-footer')) : ?>
@@ -18,8 +18,7 @@
</aside> </aside>
<?php endif; ?> <?php endif; ?>
<div class="flex w-full flex-col items-center justify-between font-roboto gap-4 py-8 text-sm md:flex-row md:gap-8"> <div class="flex w-full flex-col items-start justify-between font-roboto gap-4 py-8 text-sm lg:flex-row lg:gap-8">
<?php if (has_nav_menu('footer')) : ?> <?php if (has_nav_menu('footer')) : ?>
<nav aria-label="<?php esc_attr_e('Footer Menu', 'studio-up'); ?>"> <nav aria-label="<?php esc_attr_e('Footer Menu', 'studio-up'); ?>">
<?php <?php
@@ -35,7 +34,7 @@
</nav> </nav>
<?php endif; ?> <?php endif; ?>
<div> <div class="ml-3 md:ml-0">
Copyright ® <?= date('Y') ?> <?= get_bloginfo('name') ?> <?= __('Todos los derechos reservados', 'studio-up') ?>. Copyright ® <?= date('Y') ?> <?= get_bloginfo('name') ?> <?= __('Todos los derechos reservados', 'studio-up') ?>.
</div> </div>
</div> </div>

View File

@@ -47,5 +47,5 @@
</div> </div>
</nav><!-- #site-navigation --> </nav><!-- #site-navigation -->
</div> </div>
<div id="text-slide"></div> <h1 id="text-slide">ESTRATEGIA - BRANDING - CREATIVIDAD - DISEÑO</h1>
</header><!-- #masthead --> </header><!-- #masthead -->