<commit_before>import React from 'react'
import axios from 'axios'
import Helmet from 'react-helmet'
import { Image } from 'cloudinary-react'

const imageStyle = {
	'borderRadius': '2px'
}

export default class GaleriaMarca extends React.Component {
	constructor(props) {
		super(props)
		this.state = {
			allPhotos: null,
			photoURL: null
		}
		this.buildURL = this.buildURL.bind(this)
	}
	buildURL() {
		this.setState({
			photoURL: 'https://ziro.netlify.com/loubucca'//`https://res.cloudinary.com/ziro/image/upload/${this.state.allPhotos[0].version}/${this.state.allPhotos[0].public_id}.png`
		})
	}
	componentDidMount() {
		axios.get('https://res.cloudinary.com/ziro/image/list/loubucca.json')
			.then( (response) => {
				this.setState({
					allPhotos: response.data.resources
				})
			})
	}
	render() {
		return (
			<div>
				<Helmet 
					title={`${this.state.photoURL}`}
					meta={[
						{ name: 'description', content: `${this.state.photoURL}` },
						{ property: 'og:image', content: 'https://res.cloudinary.com/ziro/image/upload/v1507497199/loubucca-5.png' }
					]}
				/>
				{this.state.allPhotos ?
			  	this.state.allPhotos.map( (photo, index) => {
			  		return ( 
				  		<a key={index} onClick={this.buildURL} href={`whatsapp://send?phone=15302048900&text=${this.state.photoURL}`}>
				  			<Image style={imageStyle} cloudName='ziro' width='400' publicId={photo.public_id} />
				  		</a>
				  	)
			  	})
				:
					<div>Loading...</div>
				}
			</div>
		)
	}
}<commit_msg>minor corrections from previous commit<commit_after>import React from 'react'
import axios from 'axios'
import Helmet from 'react-helmet'
import { Image } from 'cloudinary-react'

const imageStyle = {
	'borderRadius': '2px'
}

export default class GaleriaMarca extends React.Component {
	constructor(props) {
		super(props)
		this.state = {
			allPhotos: null,
			photoURL: null
		}
		this.buildURL = this.buildURL.bind(this)
	}
	buildURL() {
		this.setState({
			photoURL: `https://res.cloudinary.com/ziro/image/upload/${this.state.allPhotos[0].version}/${this.state.allPhotos[0].public_id}.png`
		})
	}
	componentDidMount() {
		axios.get('https://res.cloudinary.com/ziro/image/list/loubucca.json')
			.then( (response) => {
				this.setState({
					allPhotos: response.data.resources
				})
			})
	}
	render() {
		return (
			<div>
				<Helmet 
					title='Marca: Loubucca'
					meta={[
						{ property: 'og:image', content: `${this.state.photoURL}` }
					]}
				/>
				{this.state.allPhotos ?
			  	this.state.allPhotos.map( (photo, index) => {
			  		return ( 
				  		<a key={index} onClick={this.buildURL} href={`whatsapp://send?phone=15302048900&text=${this.state.photoURL}`}>
				  			<Image style={imageStyle} cloudName='ziro' width='400' publicId={photo.public_id} />
				  		</a>
				  	)
			  	})
				:
					<div>Loading...</div>
				}
			</div>
		)
	}
}
{'fraction_non_alphanumeric': 0.17409470752089137, 'fraction_numerical': 0.015668523676880222, 'mean_word_length': 3.0925925925925926, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 23, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4098053', 'n_tokens_mistral': 1279, 'n_tokens_neox': 1062, 'n_words': 155}