Fix-links (#45)
* update link to meet source code * on leave go back to home page * just leave page, don't access camera again * add links more links and styles * remove , * change a tag rel attr from noreferrer to noopner
This commit is contained in:
parent
babc030bbb
commit
8b68ac9042
3 changed files with 21 additions and 10 deletions
|
@ -116,7 +116,14 @@ const Home: NextPage = () => {
|
||||||
<div className="header">
|
<div className="header">
|
||||||
<img src="/images/livekit-meet-home.svg" alt="LiveKit Meet" width="360" height="45" />
|
<img src="/images/livekit-meet-home.svg" alt="LiveKit Meet" width="360" height="45" />
|
||||||
<h2>
|
<h2>
|
||||||
Open source video conferencing app built on LiveKit Components, LiveKit Cloud,
|
Open source video conferencing app built on{' '}
|
||||||
|
<a href="https://github.com/livekit/components-js?ref=meet" rel="noopener">
|
||||||
|
LiveKit Components
|
||||||
|
</a>
|
||||||
|
,{' '}
|
||||||
|
<a href="https://livekit.io/cloud?ref=meet" rel="noopener">
|
||||||
|
LiveKit Cloud
|
||||||
|
</a>{' '}
|
||||||
and Next.js.
|
and Next.js.
|
||||||
</h2>
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
|
@ -127,15 +134,11 @@ const Home: NextPage = () => {
|
||||||
</main>
|
</main>
|
||||||
<footer data-lk-theme="default">
|
<footer data-lk-theme="default">
|
||||||
Hosted on{' '}
|
Hosted on{' '}
|
||||||
<a href="https://livekit.io/cloud?ref=meet" target="_blank" rel="noreferrer">
|
<a href="https://livekit.io/cloud?ref=meet" rel="noopener">
|
||||||
LiveKit Cloud
|
LiveKit Cloud
|
||||||
</a>
|
</a>
|
||||||
. Source code on{' '}
|
. Source code on{' '}
|
||||||
<a
|
<a href="https://github.com/livekit/meet?ref=meet" rel="noopener">
|
||||||
href="https://github.com/livekit/components-js?ref=meet"
|
|
||||||
target="_blank"
|
|
||||||
rel="noreferrer"
|
|
||||||
>
|
|
||||||
GitHub
|
GitHub
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
|
|
|
@ -32,7 +32,9 @@ const Home: NextPage = () => {
|
||||||
<ActiveRoom
|
<ActiveRoom
|
||||||
roomName={roomName}
|
roomName={roomName}
|
||||||
userChoices={preJoinChoices}
|
userChoices={preJoinChoices}
|
||||||
onLeave={() => setPreJoinChoices(undefined)}
|
onLeave={() => {
|
||||||
|
router.push('/');
|
||||||
|
}}
|
||||||
></ActiveRoom>
|
></ActiveRoom>
|
||||||
) : (
|
) : (
|
||||||
<div style={{ display: 'grid', placeItems: 'center', height: '100%' }}>
|
<div style={{ display: 'grid', placeItems: 'center', height: '100%' }}>
|
||||||
|
|
|
@ -47,12 +47,18 @@ footer {
|
||||||
border-top: 1px solid rgba(255, 255, 255, 0.15);
|
border-top: 1px solid rgba(255, 255, 255, 0.15);
|
||||||
}
|
}
|
||||||
|
|
||||||
footer a {
|
footer a,
|
||||||
|
h2 a {
|
||||||
color: #ff6352;
|
color: #ff6352;
|
||||||
text-decoration-color: #a33529;
|
text-decoration-color: #a33529;
|
||||||
text-underline-offset: 0.125em;
|
text-underline-offset: 0.125em;
|
||||||
}
|
}
|
||||||
|
|
||||||
footer a:hover {
|
footer a:hover,
|
||||||
|
h2 a {
|
||||||
text-decoration-color: #ff6352;
|
text-decoration-color: #ff6352;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h2 a {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue