Uname: Linux webm012.cluster130.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Software: Apache
PHP version: 8.0.30 [ PHP INFO ] PHP os: Linux
Server Ip: 145.239.37.162
Your Ip: 216.73.216.190
User: dreampi (1009562) | Group: users (100)
Safe Mode: OFF
Disable Function:
_dyuweyrj4,_dyuweyrj4r,dl

name : customizer.js
/**
 * WordPress dependencies
 */
const { __ } = wp.i18n;
const { Fragment } = wp.element;
import map from 'lodash/map';
const { withFilters, TabPanel, Panel, PanelBody, PanelRow, Button } = wp.components;

export const CustomizerLinks = () => {
	const headerLinks = [
		{
			title: __( 'Global Colors', 'basetheme' ),
			description: __( 'Setup the base color scheme for your site.', 'basetheme' ),
			focus: 'thebase_customizer_general_colors',
			type: 'section',
			setting: false
		},
		{
			title: __( 'Branding', 'basetheme' ),
			description: __( 'Upload your logo and favicon.', 'basetheme' ),
			focus: 'title_tagline',
			type: 'section',
			setting: false
		},
		{
			title: __( 'Typography', 'basetheme' ),
			description: __( 'Choose the perfect font family, style and sizes.', 'basetheme' ),
			focus: 'thebase_customizer_general_typography',
			type: 'section',
			setting: false
		},
		{
			title: __( 'Header Layout', 'basetheme' ),
			description: __( 'Add elements and arrange them how you want.', 'basetheme' ),
			focus: 'thebase_customizer_header',
			type: 'panel',
			setting: false
		},
		{
			title: __( 'Page Layout', 'basetheme' ),
			description: __( 'Define your sites general page look and feel for page title, and content style.', 'basetheme' ),
			focus: 'thebase_customizer_page_layout',
			type: 'section',
			setting: false
		},
		{
			title: __( 'Footer Layout', 'basetheme' ),
			description: __( 'Customize the columns and place widget areas in unlimited configurations', 'basetheme' ),
			focus: 'thebase_customizer_footer_layout',
			type: 'section',
			setting: false
		},
	];
	return (
		<Fragment>
			<h2 className="section-header">{ __( 'Customize Your Site', 'basetheme' ) }</h2>
			{/* <h3 className="section-sub-head">{ __( 'Header Builder', 'basetheme' ) }</h3> */}
			<div className="two-col-grid">
				{ map( headerLinks, ( link ) => {
					return (
						<div className="link-item">
							<h4>{ link.title }</h4>
							<p>{ link.description }</p>
							<div className="link-item-foot">
								<a href={ `${thebaseDashboardParams.adminURL}customize.php?autofocus%5B${ link.type }%5D=${ link.focus }` }>
									{ __( 'Customize', 'basetheme' ) }
								</a>
							</div>
						</div>
					);
				} ) }
			</div>
		</Fragment>
	);
};

export default withFilters( 'thebase_theme_customizer' )( CustomizerLinks );
© 2026 GrazzMean-Shell