forked from Mirror/ollama4j
		
	Updated docs
This commit is contained in:
		@@ -22,18 +22,30 @@ const images = [
 | 
				
			|||||||
];
 | 
					];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class Ollama4jUIImageCarousel extends React.Component {
 | 
					class Ollama4jUIImageCarousel extends React.Component {
 | 
				
			||||||
 | 
					    renderItem = (item) => {
 | 
				
			||||||
 | 
					        return (
 | 
				
			||||||
 | 
					            <div className="image-gallery-image" style={{ textAlign: 'center' }}>
 | 
				
			||||||
 | 
					                <img
 | 
				
			||||||
 | 
					                    src={item.original}
 | 
				
			||||||
 | 
					                    alt=""
 | 
				
			||||||
 | 
					                    style={{ maxHeight: '500px', width: 'auto', maxWidth: '100%' }}
 | 
				
			||||||
 | 
					                />
 | 
				
			||||||
 | 
					            </div>
 | 
				
			||||||
 | 
					        );
 | 
				
			||||||
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    render() {
 | 
					    render() {
 | 
				
			||||||
        return (
 | 
					        return (
 | 
				
			||||||
        <div style={{ width: '50%', margin: '0 auto' }}>
 | 
					            <div style={{ margin: '0 auto', maxWidth: '800px' }}>
 | 
				
			||||||
            <div style={{display: 'flex', flexDirection: 'column', justifyContent: 'center', alignItems: 'center'}}>
 | 
					                <div style={{ display: 'flex', flexDirection: 'column', justifyContent: 'center', alignItems: 'center' }}>
 | 
				
			||||||
                    <h2>Explore the stuff we have built with Ollama4j</h2>
 | 
					                    <h2>Explore the stuff we have built with Ollama4j</h2>
 | 
				
			||||||
                    <h4>
 | 
					                    <h4>
 | 
				
			||||||
                    <a href="https://github.com/ollama4j/ollama4j-ui" target='_blank'>
 | 
					                        <a href="https://github.com/ollama4j/ollama4j-ui" target='_blank' rel="noopener noreferrer">
 | 
				
			||||||
                            Ollama4j UI - Desktop UI built in Java with Swing
 | 
					                            Ollama4j UI - Desktop UI built in Java with Swing
 | 
				
			||||||
                        </a>
 | 
					                        </a>
 | 
				
			||||||
                    </h4>
 | 
					                    </h4>
 | 
				
			||||||
                </div>
 | 
					                </div>
 | 
				
			||||||
          <ImageGallery items={images} />
 | 
					                <ImageGallery items={images} renderItem={this.renderItem} />
 | 
				
			||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
        );
 | 
					        );
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user