File tree Expand file tree Collapse file tree 2 files changed +21
-2
lines changed
Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 1+ import React from "react" ;
2+
3+ const Status = ( { height= 57 , width= 215 } ) => {
4+ return (
5+ < div >
6+ < iframe className = "pt-2 pb-2"
7+ src = "https://javaistic.instatus.com/embed-status/light-sm"
8+ height = { height }
9+ width = { width }
10+ fontSize = "20px"
11+ frameBorder = "0"
12+ scrolling = "no"
13+ > </ iframe >
14+ </ div >
15+ ) ;
16+ } ;
17+
18+ export default Status ;
Original file line number Diff line number Diff line change 11import DocSearch from "components/docsearch" ;
22import { useRouter } from "next/router" ;
3+ import Status from "components/status" ;
34
45const Logo = ( { height } ) => (
56 < svg height = { height } viewBox = "0 0 291 79" fill = "none" >
@@ -108,7 +109,7 @@ export default {
108109
109110 default :
110111 return (
111- < a
112+ < > < a
112113 href = "https://vercel.com/?utm_source=javaistic& utm_campaign = oss "
113114 target = "_blank"
114115 rel = "noopener"
@@ -118,7 +119,7 @@ export default {
118119 < span >
119120 < Vercel />
120121 </ span >
121- </ a >
122+ </ a > < Status /> </ >
122123 ) ;
123124 }
124125 } ,
You can’t perform that action at this time.
0 commit comments