From f38935fe06d823069a124185356c1d59f741ee8e Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Fri, 9 Feb 2024 15:19:53 +0000 Subject: Tweaks --- src/components/GitHubProjects.jsx | 1 - src/components/Guestbook.jsx | 2 +- src/components/GuestbookForm.jsx | 2 +- src/pages/blog/index.astro | 2 +- src/pages/index.astro | 2 +- src/pages/projects.astro | 4 ++-- 6 files changed, 6 insertions(+), 7 deletions(-) (limited to 'src') 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
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"; }

Andrew Lee GitHub Repositories

- +

AleeCorp/Alee Productions GitHub Repositories

- +