+
+ = get_field('texto_legal', 'option') ?>
'menu-2',
- 'menu_class' => 'footer-menu',
- 'depth' => 1,
+ 'theme_location' => 'menu-legal',
+ 'container' => false,
+ 'menu_id' => 'menu-legal',
+ 'items_wrap' => '
',
)
);
?>
-
-
-
-
-
-
,
- proudly powered by %2$s.',
- esc_url( __( 'https://wordpress.org/', 'valier' ) ),
- 'WordPress'
- );
- ?>
+
-
-
+
diff --git a/theme/template-parts/layout/header-content.php b/theme/template-parts/layout/header-content.php
index 38a7bd0..4fc9666 100644
--- a/theme/template-parts/layout/header-content.php
+++ b/theme/template-parts/layout/header-content.php
@@ -7,41 +7,9 @@
* @package Valier
*/
-?>
+if (is_front_page()) {
+ get_template_part('template-parts/layout/header', 'home');
+} else {
+ get_template_part('template-parts/layout/header', 'page');
+}
-
diff --git a/theme/template-parts/layout/header-home.php b/theme/template-parts/layout/header-home.php
new file mode 100644
index 0000000..dc07bf3
--- /dev/null
+++ b/theme/template-parts/layout/header-home.php
@@ -0,0 +1,29 @@
+
diff --git a/theme/template-parts/layout/header-page.php b/theme/template-parts/layout/header-page.php
new file mode 100644
index 0000000..bc1835b
--- /dev/null
+++ b/theme/template-parts/layout/header-page.php
@@ -0,0 +1,25 @@
+
diff --git a/theme/theme.json b/theme/theme.json
index 223f304..535c169 100644
--- a/theme/theme.json
+++ b/theme/theme.json
@@ -1,39 +1,128 @@
{
- "$schema": "https://schemas.wp.org/trunk/theme.json",
+ "$schema": "https:\/\/schemas.wp.org\/trunk\/theme.json",
"version": 2,
"settings": {
+ "appearanceTools": true,
"color": {
"palette": [
{
"slug": "background",
- "color": "#ffffff",
+ "color": "#ecedf0",
"name": "Background"
},
- {
- "slug": "foreground",
- "color": "#404040",
- "name": "Foreground"
- },
{
"slug": "primary",
- "color": "#b91c1c",
+ "color": "#b37b20",
"name": "Primary"
},
{
"slug": "secondary",
- "color": "#15803d",
+ "color": "#002e4f",
"name": "Secondary"
},
{
"slug": "tertiary",
- "color": "#0369a1",
+ "color": "#706f6f",
"name": "Tertiary"
}
]
},
+ "typography": {
+ "fontFamilies": [
+ {
+ "name": "Cinzel",
+ "slug": "cinzel",
+ "fontFamily": "\"Cinzel\", serif",
+ "fontFace": [
+ {
+ "fontFamily": "cinzel",
+ "fontWeight": "400 900",
+ "fontStyle": "normal",
+ "fontStretch": "normal",
+ "src": [
+ "file:./assets/fonts/Cinzel-VariableFont_wght.ttf"
+ ]
+ }
+ ]
+ },
+ {
+ "name": "Playfair",
+ "slug": "playfair",
+ "fontFamily": "\"Playfair Display\", serif",
+ "fontFace": [
+ {
+ "fontFamily": "playfair",
+ "fontWeight": "400 900",
+ "fontStyle": "normal",
+ "fontStretch": "normal",
+ "src": [
+ "file:./assets/fonts/PlayfairDisplay-VariableFont_wght.ttf"
+ ]
+ }
+ ]
+ }
+ ],
+ "fontSizes": [
+ {
+ "slug": "mini",
+ "size": "0.77rem",
+ "name": "Pequeño"
+ },
+ {
+ "slug": "small",
+ "size": "0.88rem",
+ "name": "Pequeño"
+ },
+ {
+ "slug": "regular",
+ "size": "1rem",
+ "name": "Normal"
+ },
+ {
+ "slug": "big",
+ "size": "1.66rem",
+ "name": "Grande"
+ },
+ {
+ "slug": "extreme",
+ "size": "2.55rem",
+ "name": "Enorme"
+ }
+ ]
+ },
+ "spacing": [
+ {
+ "units": [
+ "px",
+ "em",
+ "rem",
+ "vh",
+ "vw"
+ ]
+ }
+ ],
"layout": {
- "contentSize": "40rem",
- "wideSize": "60rem"
+ "contentSize": "840px",
+ "wideSize": "1100px"
+ },
+ "shadow": {
+ "presets": [
+ {
+ "name": "Small",
+ "slug": "sm",
+ "shadow": "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)"
+ },
+ {
+ "name": "Medium",
+ "slug": "md",
+ "shadow": "0 4px 10px 0 rgba( 0, 0, 0, 0.3 )"
+ },
+ {
+ "name": "Large",
+ "slug": "lg",
+ "shadow": "0 8px 15px 0 rgba( 0, 0, 0, 0.3 )"
+ }
+ ]
}
}
}