Skip to content

Commit

Permalink
fix: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
bliutech committed Aug 27, 2023
1 parent 300cfb2 commit c6ad7ee
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 12 deletions.
18 changes: 12 additions & 6 deletions components/ArchiveItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,23 @@ export default function ArchiveItem(props: prop) {
{props.events.map((ele) => (
<button className={styles.listItem}>
<div className={styles.section}>
<img className={styles.graphic} src={ele.graphicPath} alt="Placeholder Image"/>

<img
className={styles.graphic}
src={ele.graphicPath}
alt="Placeholder Image"
/>

<div className={styles.title}>{ele.name}</div>

<div className={styles.date}>{ele.date.toDateString()}</div>

<div className={styles.links}>
<a href={ele.recording} className={styles.link}
><img className={styles.icon} src="/images/utube.svg"></img></a>
<a href={ele.slides} className={styles.link}
><img className={styles.icon} src="/images/slides.svg"></img></a>
<a href={ele.recording} className={styles.link}>
<img className={styles.icon} src="/images/utube.svg"></img>
</a>
<a href={ele.slides} className={styles.link}>
<img className={styles.icon} src="/images/slides.svg"></img>
</a>
</div>
</div>
</button>
Expand Down
9 changes: 4 additions & 5 deletions pages/archive.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,13 @@ export default function Archive() {
/>
<div className="page">
<h1>Archive</h1>
<div className={"content"}>
<div className={"content"}>
<div className={styles.description}>
{archive.map((ele) => (
<ArchiveSection time={ele["name"]} series={ele["series"]} />
))}
{archive.map((ele) => (
<ArchiveSection time={ele["name"]} series={ele["series"]} />
))}
</div>
</div>

</div>
</>
);
Expand Down
1 change: 0 additions & 1 deletion styles/Archiveitem.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,3 @@
.icon:hover {
opacity: 0.5;
}

0 comments on commit c6ad7ee

Please sign in to comment.