8000 Exprmnt 3 by Pkcarreno · Pull Request #63 · Pkcarreno/homepage · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Exprmnt 3 #63

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 27 additions & 4 deletions astro.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import sitemap from '@astrojs/sitemap'
import tailwind from '@astrojs/tailwind'
import vercel from '@astrojs/vercel'
import keystatic from '@keystatic/astro'
import { defineConfig } from 'astro/config'
import umami from '@yeskunall/astro-umami'
import { defineConfig, envField } from 'astro/config'
import favicons from 'astro-favicons'
import robots from 'astro-robots'
import Oxlint from 'unplugin-oxlint/vite'
Expand All @@ -16,14 +17,29 @@ export default defineConfig({
build: {
inlineStylesheets: 'always'
},

server: {
port: 4200
},
compressHTML: true,
prefetch: true,

devToolbar: {
enabled: false
},

env: {
schema: {
UMAMI_ID: envField.string({
access: 'public',
context: 'client',
optional: false
}),
UMAMI_ENDPOINT: envField.string({
access: 'public',
context: 'client',
optional: false
})
}
},
integrations: [
tailwind({
applyBaseStyles: false,
Expand All @@ -41,7 +57,14 @@ export default defineConfig({
sitemap(),
markdoc(),
react(),
keystatic()
keystatic(),
!!process.env.UMAMI_ID &&
umami({
id: process.env.UMAMI_ID,
domains: ['pkcarreno.com', 'www.pkcarreno.com'],
endpointUrl: process.env.UMAMI_ENDPOINT,
hostUrl: process.env.UMAMI_ENDPOINT
})
],

output: 'static',
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"@resvg/resvg-js": "^2.6.2",
"@types/react": "^19.1.2",
"@types/react-dom": "^19.1.2",
"@yeskunall/astro-umami": "^0.0.5",
"astro": "^5.7.4",
"astro-favicons": "^3.1.5",
"astro-robots": "^2.3.1",
Expand Down
12 changes: 12 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 18 additions & 7 deletions src/components/layout/BaseFooter.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,23 @@ import Qr from '@/components/generic/Qr.astro'
<div class="w-24 self-start">
<Qr string={Astro.request.url} />
</div>
<div class="flex h-fit flex-col gap-4 p-0 leading-5 md:flex-row">
<Link href="/licencia" class="text-muted-foreground">CC BY-NC-SA 4.0</Link>
<Link
href="https://github.com/Pkcarreno/homepage"
class="text-muted-foreground">Código</Link
>
<Link href="/about-me" class="text-muted-foreground">English?</Link>
<div class="flex flex-col gap-1">
<small>
<Link href="/about-me" class="text-muted-foreground">english</Link>
</small>
<small>
<Link
href="https://github.com/Pkcarreno/homepage"
class="text-muted-foreground">repo</Link
>
</small>
<span class="text-xs">
contenido:
<Link
href="https://creativecommons.org/licenses/by-nc-sa/4.0/deed.es"
class="text-muted-foreground">CC BY-NC-SA 4.0</Link
>
| código fuente: MIT
</span>
</div>
</footer>
73 changes: 0 additions & 73 deletions src/pages/licencia.astro

This file was deleted.

0