Procházet zdrojové kódy

Add thread sorting buttons

sbkwgh před 8 roky
rodič
revize
15f3d42f4a
1 změnil soubory, kde provedl 11 přidání a 3 odebrání
  1. 11 3
      src/components/routes/Index.vue

+ 11 - 3
src/components/routes/Index.vue

@@ -1,6 +1,10 @@
 <template>
-	<div>
-		Index
+	<div class='index'>
+		<div class='thread_sorting'>
+			<div class='button'>New</div>
+			<div class='button'>Most active</div>
+			<div class='button'>No replies</div>
+		</div>
 	</div>
 </template>
 
@@ -11,5 +15,9 @@
 </script>
 
 <style lang='scss' scoped>
-	
+	.index {
+		width: 80%;
+		margin: 0 auto;
+		margin-top: 2rem;
+	}
 </style>