aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/components/GitHubProjects.jsx1
-rw-r--r--src/components/Guestbook.jsx2
-rw-r--r--src/components/GuestbookForm.jsx2
-rw-r--r--src/pages/blog/index.astro2
-rw-r--r--src/pages/index.astro2
-rw-r--r--src/pages/projects.astro4
6 files changed, 6 insertions, 7 deletions
diff --git a/src/components/GitHubProjects.jsx b/src/components/GitHubProjects.jsx
index 7497b4a..33b4e64 100644
--- a/src/components/GitHubProjects.jsx
+++ b/src/components/GitHubProjects.jsx
@@ -1,4 +1,3 @@
-import { h } from 'preact';
import { useState, useEffect } from 'preact/hooks';
const GitHubProjects = ({ username, isOrganization }) => {
diff --git a/src/components/Guestbook.jsx b/src/components/Guestbook.jsx
index 0e637ab..584a4eb 100644
--- a/src/components/Guestbook.jsx
+++ b/src/components/Guestbook.jsx
@@ -1,4 +1,4 @@
-import { h, Component } from 'preact';
+import { Component } from 'preact';
import { supabase } from '../services/supabase';
import { formatDate } from "../util";
import sanitizeHtml from 'sanitize-html';
diff --git a/src/components/GuestbookForm.jsx b/src/components/GuestbookForm.jsx
index d0fcbce..613c9d3 100644
--- a/src/components/GuestbookForm.jsx
+++ b/src/components/GuestbookForm.jsx
@@ -1,4 +1,4 @@
-import { h, Component } from 'preact';
+import { Component } from 'preact';
import { createMessage } from '../services/GuestbookService';
import '../styles/GuestbookForm.css';
import { marked } from "marked";
diff --git a/src/pages/blog/index.astro b/src/pages/blog/index.astro
index 0acaaee..bc8844c 100644
--- a/src/pages/blog/index.astro
+++ b/src/pages/blog/index.astro
@@ -11,7 +11,7 @@ const allBlogPosts = (await getCollection('blog')).sort((a, b) => b.data.pubDate
<main>
<div class="header">
<a href="/blog/rss.xml">
- <Icon name="fa6-solid:square-rss" class="icon" />
+ <Icon name="fa6-solid:square-rss" aria-label="RSS" />
</a>
</div>
<div class="grid">
diff --git a/src/pages/index.astro b/src/pages/index.astro
index 35ed847..b87e151 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -6,7 +6,7 @@ import { getCollection } from "astro:content";
import Profile from '../images/Alee.png';
import '../styles/index.css';
-import {formatDate} from "../util";
+import { formatDate } from "../util";
const allBlogPosts = (await getCollection('blog')).sort((a, b) => b.data.pubDate.valueOf() - a.data.pubDate.valueOf()).slice(0, 10);
---
diff --git a/src/pages/projects.astro b/src/pages/projects.astro
index 4536f03..9b2b8a2 100644
--- a/src/pages/projects.astro
+++ b/src/pages/projects.astro
@@ -27,9 +27,9 @@ import GitHubProjects from "../components/GitHubProjects";
}
</div>
<h2><a href="https://github.com/Alee14" target="_blank">Andrew Lee GitHub Repositories</a></h2>
- <GitHubProjects client:load username="Alee14" />
+ <GitHubProjects client:load username="Alee14" isOrganization={false} />
<h2><a href="https://github.com/alee14-projects" target="_blank">AleeCorp/Alee Productions GitHub Repositories</a></h2>
- <GitHubProjects client:load username="alee14-projects" isOrganization />
+ <GitHubProjects client:load username="alee14-projects" isOrganization={true} />
</main>
</Page>
<style>