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
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@
left: 0.1rem;
}

.siteSlide {
position: relative;
}

.siteLink {
position: absolute;
bottom: 2px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ slug: /markdown-features/react
import BrowserWindow from '@site/src/components/BrowserWindow';
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import styles from './markdown-features-react.module.css';
```

Docusaurus has built-in support for [MDX](https://mdxjs.com/), which allows you to write JSX within your Markdown files and render them as React components.
Expand Down

This file was deleted.

11 changes: 0 additions & 11 deletions website/src/components/BrowserWindow/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,10 @@
padding: 0.5rem 1rem;
}

.row::after {
content: '';
display: table;
clear: both;
}

.buttons {
white-space: nowrap;
}

.right {
align-self: center;
width: 10%;
}

[data-theme='light'] {
--ifm-background-color: #fff;
}
Expand Down
29 changes: 0 additions & 29 deletions website/src/pages/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@
background-color: var(--ifm-color-emphasis-100);
}

.sectionInner {
margin: 0 auto;
}

.featureImage {
width: auto;
max-height: 128px;
Expand All @@ -28,27 +24,6 @@
padding-top: 1rem;
}

.announcement {
font-weight: bold;
font-size: 24px;
padding: 48px;
margin: 0 auto;
text-align: center;
}

.announcementDark {
background-color: #20232a;
color: #fff;
/* Reapply the primary color, because it has been locally overridden as
* the dark theme color */
--ifm-link-color: var(--ifm-color-primary);
}

.announcementInner {
margin: 0 auto;
max-width: 768px;
}

.topBanner {
font-size: 20px;
padding: 30px 20px;
Expand Down Expand Up @@ -202,10 +177,6 @@ html[data-theme='dark'] .topBannerTitleText {
overflow: hidden;
}

.indexCtaTryNowButton:hover {
color: var(--ifm-color-primary);
}

@media only screen and (width <= 768px) {
.hero {
padding-left: 20px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,3 @@
height: var(--ifm-avatar-photo-size);
background-color: var(--ifm-color-emphasis-100);
}

.toggleButtonIconExpanded {
transform: rotate(180deg);
}
18 changes: 0 additions & 18 deletions website/src/utils/__tests__/jsUtils.test.ts

This file was deleted.

10 changes: 0 additions & 10 deletions website/src/utils/jsUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,3 @@ export function sortBy<T>(
);
return sortedArray;
}

export function toggleListItem<T>(list: T[], item: T): T[] {
const itemIndex = list.indexOf(item);
if (itemIndex === -1) {
return list.concat(item);
}
const newList = [...list];
newList.splice(itemIndex, 1);
return newList;
}
Loading