fix🐛: update footer sidebar
	
		
			
	
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
					Details
				
			
		
	
				
					
				
			
				
	
				continuous-integration/drone/push Build is passing
				
					Details
				
			
		
	
							parent
							
								
									d85eac05ab
								
							
						
					
					
						commit
						1695386238
					
				|  | @ -1,12 +1,12 @@ | |||
| <script setup> | ||||
| import { useData } from 'vitepress' | ||||
| import {t} from '../locale' | ||||
| 
 | ||||
| import {t} from '../locale' | ||||
| const { theme, frontmatter, lang } = useData() | ||||
| </script> | ||||
| 
 | ||||
| <template> | ||||
|   <footer v-if="theme.footer && frontmatter.footer !== false"> | ||||
|   <footer v-if="theme.footer && frontmatter.footer != false" :class="{ 'has-sidebar': theme.sidebar && frontmatter.footer != false && frontmatter.layout !== 'home' }"> | ||||
|     <div className="w-full text-sm px-6 sm:px-8 md:px-28 lg:px-20 xl:px-0 max-w-screen-lg mx-auto border-t border-t-solid border-t-[var(--vp-c-gray-3)] pt-6"> | ||||
|         <div className="grid grid-cols-12 gap-8 py-12 text-[var(--vp-c-text-2)] transition-colors duration-150 border-b lt-sm:grid-cols-1 border-border"> | ||||
|           <div className="col-span-4 lt-sm:col-span-1"> | ||||
|  | @ -105,4 +105,8 @@ const { theme, frontmatter, lang } = useData() | |||
|   </footer> | ||||
| </template> | ||||
| 
 | ||||
| <style scoped></style> | ||||
| <style scoped> | ||||
| .VPFooter.has-sidebar { | ||||
|   display: none; | ||||
| } | ||||
| </style> | ||||
		Loading…
	
		Reference in New Issue