diff --git a/assets/pasted-20260107-153539-5729a789.jpg b/assets/pasted-20260107-153539-5729a789.jpg new file mode 100644 index 0000000..f72ae03 Binary files /dev/null and b/assets/pasted-20260107-153539-5729a789.jpg differ diff --git a/assets/pasted-20260107-154543-e49913d2.png b/assets/pasted-20260107-154543-e49913d2.png new file mode 100644 index 0000000..e21364f Binary files /dev/null and b/assets/pasted-20260107-154543-e49913d2.png differ diff --git a/assets/vm-shot-2026-01-07T15-35-16-168Z.jpg b/assets/vm-shot-2026-01-07T15-35-16-168Z.jpg new file mode 100644 index 0000000..f72ae03 Binary files /dev/null and b/assets/vm-shot-2026-01-07T15-35-16-168Z.jpg differ diff --git a/wp-config.php b/wp-config.php index 2b8374c..cdd3259 100644 --- a/wp-config.php +++ b/wp-config.php @@ -89,7 +89,14 @@ define( 'WP_DEBUG', false ); /* Add any custom values between this line and the "stop editing" line. */ +if (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https') { + $_SERVER['HTTPS'] = 'on'; +} +if (isset($_SERVER['HTTP_HOST'])) { + define('WP_HOME', 'https://' . $_SERVER['HTTP_HOST']); + define('WP_SITEURL', 'https://' . $_SERVER['HTTP_HOST']); +} /* That's all, stop editing! Happy publishing. */ diff --git a/wp-content/themes/twentytwentyfive/assets/css/custom-style.css b/wp-content/themes/twentytwentyfive/assets/css/custom-style.css new file mode 100644 index 0000000..c2c02e8 --- /dev/null +++ b/wp-content/themes/twentytwentyfive/assets/css/custom-style.css @@ -0,0 +1,58 @@ +/* Custom Styles */ + +body.home { + background-color: var(--wp--preset--color--base); + color: var(--wp--preset--color--contrast); +} + +body.home a { + color: var(--wp--preset--color--primary); +} + +body.home a:hover { + color: var(--wp--preset--color--contrast); +} + +body.home .wp-block-button__link { + background-color: var(--wp--preset--color--primary); + color: #FFFFFF; +} + +body.home .wp-block-button__link:hover { + background-color: var(--wp--preset--color--contrast); + color: #FFFFFF; +} + +body.home .wp-block-site-title a { + color: var(--wp--preset--color--primary); +} + +body.home .hero-section { + position: relative; + height: 300px !important; + display: flex; + align-items: center; + justify-content: center; + color: white; + text-align: center; + width: 100%; + overflow: hidden; +} + +body.home .hero-section img { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + object-fit: cover; + z-index: 0; +} + +body.home .hero-section .hero-content { + position: relative; + z-index: 1; + background-color: rgba(0, 0, 0, 0.5); + padding: 2rem; + border-radius: 0.5rem; +} diff --git a/wp-content/themes/twentytwentyfive/assets/images/hero-image.png b/wp-content/themes/twentytwentyfive/assets/images/hero-image.png new file mode 100644 index 0000000..e21364f Binary files /dev/null and b/wp-content/themes/twentytwentyfive/assets/images/hero-image.png differ diff --git a/wp-content/themes/twentytwentyfive/functions.php b/wp-content/themes/twentytwentyfive/functions.php index c97f117..2e77855 100644 --- a/wp-content/themes/twentytwentyfive/functions.php +++ b/wp-content/themes/twentytwentyfive/functions.php @@ -67,6 +67,26 @@ if ( ! function_exists( 'twentytwentyfive_enqueue_styles' ) ) : endif; add_action( 'wp_enqueue_scripts', 'twentytwentyfive_enqueue_styles' ); +// Enqueues the custom stylesheet on the front. +if ( ! function_exists( 'twentytwentyfive_enqueue_custom_styles' ) ) : + /** + * Enqueues the custom stylesheet on the front. + * + * @since Twenty Twenty-Five 1.0 + * + * @return void + */ + function twentytwentyfive_enqueue_custom_styles() { + wp_enqueue_style( + 'twentytwentyfive-custom-style', + get_stylesheet_directory_uri() . '/assets/css/custom-style.css', + array('twentytwentyfive-style'), + time() + ); + } +endif; +add_action( 'wp_enqueue_scripts', 'twentytwentyfive_enqueue_custom_styles' ); + // Registers custom block styles. if ( ! function_exists( 'twentytwentyfive_block_styles' ) ) : /** diff --git a/wp-content/themes/twentytwentyfive/templates/home.html b/wp-content/themes/twentytwentyfive/templates/home.html index ae6870c..23f0a4c 100644 --- a/wp-content/themes/twentytwentyfive/templates/home.html +++ b/wp-content/themes/twentytwentyfive/templates/home.html @@ -1,9 +1,19 @@ + +
+ We build amazing websites
+