feat(components): add "new story" button to navbar
This commit is contained in:
		
							parent
							
								
									269a26b976
								
							
						
					
					
						commit
						39b5e83f37
					
				| @ -65,6 +65,20 @@ | ||||
| 			</a-menu-item> | ||||
| 			<a-menu-item key="logout" v-if="!!data?.user"> Logout </a-menu-item> | ||||
| 		</a-menu> | ||||
| 		<div> | ||||
| 			<a-button | ||||
| 				v-if="!!data?.user" | ||||
| 				type="primary" | ||||
| 				:style="{}" | ||||
| 				tooltip="Post a new Story" | ||||
| 				@click="() => navigateTo('/new-story')" | ||||
| 			> | ||||
| 				<template #icon> | ||||
| 					<icon istyle="regular" name="file-plus" /> | ||||
| 				</template> | ||||
| 				<span style="margin-left: 0.5em"> Post a new Story </span> | ||||
| 			</a-button> | ||||
| 		</div> | ||||
| 		<div class="acbut" v-if="!data"> | ||||
| 			<a-button size="large" @click="() => navigateTo('/login')"> | ||||
| 				Log In | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user