mirror of
https://github.com/alexohneander/alexohneander-astro.git
synced 2025-12-16 20:20:11 +00:00
Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 477e14acee | |||
| 31a309b95c | |||
| 261a6f548b | |||
| ad060e13a0 | |||
| 5778f49c7b | |||
| 7367bed3fc | |||
| d0eaa01a85 | |||
| 53be643c34 |
@@ -7,7 +7,7 @@ import sitemap from "@astrojs/sitemap";
|
|||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
site: "https://astro-paper.pages.dev/", // replace this with your deployed domain
|
site: "https://alexohneander.de/", // replace this with your deployed domain
|
||||||
integrations: [
|
integrations: [
|
||||||
tailwind({
|
tailwind({
|
||||||
config: {
|
config: {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ image:
|
|||||||
repository: alexohneander/alexohneander-astro
|
repository: alexohneander/alexohneander-astro
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
# Overrides the image tag whose default is the chart appVersion.
|
# Overrides the image tag whose default is the chart appVersion.
|
||||||
tag: "v2.3.3"
|
tag: "v2.3.5"
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
@@ -11,6 +11,11 @@ ingress:
|
|||||||
kubernetes.io/ingress.class: nginx
|
kubernetes.io/ingress.class: nginx
|
||||||
kubernetes.io/tls-acme: "true"
|
kubernetes.io/tls-acme: "true"
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
|
nginx.ingress.kubernetes.io/configuration-snippet : |
|
||||||
|
if ($request_uri ~* \.(gif|jpe?g|png|woff2)) {
|
||||||
|
expires 1M;
|
||||||
|
add_header Cache-Control "public";
|
||||||
|
}
|
||||||
hosts:
|
hosts:
|
||||||
- host: alexohneander.de
|
- host: alexohneander.de
|
||||||
paths:
|
paths:
|
||||||
|
|||||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "alexohneander-astro",
|
"name": "alexohneander-astro",
|
||||||
"version": "2.3.4",
|
"version": "2.3.6",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "alexohneander-astro",
|
"name": "alexohneander-astro",
|
||||||
"version": "2.3.4",
|
"version": "2.3.6",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/rss": "^2.4.1",
|
"@astrojs/rss": "^2.4.1",
|
||||||
"@resvg/resvg-js": "^2.4.1",
|
"@resvg/resvg-js": "^2.4.1",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "alexohneander-astro",
|
"name": "alexohneander-astro",
|
||||||
"version": "2.3.4",
|
"version": "2.3.6",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "astro check --watch & astro dev",
|
"dev": "astro check --watch & astro dev",
|
||||||
"start": "astro dev",
|
"start": "astro dev",
|
||||||
|
|||||||
BIN
public/fonts/ibm-plex-mono-v19-latin-100.woff2
Normal file
BIN
public/fonts/ibm-plex-mono-v19-latin-100.woff2
Normal file
Binary file not shown.
BIN
public/fonts/ibm-plex-mono-v19-latin-100italic.woff2
Normal file
BIN
public/fonts/ibm-plex-mono-v19-latin-100italic.woff2
Normal file
Binary file not shown.
BIN
public/fonts/ibm-plex-mono-v19-latin-200.woff2
Normal file
BIN
public/fonts/ibm-plex-mono-v19-latin-200.woff2
Normal file
Binary file not shown.
BIN
public/fonts/ibm-plex-mono-v19-latin-200italic.woff2
Normal file
BIN
public/fonts/ibm-plex-mono-v19-latin-200italic.woff2
Normal file
Binary file not shown.
BIN
public/fonts/ibm-plex-mono-v19-latin-300.woff2
Normal file
BIN
public/fonts/ibm-plex-mono-v19-latin-300.woff2
Normal file
Binary file not shown.
BIN
public/fonts/ibm-plex-mono-v19-latin-300italic.woff2
Normal file
BIN
public/fonts/ibm-plex-mono-v19-latin-300italic.woff2
Normal file
Binary file not shown.
BIN
public/fonts/ibm-plex-mono-v19-latin-500.woff2
Normal file
BIN
public/fonts/ibm-plex-mono-v19-latin-500.woff2
Normal file
Binary file not shown.
BIN
public/fonts/ibm-plex-mono-v19-latin-500italic.woff2
Normal file
BIN
public/fonts/ibm-plex-mono-v19-latin-500italic.woff2
Normal file
Binary file not shown.
BIN
public/fonts/ibm-plex-mono-v19-latin-600.woff2
Normal file
BIN
public/fonts/ibm-plex-mono-v19-latin-600.woff2
Normal file
Binary file not shown.
BIN
public/fonts/ibm-plex-mono-v19-latin-600italic.woff2
Normal file
BIN
public/fonts/ibm-plex-mono-v19-latin-600italic.woff2
Normal file
Binary file not shown.
BIN
public/fonts/ibm-plex-mono-v19-latin-700.woff2
Normal file
BIN
public/fonts/ibm-plex-mono-v19-latin-700.woff2
Normal file
Binary file not shown.
BIN
public/fonts/ibm-plex-mono-v19-latin-700italic.woff2
Normal file
BIN
public/fonts/ibm-plex-mono-v19-latin-700italic.woff2
Normal file
Binary file not shown.
BIN
public/fonts/ibm-plex-mono-v19-latin-italic.woff2
Normal file
BIN
public/fonts/ibm-plex-mono-v19-latin-italic.woff2
Normal file
Binary file not shown.
BIN
public/fonts/ibm-plex-mono-v19-latin-regular.woff2
Normal file
BIN
public/fonts/ibm-plex-mono-v19-latin-regular.woff2
Normal file
Binary file not shown.
@@ -81,6 +81,7 @@ const { activeNav } = Astro.props;
|
|||||||
}`}
|
}`}
|
||||||
ariaLabel="search"
|
ariaLabel="search"
|
||||||
title="Search"
|
title="Search"
|
||||||
|
newTarget={false}
|
||||||
>
|
>
|
||||||
<svg
|
<svg
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
|||||||
@@ -5,9 +5,10 @@ export interface Props {
|
|||||||
ariaLabel?: string;
|
ariaLabel?: string;
|
||||||
title?: string;
|
title?: string;
|
||||||
disabled?: boolean;
|
disabled?: boolean;
|
||||||
|
newTarget?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
const { href, className, ariaLabel, title, disabled = false } = Astro.props;
|
const { href, className, ariaLabel, title, disabled = false, newTarget = true } = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
<a
|
<a
|
||||||
@@ -17,6 +18,7 @@ const { href, className, ariaLabel, title, disabled = false } = Astro.props;
|
|||||||
aria-label={ariaLabel}
|
aria-label={ariaLabel}
|
||||||
title={title}
|
title={title}
|
||||||
aria-disabled={disabled}
|
aria-disabled={disabled}
|
||||||
|
target={ newTarget ? "_blank" : "_self"}
|
||||||
>
|
>
|
||||||
<slot />
|
<slot />
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
@@ -58,12 +58,12 @@ const socialImageURL = new URL(
|
|||||||
<meta property="twitter:image" content={socialImageURL} />
|
<meta property="twitter:image" content={socialImageURL} />
|
||||||
|
|
||||||
<!-- Google Font -->
|
<!-- Google Font -->
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
<!-- <link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||||
<link
|
<link
|
||||||
href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&display=swap"
|
href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&display=swap"
|
||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
/>
|
/> -->
|
||||||
|
|
||||||
{
|
{
|
||||||
// If PUBLIC_GOOGLE_SITE_VERIFICATION is set in the environment variable,
|
// If PUBLIC_GOOGLE_SITE_VERIFICATION is set in the environment variable,
|
||||||
|
|||||||
@@ -1,7 +1,50 @@
|
|||||||
|
/* ibm-plex-mono-regular - latin */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
||||||
|
font-family: 'IBM Plex Mono';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
src: url('/fonts/ibm-plex-mono-v19-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
|
||||||
|
}
|
||||||
|
/* ibm-plex-mono-500 - latin */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
||||||
|
font-family: 'IBM Plex Mono';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 500;
|
||||||
|
src: url('/fonts/ibm-plex-mono-v19-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
|
||||||
|
}
|
||||||
|
/* ibm-plex-mono-600 - latin */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
||||||
|
font-family: 'IBM Plex Mono';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 600;
|
||||||
|
src: url('/fonts/ibm-plex-mono-v19-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
|
||||||
|
}
|
||||||
|
/* ibm-plex-mono-600italic - latin */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
||||||
|
font-family: 'IBM Plex Mono';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 600;
|
||||||
|
src: url('/fonts/ibm-plex-mono-v19-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
|
||||||
|
}
|
||||||
|
/* ibm-plex-mono-700 - latin */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
||||||
|
font-family: 'IBM Plex Mono';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
src: url('/fonts/ibm-plex-mono-v19-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
|
||||||
|
}
|
||||||
|
|
||||||
@tailwind base;
|
@tailwind base;
|
||||||
@tailwind components;
|
@tailwind components;
|
||||||
@tailwind utilities;
|
@tailwind utilities;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@layer base {
|
@layer base {
|
||||||
:root,
|
:root,
|
||||||
html[data-theme="light"] {
|
html[data-theme="light"] {
|
||||||
|
|||||||
Reference in New Issue
Block a user