added cal logo to daily call (#888)

* added cal logo to daily call
This commit is contained in:
Peer Richelsen 2021-10-09 16:15:07 +01:00 committed by GitHub
parent 014b74be8c
commit b794469c05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 3 deletions

View file

@ -1,7 +1,8 @@
import DailyIframe from "@daily-co/daily-js"; import DailyIframe from "@daily-co/daily-js";
import { getSession } from "next-auth/client"; import { getSession } from "next-auth/client";
import Link from "next/link";
import { useRouter } from "next/router"; import { useRouter } from "next/router";
import { useEffect } from "react"; import React, { useEffect } from "react";
import prisma from "../../lib/prisma"; import prisma from "../../lib/prisma";
@ -48,7 +49,22 @@ export default function JoinCall(props, session) {
} }
}, []); }, []);
return JoinCall; return (
<div style={{ zIndex: 2, position: "relative" }}>
<Link href="/">
<img
className="hidden sm:inline-block z-10 fixed w-auto h-5"
src="https://cal.com/logo-white.svg"
alt="Cal.com Logo"
style={{
top: 46,
left: 24,
}}
/>
</Link>
{JoinCall}
</div>
);
} }
export async function getServerSideProps(context) { export async function getServerSideProps(context) {

View file

@ -7,7 +7,7 @@ import Button from "@components/ui/Button";
export default function NoMeetingFound() { export default function NoMeetingFound() {
return ( return (
<div> <div>
<HeadSeo title={`No meeting Found`} description={`No Meeting Found`} /> <HeadSeo title={`No meeting found`} description={`No Meeting found`} />
<main className="max-w-3xl mx-auto my-24"> <main className="max-w-3xl mx-auto my-24">
<div className="fixed inset-0 z-50 overflow-y-auto"> <div className="fixed inset-0 z-50 overflow-y-auto">
<div className="flex items-end justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0"> <div className="flex items-end justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0">