fix little issues
This commit is contained in:
@@ -3,7 +3,7 @@ import FormattedDate from '@components/FormattedDate.astro';
|
||||
|
||||
interface Props {
|
||||
title: String;
|
||||
date: String;
|
||||
date: Date;
|
||||
slug?: String;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
---
|
||||
import RSSIcon from './icons/RSS.astro';
|
||||
const year = new Date().getFullYear();
|
||||
---
|
||||
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
---
|
||||
import UserIcon from './icons/UserIcon.astro';
|
||||
import WebsiteIcon from './icons/Website.astro';
|
||||
|
||||
const { pathname } = Astro.url;
|
||||
|
||||
const navLinks = [
|
||||
@@ -33,7 +30,7 @@ const navLinks = [
|
||||
<style>
|
||||
header {
|
||||
margin: 0;
|
||||
padding: 0.5rem 1rem;
|
||||
padding: 1.5rem 1rem;
|
||||
max-width: 800px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
Reference in New Issue
Block a user