Compare commits

...

21 Commits
0.1.0 ... 0.1.7

Author SHA1 Message Date
ad88da00e6 enable hyrbide rendering 2024-08-23 00:13:47 -05:00
ff50ff7e9a remove main release 2024-08-19 21:57:31 -05:00
a37da0c6ed add gitignore 2024-08-19 21:49:57 -05:00
5dfe806e6b remove default content and replace with myself 2024-08-19 21:47:37 -05:00
7ef4b48b18 add directus
Some checks failed
release-image / release-image (push) Has been cancelled
2024-08-19 21:31:24 -05:00
d321c805e1 bump version 2024-08-19 17:21:25 -05:00
ba28de9f61 change tags in release workflow 2024-08-19 17:19:56 -05:00
29bdf18fd6 change release workflow 2024-08-19 17:17:33 -05:00
3d5a1e12c0 bump docker tag 2024-08-19 17:15:19 -05:00
75284a9696 add labels 2024-08-19 17:11:51 -05:00
2701cbe8c5 fix lock file 2024-08-19 17:08:56 -05:00
e055360b68 used staged docker build 2024-08-19 17:03:41 -05:00
5a1a6ef72a add dockerignore 2024-08-19 17:00:40 -05:00
3ad8ec7a64 change default port 2024-08-19 16:59:04 -05:00
9f7ee247a0 reset readme 2024-08-19 16:49:10 -05:00
renovate[bot]
22f90ab925 Update renovate/renovate Docker tag to v38 (#4)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 16:46:10 -05:00
renovate[bot]
ff54bfcb95 Update docker/metadata-action digest to 60a0d34 (#3)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 16:45:52 -05:00
renovate[bot]
0843b2771a Update docker/login-action digest to 9780b0c (#2)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 16:45:41 -05:00
renovate[bot]
45a8f04ec4 Update docker/build-push-action digest to 5cd11c3 (#1)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 16:45:30 -05:00
3b7524c940 configure dockerfile for pnpm 2024-08-19 16:36:07 -05:00
63a7ddcb48 fix image tag 2024-08-19 16:26:53 -05:00
19 changed files with 65 additions and 67 deletions

3
.dockerignore Normal file
View File

@@ -0,0 +1,3 @@
.DS_Store
node_modules
dist

View File

@@ -1,2 +1,2 @@
# This file is processed by Renovate bot so that it creates a PR on new major Renovate versions
FROM renovate/renovate:37
FROM renovate/renovate:38

View File

@@ -2,10 +2,8 @@ name: release-image
on:
push:
branches:
- main
tags:
- 6.*
- 0.*
env:
REGISTRY: ghcr.io
@@ -22,7 +20,7 @@ jobs:
uses: actions/checkout@v4
- name: Log into the container registry
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
@@ -30,7 +28,7 @@ jobs:
- name: Extract metadata for Docker
id: meta
uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81
uses: docker/metadata-action@60a0d343a0d8a18aedee9d34e62251f752153bdb
with:
tags: |
type=ref,event=branch
@@ -38,7 +36,7 @@ jobs:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Build and push Docker image
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0
uses: docker/build-push-action@5cd11c3a4ced054e52742c5fd54dca954e0edd85
with:
context: .
push: true

2
.gitignore vendored
View File

@@ -22,3 +22,5 @@ pnpm-debug.log*
# jetbrains setting folder
.idea/
site-profile.code-workspace

View File

@@ -1,11 +1,30 @@
FROM 20.16.0-alpine3.20 AS runtime
FROM node:20.16.0-alpine3.20 AS base
LABEL version="0.1.7"
LABEL description="Astro based website to use as a profile"
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable
WORKDIR /app
COPY . .
COPY package.json pnpm-lock.yaml ./
RUN pnpm install
FROM base AS prod-deps
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --prod --frozen-lockfile
FROM prod-deps AS build-deps
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
FROM build-deps AS build
COPY . .
RUN pnpm run build
FROM base AS runtime
COPY --from=prod-deps /app/node_modules /app/node_modules
COPY --from=build /app/dist /app/dist
ENV HOST=0.0.0.0
ENV PORT=4321
EXPOSE 4321

View File

@@ -1,30 +1 @@
# Astro Starter Kit: Portfolio
```sh
npm create astro@latest -- --template portfolio
```
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/portfolio)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/portfolio)
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/portfolio/devcontainer.json)
> 🧑‍🚀 **Seasoned astronaut?** Delete this file. Have fun!
![portfolio](https://user-images.githubusercontent.com/357379/210779178-a98f0fb7-6b1a-4068-894c-8e1403e26654.jpg)
## 🧞 Commands
All commands are run from the root of the project, from a terminal:
| Command | Action |
| :------------------------ | :----------------------------------------------- |
| `npm install` | Installs dependencies |
| `npm run dev` | Starts local dev server at `localhost:4321` |
| `npm run build` | Build your production site to `./dist/` |
| `npm run preview` | Preview your build locally, before deploying |
| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` |
| `npm run astro -- --help` | Get help using the Astro CLI |
## 👀 Want to learn more?
Feel free to check [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat).
# Profile

View File

@@ -4,7 +4,7 @@ import node from "@astrojs/node";
// https://astro.build/config
export default defineConfig({
output: "server",
output: "hybrid",
adapter: node({
mode: "standalone"
})

View File

@@ -1,7 +1,7 @@
{
"name": "",
"name": "site-profile",
"type": "module",
"version": "0.0.1",
"version": "0.1.7",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
@@ -12,6 +12,7 @@
"dependencies": {
"@astrojs/check": "^0.9.3",
"@astrojs/node": "^8.3.3",
"@directus/sdk": "^17.0.0",
"astro": "^4.14.2",
"typescript": "^5.5.4"
}

9
pnpm-lock.yaml generated
View File

@@ -14,6 +14,9 @@ importers:
'@astrojs/node':
specifier: ^8.3.3
version: 8.3.3(astro@4.14.2(rollup@4.21.0)(typescript@5.5.4))
'@directus/sdk':
specifier: ^17.0.0
version: 17.0.0
astro:
specifier: ^4.14.2
version: 4.14.2(rollup@4.21.0)(typescript@5.5.4)
@@ -161,6 +164,10 @@ packages:
resolution: {integrity: sha512-YTnYtra7W9e6/oAZEHj0bJehPRUlLH9/fbpT5LfB0NhQXyALCRkRs3zH9v07IYhkgpqX6Z78FnuccZr/l4Fs4Q==}
engines: {node: '>=6.9.0'}
'@directus/sdk@17.0.0':
resolution: {integrity: sha512-ADKoFrLjWPVVsYNK0EffVFstl/ZHVaQbiUp4NCueKfvFaOSLQ16xSVNj5O//rP5+rU8t1HkjwC6JDh02rao7ZQ==}
engines: {node: '>=18.0.0'}
'@emmetio/abbreviation@2.3.3':
resolution: {integrity: sha512-mgv58UrU3rh4YgbE/TzgLQwJ3pFsHHhCLqY20aJq+9comytTXUDNGG/SMtSeMJdkpxgXSXunBGLD8Boka3JyVA==}
@@ -2226,6 +2233,8 @@ snapshots:
'@babel/helper-validator-identifier': 7.24.7
to-fast-properties: 2.0.0
'@directus/sdk@17.0.0': {}
'@emmetio/abbreviation@2.3.3':
dependencies:
'@emmetio/scanner': 1.0.4

Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 KiB

BIN
public/assets/hiking.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 KiB

After

Width:  |  Height:  |  Size: 188 KiB

View File

@@ -5,7 +5,7 @@ import Icon from './Icon.astro';
<aside>
<h2>Interested in working together?</h2>
<CallToAction href="mailto:me@example.com">
<CallToAction href="mailto:alexander.lebens@gmail.com">
Send Me a Message
<Icon icon="paper-plane-tilt" size="1.2em" />
</CallToAction>

View File

@@ -6,15 +6,14 @@ const currentYear = new Date().getFullYear();
<footer>
<div class="group">
<p>
Designed & Developed in Portland with <a href="https://astro.build/">Astro</a>
Designed & Developed in Minnesota with <a href="https://astro.build/">Astro</a>
<Icon icon="rocket-launch" size="1.2em" />
</p>
<p>&copy; {currentYear} Jeanine White</p>
<p>&copy; {currentYear} Alex Lebens</p>
</div>
<p class="socials">
<a href="https://twitter.com/me"> Twitter</a>
<a href="https://github.com/me"> GitHub</a>
<a href="https://codepen.io/me"> CodePen</a>
<a href="https://github.com/alexlebens"> GitHub</a>
<a href="https://www.linkedin.com/in/alexanderlebens"> LinkedIn</a>
</p>
</footer>
<style>

View File

@@ -7,8 +7,8 @@ interface Props {
}
const {
title = 'Jeanine White: Personal Site',
description = 'The personal site of Jeanine White',
title = 'Alex Lebens: Personal Site',
description = 'The personal site of Alex Lebens',
} = Astro.props;
---

View File

@@ -12,12 +12,8 @@ const textLinks: { label: string; href: string }[] = [
/** Icon links to social media — edit these with links to your profiles! */
const iconLinks: { label: string; href: string; icon: keyof typeof iconPaths }[] = [
{ label: 'Twitter', href: 'https://twitter.com/me', icon: 'twitter-logo' },
{ label: 'Twitch', href: 'https://twitch.tv/me', icon: 'twitch-logo' },
{ label: 'GitHub', href: 'https://github.com/me', icon: 'github-logo' },
{ label: 'CodePen', href: 'https://codepen.io/me', icon: 'codepen-logo' },
{ label: 'dribbble', href: 'https://dribbble.com/me', icon: 'dribbble-logo' },
{ label: 'YouTube', href: 'https://www.youtube.com/@me/', icon: 'youtube-logo' },
{ label: 'GitHub', href: 'https://github.com/alexlebens', icon: 'github-logo' },
{ label: 'LinkedIn', href: 'https://www.linkedin.com/in/alexanderlebens', icon: 'codepen-logo' },
];
---
@@ -25,7 +21,7 @@ const iconLinks: { label: string; href: string; icon: keyof typeof iconPaths }[]
<div class="menu-header">
<a href="/" class="site-title">
<Icon icon="terminal-window" color="var(--accent-regular)" size="1.6em" gradient />
Jeanine White
Alex Lebens
</a>
<menu-button>
<template>

View File

@@ -5,7 +5,7 @@ import ContactCTA from '../components/ContactCTA.astro';
import Hero from '../components/Hero.astro';
---
<BaseLayout title="About | Jeanine White" description="About Jeanine White Lorem Ipsum">
<BaseLayout title="About | Alex Lebens" description="About Alex Lebens">
<div class="stack gap-20">
<main class="wrapper about">
<Hero
@@ -15,8 +15,8 @@ import Hero from '../components/Hero.astro';
<img
width="1553"
height="873"
src="/assets/at-work.jpg"
alt="Jeanine White at work with a colleague"
src="/assets/hiking.jpg"
alt="Alex Lebens hiking in Texas"
/>
</Hero>

View File

@@ -30,8 +30,8 @@ const projects = (await getCollection('work'))
<div class="wrapper stack gap-8 lg:gap-20">
<header class="hero">
<Hero
title="Hello, my name is Jeanine White"
tagline="I am a Creative Developer who is currently based in Portland, Oregon."
title="Hello, my name is Alex Lebens"
tagline="I am a Cloud Engineer who is currently based in St. Paul, Minnesota."
align="start"
>
<div class="roles">
@@ -42,7 +42,7 @@ const projects = (await getCollection('work'))
</Hero>
<img
alt="Jeanine White smiling in a red plaid shirt and tortoise shell glasses"
alt="Alex Lebens in Antarctica"
width="480"
height="620"
src="/assets/portrait.jpg"
@@ -56,7 +56,7 @@ const projects = (await getCollection('work'))
<section class="section with-background with-cta">
<header class="section-header stack gap-2 lg:gap-4">
<h3>Selected Work</h3>
<p>Take a look below at some of my featured work for clients from the past few years.</p>
<p>Take a look below at some of my featured work from the past few years.</p>
</header>
<div class="gallery">

View File

@@ -14,8 +14,8 @@ const projects = (await getCollection('work')).sort(
---
<BaseLayout
title="My Work | Jeanine White"
description="Learn about Jeanine White's most recent projects"
title="My Work | Alex Lebens"
description="Learn about Alex Lebens's most recent projects"
>
<div class="stack gap-20">
<main class="wrapper stack gap-8">