mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-11 19:44:15 +00:00
remove unnecesary tabs
This commit is contained in:
parent
662190c1ca
commit
d2e413f7eb
@ -92,18 +92,7 @@ export default (props) => {
|
||||
loadStreamings()
|
||||
}, [])
|
||||
|
||||
return <div className="livestreamsBrowser">
|
||||
<div className="header">
|
||||
<div className="title">
|
||||
<h1>
|
||||
<Icons.Tv />
|
||||
<span>Livestreams</span>
|
||||
</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="livestream_list">
|
||||
return <div className="livestream_list">
|
||||
{renderList()}
|
||||
</div>
|
||||
</div>
|
||||
}
|
@ -1,39 +1,11 @@
|
||||
@item_border_radius: 10px;
|
||||
|
||||
.livestreamsBrowser {
|
||||
.livestream_list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
width: 100%;
|
||||
|
||||
.header {
|
||||
display: inline-flex;
|
||||
flex-direction: row;
|
||||
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
|
||||
width: 100%;
|
||||
|
||||
.panel {
|
||||
display: inline-flex;
|
||||
flex-direction: row;
|
||||
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.title {
|
||||
svg {
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.livestream_list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 0 50px;
|
||||
|
||||
.livestream_item {
|
||||
@ -115,5 +87,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,18 +0,0 @@
|
||||
import React from "react"
|
||||
import { Result, Button } from "antd"
|
||||
|
||||
import "./index.less"
|
||||
|
||||
export default (props) => {
|
||||
return <div className="livestreamsFeed">
|
||||
<Result
|
||||
status="404"
|
||||
title="Not implemented"
|
||||
subTitle={<>
|
||||
<span>Sorry, this feature is not implemented yet</span>
|
||||
<br />
|
||||
<span>But you can explore all streamings in <a onClick={() => app.setLocation("/tv/explore")}>explore</a> tab</span>
|
||||
</>}
|
||||
/>
|
||||
</div>
|
||||
}
|
@ -1 +0,0 @@
|
||||
.livestreamsFeed {}
|
@ -1,13 +1,7 @@
|
||||
import FeedTab from "./components/feed"
|
||||
import ExploreTab from "./components/explore"
|
||||
import ControlPanelTab from "./components/controlPanel"
|
||||
|
||||
export default {
|
||||
"feed": {
|
||||
label: "Feed",
|
||||
icon: "Rss",
|
||||
component: FeedTab
|
||||
},
|
||||
"explore": {
|
||||
label: "Explore",
|
||||
icon: "Search",
|
||||
|
Loading…
x
Reference in New Issue
Block a user