mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-13 04:24:15 +00:00
remove unnecesary tabs
This commit is contained in:
parent
662190c1ca
commit
d2e413f7eb
@ -92,18 +92,7 @@ export default (props) => {
|
|||||||
loadStreamings()
|
loadStreamings()
|
||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
return <div className="livestreamsBrowser">
|
return <div className="livestream_list">
|
||||||
<div className="header">
|
|
||||||
<div className="title">
|
|
||||||
<h1>
|
|
||||||
<Icons.Tv />
|
|
||||||
<span>Livestreams</span>
|
|
||||||
</h1>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div className="livestream_list">
|
|
||||||
{renderList()}
|
{renderList()}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
}
|
}
|
@ -1,39 +1,11 @@
|
|||||||
@item_border_radius: 10px;
|
@item_border_radius: 10px;
|
||||||
|
|
||||||
.livestreamsBrowser {
|
.livestream_list {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
width: 100%;
|
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;
|
padding: 0 50px;
|
||||||
|
|
||||||
.livestream_item {
|
.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 ExploreTab from "./components/explore"
|
||||||
import ControlPanelTab from "./components/controlPanel"
|
import ControlPanelTab from "./components/controlPanel"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
"feed": {
|
|
||||||
label: "Feed",
|
|
||||||
icon: "Rss",
|
|
||||||
component: FeedTab
|
|
||||||
},
|
|
||||||
"explore": {
|
"explore": {
|
||||||
label: "Explore",
|
label: "Explore",
|
||||||
icon: "Search",
|
icon: "Search",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user