mirror of
				https://github.com/phuoc-ng/csslayout.git
				synced 2025-10-24 19:26:26 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			32 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| import React from 'react';
 | |
| 
 | |
| import Frame from '../../placeholders/Frame';
 | |
| import Rectangle from '../../placeholders/Rectangle';
 | |
| 
 | |
| const Cover = () => {
 | |
|     return (
 | |
|         <Frame>
 | |
|             <div className="h-100 flex flex-column items-center justify-center">
 | |
|                 <div className="w-80">
 | |
|                     <div className="flex items-center mb1">
 | |
|                         <div className="ph1" style={{ flex: '0 0 50%' }}><Rectangle /></div>
 | |
|                         <div className="ph1" style={{ flex: '1' }}><Rectangle /></div>
 | |
|                     </div>
 | |
|                     <div className="flex items-center mb1">
 | |
|                         <div className="ph1" style={{ flex: '0 0 33%' }}><Rectangle /></div>
 | |
|                         <div className="ph1" style={{ flex: '0 0 33%' }}><Rectangle /></div>
 | |
|                         <div className="ph1" style={{ flex: '0 0 33%' }}><Rectangle /></div>
 | |
|                     </div>
 | |
|                     <div className="flex items-center">
 | |
|                         <div className="ph1" style={{ flex: '0 0 25%' }}><Rectangle /></div>
 | |
|                         <div className="ph1" style={{ flex: '1' }}><Rectangle /></div>
 | |
|                         <div className="ph1" style={{ flex: '0 0 25%' }}><Rectangle /></div>
 | |
|                     </div>
 | |
|                 </div>
 | |
|             </div>
 | |
|         </Frame>
 | |
|     );
 | |
| };
 | |
| 
 | |
| export default Cover;
 |