From d33f4e8c643f52f796ee394a8a9a3e26223e9609 Mon Sep 17 00:00:00 2001 From: Logic Kenzie Date: Sun, 24 Sep 2023 12:21:33 -0500 Subject: [PATCH] Upload the first revision of the central site. --- .gitignore | 25 ++++++++++ README.md | 1 + astro.config.mjs | 8 ++++ package.json | 18 ++++++++ public/favicon.ico | Bin 0 -> 4286 bytes public/logo.webp | Bin 0 -> 4250 bytes src/components/blogpost.astro | 8 ++++ src/components/projectdisplay.astro | 47 +++++++++++++++++++ src/env.d.ts | 1 + src/layouts/primary.astro | 68 ++++++++++++++++++++++++++++ src/pages/about.astro | 14 ++++++ src/pages/blog.astro | 8 ++++ src/pages/blog/first.md | 6 +++ src/pages/index.astro | 6 +++ src/pages/projects.astro | 21 +++++++++ src/pages/projects/social.md | 7 +++ src/pages/projects/speedtest.md | 8 ++++ tsconfig.json | 3 ++ 18 files changed, 249 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100644 astro.config.mjs create mode 100644 package.json create mode 100644 public/favicon.ico create mode 100644 public/logo.webp create mode 100644 src/components/blogpost.astro create mode 100644 src/components/projectdisplay.astro create mode 100644 src/env.d.ts create mode 100644 src/layouts/primary.astro create mode 100644 src/pages/about.astro create mode 100644 src/pages/blog.astro create mode 100644 src/pages/blog/first.md create mode 100644 src/pages/index.astro create mode 100644 src/pages/projects.astro create mode 100644 src/pages/projects/social.md create mode 100644 src/pages/projects/speedtest.md create mode 100644 tsconfig.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8758098 --- /dev/null +++ b/.gitignore @@ -0,0 +1,25 @@ +# build output +dist/ +# generated types +.astro/ + +# dependencies +node_modules/ + +# logs +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* + + +# environment variables +.env +.env.production + +# macOS-specific files +.DS_Store + +# ide files +.idea/ +.vscode/ diff --git a/README.md b/README.md new file mode 100644 index 0000000..af49ed5 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# LogicallyLogi Central Site \ No newline at end of file diff --git a/astro.config.mjs b/astro.config.mjs new file mode 100644 index 0000000..2d8fa4a --- /dev/null +++ b/astro.config.mjs @@ -0,0 +1,8 @@ +import { defineConfig } from 'astro/config'; + +import alpinejs from "@astrojs/alpinejs"; + +// https://astro.build/config +export default defineConfig({ + integrations: [alpinejs()] +}); \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..5c3830e --- /dev/null +++ b/package.json @@ -0,0 +1,18 @@ +{ + "name": "logicallylogi", + "type": "module", + "version": "0.0.1", + "scripts": { + "dev": "astro dev", + "start": "astro dev", + "build": "astro build", + "preview": "astro preview", + "astro": "astro" + }, + "dependencies": { + "@astrojs/alpinejs": "^0.3.0", + "@types/alpinejs": "^3.0.0", + "alpinejs": "^3.0.0", + "astro": "^3.1.0" + } +} \ No newline at end of file diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..19eb42fd251e5232794c560642faa56c1ffb2494 GIT binary patch literal 4286 zcmb_fYfPKh89rIEMbrLt(%Q7rq*kiBP1=5MnpAbGvT2h#X_+=9O-O(^wjt#fLc+~0 z;Sytm4cOS+G2xPMhd_Wp0s+$fj1*PrwscBK6HQx48qCG^cmKY3&oR!#R)+u`=*1uB ze4OWf-t)W{7~6&KH{M|UC+mHQu~!&lKZ0S2{SwC4qhHwjx?f6?odr$jcSn-TUsev6 zz9k+kdF#phB`@E$mhb+|RQ`33f9~Ih4%yh3M+(06^jP`+ZQoIjDi}&H$ ziJIF>N1aW2;o)f6CkQH_Og^7&_x%i+K&~A6eDE5gq-@M#BslzUySvBIYsE{ntrvyn&bi zoBI}+A+6yW8J-D}$_G{+r~7`pno-a0ly=4Cx7p&o%u06aVD{dXf|en@VVdNRdPqpA z1Ft3$V4?Izl1uwZ$m<}vWPqsoW>gE(=>W-vouvCGDOAutwD4Zu-hZ9gz7CdCD_PL$ z__1K`d1Qc_3>+mZKw2$0`=)UI6dCo?q+|z3$?YQY-yjvA@&`?1cqefmb0pda7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mA=5xi9n6(p4_gN-SfHEUbB6_#f$Hl2x3Uvi)B{d}KT+ z*`U1-U8Zb!RFIBbKj3N^#3Fp9Jku9<<-KAM%+k*SqRo~3L-&tZZyku!*Wlh|-FYuV zvwta%A*ONIzU{TDlnvxHAJ`u_wPp!&5+!_^O4`$9bl~l~uT0w#E3|ZU%C_Lj5UOeO zXICE`^4X*yS$j<7v{$5g&nVK29(|vK?>{OoMmYEXiKoItMzg(FLS+*3TIT$lii%x&2Mj7Wt7Txt zwmWWwjk{KZ+*}kE?HLi@uHc5GSlm{MYW-O=!ef{RsEDA+0b+PL|D30=yYa-PvGGm| wV7|@?sZoUbV|NtO1WW|1bdt!>@YPW%tCFM7x3eg|pC?SC91KxF000000GbUHga7~l literal 0 HcmV?d00001 diff --git a/src/components/blogpost.astro b/src/components/blogpost.astro new file mode 100644 index 0000000..b398360 --- /dev/null +++ b/src/components/blogpost.astro @@ -0,0 +1,8 @@ +--- +const { object } = Astro.props +--- +
+

{object.rawContent().split("\n")[0].replaceAll("#", "")}

+

{object.rawContent().split("\n").slice(1, 10).join("").split(" ").slice(0, 200).join(" ").replaceAll("#", "")}

+ Read More => +
\ No newline at end of file diff --git a/src/components/projectdisplay.astro b/src/components/projectdisplay.astro new file mode 100644 index 0000000..bb3c57c --- /dev/null +++ b/src/components/projectdisplay.astro @@ -0,0 +1,47 @@ +--- +const { object } = Astro.props +--- + + + {object.frontmatter.title} + {object.frontmatter.category} + Source on {new URL(object.frontmatter.source).hostname} + {object.frontmatter.status} + View + \ No newline at end of file diff --git a/src/env.d.ts b/src/env.d.ts new file mode 100644 index 0000000..f964fe0 --- /dev/null +++ b/src/env.d.ts @@ -0,0 +1 @@ +/// diff --git a/src/layouts/primary.astro b/src/layouts/primary.astro new file mode 100644 index 0000000..e3b3211 --- /dev/null +++ b/src/layouts/primary.astro @@ -0,0 +1,68 @@ +--- +const { title } = Astro.props +--- + + + + + {title} ~LogicallyLogi~ + + + + +
+ logo + + Home + About Me + Blog + Projects +
+
+
+ +
+
+ + \ No newline at end of file diff --git a/src/pages/about.astro b/src/pages/about.astro new file mode 100644 index 0000000..4292751 --- /dev/null +++ b/src/pages/about.astro @@ -0,0 +1,14 @@ +--- +import Layout from "../layouts/primary.astro" +--- + +

Hi there!

+ My name is Logic. I'm what you may call... a logical developer. +
+
My goal is to make the world a better place, one line of code at a time.
+
+ logicallylogi@skiff.com +
+ @logi:ixvd.net +
+
\ No newline at end of file diff --git a/src/pages/blog.astro b/src/pages/blog.astro new file mode 100644 index 0000000..faa3383 --- /dev/null +++ b/src/pages/blog.astro @@ -0,0 +1,8 @@ +--- +import Layout from "../layouts/primary.astro" +import BlogPost from "../components/blogpost.astro" +const allPosts = await Astro.glob('../pages/blog/*.md'); +--- + + {allPosts.map((post) => )} + \ No newline at end of file diff --git a/src/pages/blog/first.md b/src/pages/blog/first.md new file mode 100644 index 0000000..a3ae0c7 --- /dev/null +++ b/src/pages/blog/first.md @@ -0,0 +1,6 @@ +--- +title: First Post +layout: ../../layouts/primary.astro +--- +# Welcome to the Logical Blog! +This blog is going to eventually contain lots of writing about psychology, technology, and AI! \ No newline at end of file diff --git a/src/pages/index.astro b/src/pages/index.astro new file mode 100644 index 0000000..92be02f --- /dev/null +++ b/src/pages/index.astro @@ -0,0 +1,6 @@ +--- +import Layout from "../layouts/primary.astro" +--- + +

Welcome to ~LogicallyLogi~

+
\ No newline at end of file diff --git a/src/pages/projects.astro b/src/pages/projects.astro new file mode 100644 index 0000000..94ec95a --- /dev/null +++ b/src/pages/projects.astro @@ -0,0 +1,21 @@ +--- +import Layout from "../layouts/primary.astro" +import ProjectDisplay from "../components/projectdisplay.astro"; +const projects = await Astro.glob('../pages/projects/*.md'); +--- + + + + + + + + + + + + + {projects.map((post) => )} + +
NameCategorySourceStatusLink
+
\ No newline at end of file diff --git a/src/pages/projects/social.md b/src/pages/projects/social.md new file mode 100644 index 0000000..4432929 --- /dev/null +++ b/src/pages/projects/social.md @@ -0,0 +1,7 @@ +--- +title: LogicallySocial +category: Social +status: Planned +source: https://git.ixvd.net/logi/social +layout: ../../layouts/primary.astro +--- diff --git a/src/pages/projects/speedtest.md b/src/pages/projects/speedtest.md new file mode 100644 index 0000000..465c360 --- /dev/null +++ b/src/pages/projects/speedtest.md @@ -0,0 +1,8 @@ +--- +title: LogicalSpeedTest +category: Utility +status: Offline +source: https://git.ixvd.net/logicallylogi.me/speedtest +layout: ../../layouts/primary.astro +--- +[Check your speed now](/speedtest) \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..3fd7ae6 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,3 @@ +{ + "extends": "astro/tsconfigs/strictest" +} \ No newline at end of file