Changed scene media grid layout.
This commit is contained in:
		
							parent
							
								
									251bb9476d
								
							
						
					
					
						commit
						48f247a919
					
				|  | @ -167,7 +167,7 @@ export default { | |||
| 
 | ||||
| 	&.expanded { | ||||
| 		display: grid; | ||||
| 		grid-template-columns: repeat(auto-fill, minmax(32rem, 1fr)); | ||||
| 		grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr)); | ||||
| 		grid-gap: 1rem; | ||||
| 		justify-content: center; | ||||
| 		margin: 0 0 1rem 0; | ||||
|  | @ -243,14 +243,14 @@ export default { | |||
| } | ||||
| 
 | ||||
| .item { | ||||
| 	height: 18rem; | ||||
| 	max-height: 18rem; | ||||
| 	max-width: 100%; | ||||
| 	box-shadow: 0 0 3px var(--shadow-weak); | ||||
| 	background-size: cover; | ||||
| } | ||||
| 
 | ||||
| .trailer-container { | ||||
| 	height: 18rem; | ||||
| 	max-height: 18rem; | ||||
| 	width: 32rem; | ||||
|     max-width: 100%; | ||||
| } | ||||
|  |  | |||
|  | @ -5,7 +5,7 @@ | |||
| 	> | ||||
| 		<Expand | ||||
| 			v-if="expanded" | ||||
| 			class="expand" | ||||
| 			class="expand expand-dark" | ||||
| 			:expanded="expanded" | ||||
| 			@expand="(state) => expanded = state" | ||||
| 		/> | ||||
|  | @ -26,7 +26,7 @@ | |||
| 
 | ||||
| 		<Expand | ||||
| 			v-if="release.photos && release.photos.length > 0" | ||||
| 			class="expand-bottom" | ||||
| 			class="expand-bottom expand-dark" | ||||
| 			:expanded="expanded" | ||||
| 			@expand="(state) => expanded = state" | ||||
| 		/> | ||||
|  |  | |||
|  | @ -1,28 +0,0 @@ | |||
| 'use strict'; | ||||
| 
 | ||||
| const qu = require('../utils/qu'); | ||||
| 
 | ||||
| function scrapeAll(scenes) { | ||||
| 	return scenes.map(({ query }) => { | ||||
| 		const release = {}; | ||||
| 
 | ||||
| 		release.title = query.cnt('.thmb_ttl'); | ||||
| 
 | ||||
| 		console.log(release); | ||||
| 		return release; | ||||
| 	}); | ||||
| } | ||||
| 
 | ||||
| async function fetchLatest(channel, page) { | ||||
| 	const res = await qu.getAll(`https://gaywire.com/h1/websites/${channel.slug}/${page}`); | ||||
| 
 | ||||
| 	if (res.ok) { | ||||
| 		return scrapeAll(res.items, '.echThumb'); | ||||
| 	} | ||||
| 
 | ||||
| 	return res.status; | ||||
| } | ||||
| 
 | ||||
| module.exports = { | ||||
| 	fetchLatest, | ||||
| }; | ||||
|  | @ -25,7 +25,6 @@ const fantasymassage = require('./fantasymassage'); | |||
| const firstanalquest = require('./firstanalquest'); | ||||
| const fcuk = require('./fcuk'); | ||||
| const fullpornnetwork = require('./fullpornnetwork'); | ||||
| const gaywire = require('./gaywire'); | ||||
| const girlsway = require('./girlsway'); | ||||
| const hitzefrei = require('./hitzefrei'); | ||||
| const hookuphotshot = require('./hookuphotshot'); | ||||
|  | @ -217,6 +216,7 @@ const scrapers = { | |||
| 		forbondage: porndoe, | ||||
| 		freeones, | ||||
| 		gangbangcreampie: aziani, | ||||
| 		gaywire: bangbros, | ||||
| 		girlfaction: fullpornnetwork, | ||||
| 		gloryholesecrets: aziani, | ||||
| 		hergape: fullpornnetwork, | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue