mirror of
https://github.com/bartvdbraak/hellob.art.git
synced 2025-06-28 23:39:11 +00:00
Move to Docker build without Vercel
This commit is contained in:
parent
16221dec61
commit
1e6059f745
16 changed files with 160 additions and 627 deletions
|
@ -3,7 +3,6 @@ import Logo from './logo.svelte';
|
|||
import LogoIcon from '$lib/assets/logo-icon.png';
|
||||
import Github from './github.svelte';
|
||||
import Svelte from './svelte.svelte';
|
||||
import Vercel from './vercel.svelte';
|
||||
import LinkedIn from './linkedin.svelte';
|
||||
|
||||
export type Icon = LucideIcon;
|
||||
|
@ -13,6 +12,5 @@ export const Icons = {
|
|||
logoIcon: LogoIcon,
|
||||
gitHub: Github,
|
||||
svelte: Svelte,
|
||||
vercel: Vercel,
|
||||
linkedIn: LinkedIn
|
||||
};
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
<svg
|
||||
width="15"
|
||||
height="15"
|
||||
viewBox="0 0 15 15"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
{...$$restProps}
|
||||
><path
|
||||
d="M7.49998 1L6.92321 2.00307L1.17498 12L0.599976 13H1.7535H13.2464H14.4L13.825 12L8.07674 2.00307L7.49998 1ZM7.49998 3.00613L2.3285 12H12.6714L7.49998 3.00613Z"
|
||||
fill="currentColor"
|
||||
fill-rule="evenodd"
|
||||
clip-rule="evenodd"
|
||||
></path></svg
|
||||
>
|
Before Width: | Height: | Size: 373 B |
|
@ -26,13 +26,13 @@
|
|||
</div>
|
||||
<Separator orientation="vertical" />
|
||||
<div>
|
||||
<span class="hidden sm:inline">Hosted on</span>
|
||||
<span class="hidden sm:inline">Selfhosted with</span>
|
||||
<Cloud class="inline h-[1rem] w-[1rem] sm:hidden" />
|
||||
<a
|
||||
href={siteConfig.links.vercel}
|
||||
href={siteConfig.links.coolify}
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
class="font-medium underline underline-offset-4">Vercel</a
|
||||
class="font-medium underline underline-offset-4">Coolify</a
|
||||
>
|
||||
</div>
|
||||
<Separator orientation="vertical" />
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
const SITE_URL =
|
||||
import.meta.env.VERCEL_ENV === 'preview' ? import.meta.env.VERCEL_URL : 'hellob.art';
|
||||
const SITE_URL = 'hellob.art';
|
||||
|
||||
export const siteConfig = {
|
||||
name: 'hellob.art',
|
||||
|
@ -14,7 +13,7 @@ export const siteConfig = {
|
|||
gitHubProfile: 'https://github.com/bartvdbraak',
|
||||
gitHubProject: 'https://github.com/bartvdbraak/hellob.art',
|
||||
shadcnSvelte: 'https://www.shadcn-svelte.com/',
|
||||
vercel: 'https://vercel.com/'
|
||||
coolify: 'https://coolify.io/'
|
||||
},
|
||||
keywords: `Bart van der Braak,DevOps,Azure,Triple,Cloud`
|
||||
};
|
||||
|
|
|
@ -4,11 +4,6 @@
|
|||
import '../styles/globals.css';
|
||||
import { ModeWatcher } from 'mode-watcher';
|
||||
import { fly } from 'svelte/transition';
|
||||
import { inject } from '@vercel/analytics';
|
||||
import { injectSpeedInsights } from '@vercel/speed-insights/sveltekit';
|
||||
inject({ mode: dev ? 'development' : 'production' });
|
||||
injectSpeedInsights();
|
||||
|
||||
export let data;
|
||||
</script>
|
||||
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
<script>
|
||||
import { OgImage } from '$lib/components/site';
|
||||
import meInline from '$lib/assets/og/me-inline.jpg';
|
||||
import fs from 'fs';
|
||||
import path from 'path';
|
||||
const imageData = fs.readFileSync(path.join(process.cwd(), meInline), 'base64');
|
||||
</script>
|
||||
|
||||
<section class="h-[630px] w-[1200px]">
|
||||
<OgImage {imageData} />
|
||||
</section>
|
|
@ -10,7 +10,7 @@ export async function GET() {
|
|||
const robotsConfig = [
|
||||
{
|
||||
agent: '*',
|
||||
disallow: import.meta.env.VERCEL_ENV === 'preview' ? ['/'] : ['/og.png/preview']
|
||||
disallow: ['/og.png/preview']
|
||||
}
|
||||
];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue