-
- {
- years.map((year) => (
-
-
- {year}
-
-
-
- {posts[year].map((post) => (
- -
-
-
- ))}
-
-
-
- ))
- }
-
+
+
+ {
+ years.map((year) => (
+
+ {year}
+
+
+ {posts[year].map((post) => (
+ -
+
+
+ ))}
+
+
+
+ ))
+ }
-
+
diff --git a/src/pages/cv.astro b/src/pages/cv.astro
deleted file mode 100644
index a9b58b9..0000000
--- a/src/pages/cv.astro
+++ /dev/null
@@ -1,74 +0,0 @@
----
-import { getCollection } from 'astro:content'
-import Layout from '@layouts/Layout.astro'
-import Container from '@components/Container.astro'
-import CVCard from '@components/CVCard.astro'
-
-// TO Modify
-const works = [
- {
- company: 'Company A',
- time: '2022-Present',
- job_title: 'Research Scientist',
- location: 'London, UK',
- description: 'Your Notes about the job',
- },
- {
- company: 'Company A',
- time: '2022-Present',
- job_title: 'Research Scientist',
- location: 'London, UK',
- description: 'Your Notes about the job',
- },
-]
-const educations = [
- {
- school: 'University 1',
- time: '2022-Present',
- job_title: 'BEng in Electronic Information Engineering',
- location: 'London, UK',
- description: 'Your Notes about the study',
- },
-]
----
-
-
-
-
-
-
diff --git a/src/pages/index.astro b/src/pages/index.astro
index 9314296..4938b67 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -6,158 +6,30 @@ import ArrowCard from '@components/ArrowCard.astro'
import Link from '@components/Link.astro'
import { getCollection } from 'astro:content'
import type { CollectionEntry } from 'astro:content'
-import PublicationCard from '@components/PublicationCard.astro'
import SocialIcons from '@components/SocialIcons.astro'
const blog = (await getCollection('blog'))
.filter((post) => !post.data.draft)
.sort((a, b) => b.data.date.valueOf() - a.data.date.valueOf())
.slice(0, SITE.NUM_POSTS_ON_HOMEPAGE)
-
-const publications: CollectionEntry<'publications'>[] = (
- await getCollection('publications')
-)
- .sort((a, b) => b.data.date.valueOf() - a.data.date.valueOf())
- .slice(0, SITE.NUM_PUBLICATIONS_ON_HOMEPAGE)
---
-