Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/typescriptlang-org/src/templates/pages/tools.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const Index: React.FC<Props> = (props) => {

return <Layout title="Reference Tools" description="Online tooling to help you understand TypeScript" lang={props.pageContext.lang}>
<div className="raised main-content-block">
<h1>Reference Tools</h1>
<Row>
<Col>
<a className="cropper" href="/play">
Expand Down
11 changes: 11 additions & 0 deletions packages/typescriptlang-org/src/templates/play.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1242,3 +1242,14 @@ input.good {
.monaco-list {
background-color: var(--background-color);
}
.playground-title {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip-path: inset(50%);
white-space: nowrap;
border: 0;
}
1 change: 1 addition & 0 deletions packages/typescriptlang-org/src/templates/play.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ const Play: React.FC<Props> = (props) => {

return (
<Layout title={i("head_playground_title")} description={i("head_playground_description")} lang={props.pageContext.lang}>
<h1 className="playground-title">{i("head_playground_title")}</h1>
{/** This is the top nav, which is outside of the editor */}
<nav className="navbar-sub">
<ul className="nav">
Expand Down
Loading