diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 48dfe5f..0000000 --- a/.drone.yml +++ /dev/null @@ -1,28 +0,0 @@ -kind: pipeline -name: buildsite - -steps: -- name: build - image: node - commands: - - npm install - - npm run build - when: - branch: - - master - -- name: copy - image: appleboy/drone-scp - settings: - host: 192.168.10.5 - username: thomas - password: - from_secret: ssh_password - port: 22 - target: /home/thomas/swag/www - source: ./dist/* - strip_components: 1 - when: - branch: - - master - diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..4a1bdbc --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -0,0 +1,7 @@ +name: Build Site +run-name: ${{ github.actor }} is building Personal Site +jobs: + Build-Site: + runs-on: ubuntu-latest + steps: + - run: echo "Starting build job" \ No newline at end of file diff --git a/LICENSE b/LICENSE index 2071b23..28de0c2 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) +Copyright (c) 2023 Thomas Cole Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/package.json b/package.json index 078d75b..3c10ae7 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "daisyui": "^2.45.0", "p5-svelte": "^3.1.2", "svelte": "^3.55.0", - "tailwindcss": "^3.2.4", + "tailwindcss": "^3.3.1", "theme-change": "^2.2.0" } } diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 452a7e6..7fd9812 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -1,3 +1,3 @@
-

© 2023 Thomas Cole

+

© 2023 Thomas Cole.

\ No newline at end of file diff --git a/src/components/misc/BlogProjectCard.astro b/src/components/misc/BlogProjectCard.astro index fe6c9ce..eaa8605 100644 --- a/src/components/misc/BlogProjectCard.astro +++ b/src/components/misc/BlogProjectCard.astro @@ -10,10 +10,10 @@ const { title, subtitle, image, link } = Astro.props; --- -
+
-
- +
+

{title}

{subtitle}

diff --git a/src/components/nav/Nav.astro b/src/components/nav/Nav.astro index 1963e4a..b4db072 100644 --- a/src/components/nav/Nav.astro +++ b/src/components/nav/Nav.astro @@ -1,7 +1,17 @@ --- + export interface Props { + pageName?: string; + } + import Divider from "../misc/Divider.astro"; import SocialLinks from "./SocialLinks.astro"; import ThemeToggle from "../misc/ThemeToggle.astro"; + + const { pageName } = Astro.props; + let displayedName = ""; + if(pageName){ + displayedName = pageName.replace("|","").trim(); + } ---