This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import asyncio | |
from contextvars import ContextVar | |
from opentelemetry import trace | |
from opentelemetry.sdk.trace import TracerProvider | |
from opentelemetry.sdk.trace.export import BatchSpanProcessor, ConsoleSpanExporter | |
from opentelemetry.semconv.trace import SpanAttributes | |
from opentelemetry.trace import get_tracer, SpanKind | |
from opentelemetry.context import attach, detach | |
from opentelemetry.propagate import extract |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { styled } from "@linaria/react"; | |
import * as React from "react"; | |
import { useLayoutEffect, useState } from "react"; | |
import { useNavigation } from "react-router"; | |
const Bar = styled.div<{ barPosition: number }>` | |
pointer-events: none; | |
opacity: ${(props) => (props.barPosition === 80 ? "1" : "0")}; | |
position: fixed; | |
top: 0; |
OlderNewer