From d33022ac09a472181fcb1c08cd346035ceae49be Mon Sep 17 00:00:00 2001
From: Tabby <41929769+tabby-cat-nya@users.noreply.github.com>
Date: Wed, 23 Apr 2025 21:32:06 +1000
Subject: [PATCH] new project cards with modals!
---
components/ProjectCardContent.vue | 56 ++++++++++++
components/ProjectCardV2.vue | 139 ++++++++++++++++++++++++++++++
components/SmallButton.vue | 41 +++++++++
pages/TestPage.vue | 27 ++++++
pages/index.vue | 51 ++++++++---
pages/projects.vue | 13 +++
public/img/close.png | Bin 0 -> 615 bytes
7 files changed, 316 insertions(+), 11 deletions(-)
create mode 100644 components/ProjectCardContent.vue
create mode 100644 components/ProjectCardV2.vue
create mode 100644 components/SmallButton.vue
create mode 100644 pages/TestPage.vue
create mode 100644 pages/projects.vue
create mode 100644 public/img/close.png
diff --git a/components/ProjectCardContent.vue b/components/ProjectCardContent.vue
new file mode 100644
index 0000000..9c27d68
--- /dev/null
+++ b/components/ProjectCardContent.vue
@@ -0,0 +1,56 @@
+
+
+
+

+
{{title}}
+
{{description}}
+
+
+
+
+
+
+
+
+
{{longDescription}}
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/components/ProjectCardV2.vue b/components/ProjectCardV2.vue
new file mode 100644
index 0000000..499bb9e
--- /dev/null
+++ b/components/ProjectCardV2.vue
@@ -0,0 +1,139 @@
+
+
+
+
+
+
![]()
+
+
{{props.title}}
+
{{props.description}}
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/components/SmallButton.vue b/components/SmallButton.vue
new file mode 100644
index 0000000..91a1416
--- /dev/null
+++ b/components/SmallButton.vue
@@ -0,0 +1,41 @@
+
+
+
+
+ {{ props.text }}
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/TestPage.vue b/pages/TestPage.vue
new file mode 100644
index 0000000..249ea1c
--- /dev/null
+++ b/pages/TestPage.vue
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/index.vue b/pages/index.vue
index 0414e88..d8cfc93 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -96,28 +96,56 @@ var { data } = await useAsyncData('home', () => queryContent('blog').where({hidd
Featured Projects
+
@@ -174,6 +202,7 @@ h1{
display: flex;
width: 100%;
justify-content: center;
+ margin-bottom: 5px;
/* margin-left: auto;
margin-right: auto; */
diff --git a/pages/projects.vue b/pages/projects.vue
new file mode 100644
index 0000000..b9b4da4
--- /dev/null
+++ b/pages/projects.vue
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/public/img/close.png b/public/img/close.png
new file mode 100644
index 0000000000000000000000000000000000000000..cbf19686df370df73f6660be09bb71e2ec3b8bf5
GIT binary patch
literal 615
zcmV-t0+{`YP)TYh|2A%mWO4e%UcUw#KHLk5nhq&-Kt=TLqFj6*Ll1wQvKu%)VMof(HWa7z`X
z6&@o*lNUTih%PU9h@d7fSdO4BFH9RI${8VJkuK0se2?8f9LmUijYPAJoSXYS;xN>LERHxpLdL|X!9g^
zmuZb^9DAvY@!7#NA+PhrMriXUr??1R_6CZH&}U=BeS{dhLT)3(+!AvaL1RfLH^WQ)FN1tKeeXl5iH6J
z>Jco<3u+NO$O}zh=Ik87le`cuf=79wcZ6&F@6