<?php
/**
 * LaraClassifier - Classified Ads Web Application
 * Copyright (c) BeDigit. All Rights Reserved
 *
 * Website: https://laraclassifier.com
 *
 * LICENSE
 * -------
 * This software is furnished under a license and may be used and copied
 * only in accordance with the terms of such license and with the inclusion
 * of the above copyright notice. If you Purchased from CodeCanyon,
 * Please read the full License from here - http://codecanyon.net/licenses/standard
 */

namespace App\Models\Setting;

class SocialAuthSetting
{
	public static function getValues($value, $disk)
	{
		return $value;
	}
	
	public static function setValues($value, $setting)
	{
		return $value;
	}
	
	public static function getFields($diskName)
	{
		$fields = [
			[
				'name'  => 'social_login_activation',
				'label' => trans('admin.social_login_activation_label'),
				'type'  => 'checkbox_switch',
				'hint'  => trans('admin.social_login_activation_hint'),
			],
			[
				'name'  => 'sa_facebook_sep',
				'type'  => 'custom_html',
				'value' => trans('admin.facebook_sep_value'),
			],
			[
				'name'  => 'sa_facebook_sep_1',
				'type'  => 'custom_html',
				'value' => trans('admin.facebook_sep_1_value'),
			],
			[
				'name'              => 'facebook_client_id',
				'label'             => trans('admin.facebook_client_id_label'),
				'type'              => 'text',
				'wrapperAttributes' => [
					'class' => 'col-md-6',
				],
			],
			[
				'name'              => 'facebook_client_secret',
				'label'             => trans('admin.facebook_client_secret_label'),
				'type'              => 'text',
				'wrapperAttributes' => [
					'class' => 'col-md-6',
				],
			],
			[
				'name'  => 'sa_linkedin_sep',
				'type'  => 'custom_html',
				'value' => trans('admin.linkedin_sep_value'),
			],
			[
				'name'  => 'sa_linkedin_sep_1',
				'type'  => 'custom_html',
				'value' => trans('admin.linkedin_sep_1_value'),
			],
			[
				'name'              => 'linkedin_client_id',
				'label'             => trans('admin.linkedin_client_id_label'),
				'type'              => 'text',
				'wrapperAttributes' => [
					'class' => 'col-md-6',
				],
			],
			[
				'name'              => 'linkedin_client_secret',
				'label'             => trans('admin.linkedin_client_secret_label'),
				'type'              => 'text',
				'wrapperAttributes' => [
					'class' => 'col-md-6',
				],
			],
			[
				'name'  => 'sa_twitter_sep',
				'type'  => 'custom_html',
				'value' => trans('admin.twitter_sep_value'),
			],
			[
				'name'  => 'sa_twitter_sep_1',
				'type'  => 'custom_html',
				'value' => trans('admin.twitter_sep_1_value'),
			],
			[
				'name'              => 'twitter_client_id',
				'label'             => trans('admin.twitter_client_id_label'),
				'type'              => 'text',
				'wrapperAttributes' => [
					'class' => 'col-md-6',
				],
			],
			[
				'name'              => 'twitter_client_secret',
				'label'             => trans('admin.twitter_client_secret_label'),
				'type'              => 'text',
				'wrapperAttributes' => [
					'class' => 'col-md-6',
				],
			],
			[
				'name'  => 'sa_google_sep',
				'type'  => 'custom_html',
				'value' => trans('admin.google_sep_value'),
			],
			[
				'name'  => 'sa_google_sep_1',
				'type'  => 'custom_html',
				'value' => trans('admin.google_sep_1_value'),
			],
			[
				'name'              => 'google_client_id',
				'label'             => trans('admin.google_client_id_label'),
				'type'              => 'text',
				'wrapperAttributes' => [
					'class' => 'col-md-6',
				],
			],
			[
				'name'              => 'google_client_secret',
				'label'             => trans('admin.google_client_secret_label'),
				'type'              => 'text',
				'wrapperAttributes' => [
					'class' => 'col-md-6',
				],
			],
		];
		
		return $fields;
	}
}
