Skip to content

Commit

Permalink
remove dropin-minimal-css
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanThatOneKid committed Feb 22, 2024
1 parent 83f4dcb commit 960f1d1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 27 deletions.
3 changes: 2 additions & 1 deletion lib/layout/with_layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ export function withLayout(component: any) {
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="https://ethanthatonekid.github.io/dropin-minimal-css/min/github-markdown.min.css">
<style>
html, body {
margin: 0;
margin: 0 auto;
padding: 0;
}
</style>
Expand Down
12 changes: 0 additions & 12 deletions lib/projects/ssr.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,6 @@ function ProjectPageComponent(props: { baseURL: string; project: Project }) {
content={props.project.attrs?.description}
/>
<style>{CSS}</style>
<script
src="https://ethanthatonekid.github.io/dropin-minimal-css/switcher.js"
type="text/javascript"
defer
>
</script>
</Helmet>

<article
Expand Down Expand Up @@ -168,12 +162,6 @@ export function ProjectsPageComponent(props: { projects: Project[] }) {
name="description"
content="List of initiatives owned by the Open Source Software team."
/>
<script
src="https://ethanthatonekid.github.io/dropin-minimal-css/switcher.js"
type="text/javascript"
defer
>
</script>
</Helmet>
<h1>Open Source Software projects</h1>
<ProjectsTableComponent projects={props.projects} />
Expand Down
16 changes: 2 additions & 14 deletions lib/workshops/ssr.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ function WorkshopGroupsTableComponent(
return (
<table>
<tr>
<th>Workshop series ID</th>
<th>Workshops series</th>
<th>Workshop series</th>
<th>Workshops</th>
</tr>
{Object.keys(props.workshopGroups)
.filter((groupID) => groupID !== DEFAULT_GROUP_ID)
Expand Down Expand Up @@ -59,12 +59,6 @@ function WorkshopGroupsPageComponent(
name="description"
content="Open Source Software workshops"
/>
<script
src="https://ethanthatonekid.github.io/dropin-minimal-css/switcher.js"
type="text/javascript"
defer
>
</script>
</Helmet>

<h1>Workshops</h1>
Expand Down Expand Up @@ -122,12 +116,6 @@ function WorkshopGroupPageComponent(
name="description"
content={`Workshops in the ${props.groupID} series`}
/>
<script
src="https://ethanthatonekid.github.io/dropin-minimal-css/switcher.js"
type="text/javascript"
defer
>
</script>
</Helmet>

<h1>{props.groupID}</h1>
Expand Down

0 comments on commit 960f1d1

Please sign in to comment.