Skip to content

Commit

Permalink
chore: dang strictness
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelbr committed Jun 12, 2024
1 parent fd7c2f6 commit adc946e
Showing 1 changed file with 0 additions and 92 deletions.
92 changes: 0 additions & 92 deletions pages/refill.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import Image from 'next/image';
import { useState } from 'react';
import RefillLayout from 'src/refill/layout';
import style from 'src/refill/refill.module.css';

Expand Down Expand Up @@ -82,8 +81,6 @@ const design: ProgramItemProps[] = [
];

export default function Refill() {
const [panel, setPanel] = useState<'design' | 'dev'>('design');

return (
<RefillLayout>
<div className={style.header}>
Expand Down Expand Up @@ -133,27 +130,6 @@ export default function Refill() {
);
}

type YoutubeEmbedProps = {
title: string;
src: string;
};
function EmbedYouTube({ title, src }: YoutubeEmbedProps) {
return (
<div className={style.ytVideo}>
<iframe
width="560"
height="315"
frameBorder={0}
src={src}
title={title}
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
referrerPolicy="strict-origin-when-cross-origin"
allowFullScreen
></iframe>
</div>
);
}

type ProgramItemProps = {
speaker: {
name: string;
Expand Down Expand Up @@ -185,71 +161,3 @@ function Speaker({ name, src }: ProgramItemProps['speaker']) {
</footer>
);
}

function DownloadIcont() {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width="20px"
height="20px"
role="none"
viewBox="0 0 24 24"
>
<path
fill="currentColor"
d="m12 16l-5-5l1.4-1.45l2.6 2.6V4h2v8.15l2.6-2.6L17 11zm-6 4q-.825 0-1.412-.587T4 18v-3h2v3h12v-3h2v3q0 .825-.587 1.413T18 20z"
/>
</svg>
);
}

function CalendarIcon() {
return (
<svg
fill="#000000"
version="1.1"
xmlns="http://www.w3.org/2000/svg"
width="20px"
height="20px"
viewBox="0 0 612 612"
role="none"
>
<g>
<g>
<path
d="M612,463.781c0-70.342-49.018-129.199-114.75-144.379c-10.763-2.482-21.951-3.84-33.469-3.84
c-3.218,0-6.397,0.139-9.562,0.34c-71.829,4.58-129.725,60.291-137.69,131.145c-0.617,5.494-0.966,11.073-0.966,16.734
c0,10.662,1.152,21.052,3.289,31.078C333.139,561.792,392.584,612,463.781,612C545.641,612,612,545.641,612,463.781z
M463.781,561.797c-54.133,0-98.016-43.883-98.016-98.016s43.883-98.016,98.016-98.016s98.016,43.883,98.016,98.016
S517.914,561.797,463.781,561.797z"
/>
<polygon
points="482.906,396.844 449.438,396.844 449.438,449.438 396.844,449.438 396.844,482.906 482.906,482.906
482.906,449.438 482.906,449.438 "
/>
<path
d="M109.969,0c-9.228,0-16.734,7.507-16.734,16.734v38.25v40.641c0,9.228,7.506,16.734,16.734,16.734h14.344
c9.228,0,16.734-7.507,16.734-16.734V54.984v-38.25C141.047,7.507,133.541,0,124.312,0H109.969z"
/>
<path
d="M372.938,0c-9.228,0-16.734,7.507-16.734,16.734v38.25v40.641c0,9.228,7.507,16.734,16.734,16.734h14.344
c9.228,0,16.734-7.507,16.734-16.734V54.984v-38.25C404.016,7.507,396.509,0,387.281,0H372.938z"
/>
<path
d="M38.25,494.859h236.672c-2.333-11.6-3.572-23.586-3.572-35.859c0-4.021,0.177-7.999,0.435-11.953H71.719
c-15.845,0-28.688-12.843-28.688-28.688v-229.5h411.188v88.707c3.165-0.163,6.354-0.253,9.562-0.253
c11.437,0,22.61,1.109,33.469,3.141V93.234c0-21.124-17.126-38.25-38.25-38.25h-31.078v40.641c0,22.41-18.23,40.641-40.641,40.641
h-14.344c-22.41,0-40.641-18.231-40.641-40.641V54.984H164.953v40.641c0,22.41-18.231,40.641-40.641,40.641h-14.344
c-22.41,0-40.641-18.231-40.641-40.641V54.984H38.25C17.126,54.984,0,72.111,0,93.234v363.375
C0,477.733,17.126,494.859,38.25,494.859z"
/>
<circle cx="134.774" cy="260.578" r="37.954" />
<circle cx="248.625" cy="260.578" r="37.954" />
<circle cx="362.477" cy="260.578" r="37.954" />
<circle cx="248.625" cy="375.328" r="37.953" />
<circle cx="134.774" cy="375.328" r="37.953" />
</g>
</g>
</svg>
);
}

0 comments on commit adc946e

Please sign in to comment.