Merge pull request 'main' (#21) from sageTheDm/ai-virtual-assistant:main into main
Reviewed-on: https://interstellardevelopment.org/code/code/React-Group/ai-virtual-assistant/pulls/21
This commit is contained in:
		
						commit
						0cd3d2e846
					
				
					 2 changed files with 76 additions and 38 deletions
				
			
		|  | @ -15,16 +15,26 @@ | ||||||
|         <!-- History section: A scrollable list of interactions or messages --> |         <!-- History section: A scrollable list of interactions or messages --> | ||||||
|         <div class="history"> |         <div class="history"> | ||||||
|             <ul> |             <ul> | ||||||
|                 <li>history1</li> |                 <li><a href="#">history1</a></li> | ||||||
|                 <li>history2</li> |                 <li><a href="#">history2</a></li> | ||||||
|                 <li>history3</li> |                 <li><a href="#">history3</a></li> | ||||||
|                 <li>history4</li> |                 <li><a href="#">history4</a></li> | ||||||
|                 <li>history5</li> |                 <li><a href="#">history5</a></li> | ||||||
|                 <li>history6</li> |                 <li><a href="#">history6</a></li> | ||||||
|                 <li>history7</li> |                 <li><a href="#">history7</a></li> | ||||||
|                 <li>history8</li> |                 <li><a href="#">history8</a></li> | ||||||
|                 <li>history9</li> |                 <li><a href="#">history9</a></li> | ||||||
|                 <li>history10</li> |                 <li><a href="#">history10</a></li> | ||||||
|  |                 <li><a href="#">history11</a></li> | ||||||
|  |                 <li><a href="#">history12</a></li> | ||||||
|  |                 <li><a href="#">history13</a></li> | ||||||
|  |                 <li><a href="#">history14</a></li> | ||||||
|  |                 <li><a href="#">history15</a></li> | ||||||
|  |                 <li><a href="#">history16</a></li> | ||||||
|  |                 <li><a href="#">history17</a></li> | ||||||
|  |                 <li><a href="#">history18</a></li> | ||||||
|  |                 <li><a href="#">history19</a></li> | ||||||
|  |                 <li><a href="#">history20</a></li> | ||||||
|             </ul> |             </ul> | ||||||
|         </div> |         </div> | ||||||
|          |          | ||||||
|  | @ -33,6 +43,7 @@ | ||||||
|             <div class="titel"> |             <div class="titel"> | ||||||
|                 <h1>Different AI models</h1> |                 <h1>Different AI models</h1> | ||||||
|             </div> |             </div> | ||||||
|  |             <div class="grid"> | ||||||
|                 <!-- Each AI model is represented as a colored circular button --> |                 <!-- Each AI model is represented as a colored circular button --> | ||||||
|                 <div class="ai-class"> |                 <div class="ai-class"> | ||||||
|                     <h3>Code</h3> |                     <h3>Code</h3> | ||||||
|  | @ -55,6 +66,7 @@ | ||||||
|                     <div class="circle custom-model"></div> |                     <div class="circle custom-model"></div> | ||||||
|                 </div> |                 </div> | ||||||
|             </div> |             </div> | ||||||
|  |         </div> | ||||||
| 
 | 
 | ||||||
|         <!-- Output section: Simulating a conversation with AI --> |         <!-- Output section: Simulating a conversation with AI --> | ||||||
|         <div class="output"> |         <div class="output"> | ||||||
|  |  | ||||||
|  | @ -62,23 +62,49 @@ body { | ||||||
| .history ul li { | .history ul li { | ||||||
|     padding: 10px 0; |     padding: 10px 0; | ||||||
|     border-bottom: 1px solid var(--text-color); |     border-bottom: 1px solid var(--text-color); | ||||||
|  |     width: 100%; | ||||||
| } | } | ||||||
|  | 
 | ||||||
|  | .history ul li a{ | ||||||
|  |     display: block; | ||||||
|  |     text-decoration: none; | ||||||
|  |     color: white; | ||||||
|  |     width: 100%; | ||||||
|  |     padding: 5px;  | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | .history ul li a:hover{ | ||||||
|  |     background-color: var(--input-button-hover-color); | ||||||
|  | } | ||||||
|  | 
 | ||||||
| /* Models Section */ | /* Models Section */ | ||||||
| .models { | .models { | ||||||
|     grid-column: 1; |  | ||||||
|     grid-row: 2; |  | ||||||
|     display: flex; |  | ||||||
|     justify-content: space-between; |  | ||||||
|     align-items: center; |  | ||||||
|     background-color: var(--models-background-color); |     background-color: var(--models-background-color); | ||||||
|     border-radius: 2em; |     border-radius: 2em; | ||||||
|     padding: 1em; |     padding: 1em; | ||||||
|     height: 40vh; /* Adjusted height to occupy 40% of the viewport height */ |     height: 40vh; /* Adjusted height to occupy 40% of the viewport height */ | ||||||
| } | } | ||||||
| .models .title h3 { | 
 | ||||||
|  | .models h3 { | ||||||
|     padding: 2px; |     padding: 2px; | ||||||
|     margin: 5px; |     margin: 5px; | ||||||
| } | } | ||||||
|  | 
 | ||||||
|  | .models .title h3 { | ||||||
|  |     padding: 2px; | ||||||
|  |     margin: 5px; | ||||||
|  |     padding-bottom: 1em; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | .grid{ | ||||||
|  |     grid-column: 1; | ||||||
|  |     grid-row: 2; | ||||||
|  |     display: flex; | ||||||
|  |     justify-content: space-between; | ||||||
|  |     align-items: center; | ||||||
|  |     padding-top: 1em; | ||||||
|  | } | ||||||
|  | 
 | ||||||
| .ai-class { | .ai-class { | ||||||
|     text-align: center; |     text-align: center; | ||||||
|     display: flex; |     display: flex; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue