mirror of
https://github.com/JuLi0n21/homepage.git
synced 2026-04-19 23:30:06 +00:00
patch(): Patched type aliases
Changed inferred path i.e., "./", "../", "../../". into @ import path.
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
---
|
---
|
||||||
// Import the global.css file here so that it is included on
|
// Import the global.css file here so that it is included on
|
||||||
// all pages through the use of the <BaseHead /> component.
|
// all pages through the use of the <BaseHead /> component.
|
||||||
import '../styles/global.css';
|
import '@styles/global.css';
|
||||||
import type { ImageMetadata } from 'astro';
|
import type { ImageMetadata } from 'astro';
|
||||||
import { SITE_TITLE } from '../consts';
|
import { SITE_TITLE } from '@ptypes/consts.ts';
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
title: string;
|
title: string;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
import { SITE_TITLE } from '../consts';
|
import { SITE_TITLE } from '@ptypes/consts.ts';
|
||||||
import HeaderLink from './HeaderLink.astro';
|
import HeaderLink from '@components/HeaderLink.astro';
|
||||||
import { getCollection } from 'astro:content';
|
import { getCollection } from 'astro:content';
|
||||||
|
|
||||||
const personalPosts = (await getCollection('personal')).sort(
|
const personalPosts = (await getCollection('personal')).sort(
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ gitLink: 'https://github.com/juli0n21/fileclap'
|
|||||||
---
|
---
|
||||||
|
|
||||||
import { Image } from 'astro:assets';
|
import { Image } from 'astro:assets';
|
||||||
import homeview from '../../../assets/fileclap/homeview.png';
|
import homeview from '@assets/fileclap/homeview.png';
|
||||||
import search from '../../../assets/fileclap/search.png';
|
import search from '@assets/fileclap/search.png';
|
||||||
|
|
||||||
<style is:global>{`
|
<style is:global>{`
|
||||||
h1, h2, h3, h4, h5, h6, figcaption::before { color: #ffdf20 }
|
h1, h2, h3, h4, h5, h6, figcaption::before { color: #ffdf20 }
|
||||||
|
|||||||
@@ -31,5 +31,4 @@ Horsa is an Mobile First all in One Solution for ur BlackSmithing Shop
|
|||||||
- Inventory Management
|
- Inventory Management
|
||||||
- WorkUnit preperation
|
- WorkUnit preperation
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|||||||
@@ -46,4 +46,4 @@ The idea was to extend the concept and make it easy to share local scores only,
|
|||||||
- golang
|
- golang
|
||||||
- a-h/templ + tailwind
|
- a-h/templ + tailwind
|
||||||
- Sqlite as DB
|
- Sqlite as DB
|
||||||

|

|
||||||
|
|||||||
@@ -1,12 +1,7 @@
|
|||||||
---
|
---
|
||||||
import { Image } from 'astro:assets';
|
import BaseHead from '@components/BaseHead.astro';
|
||||||
import type { CollectionEntry } from 'astro:content';
|
import Header from '@components/Header.astro';
|
||||||
import BaseHead from '../components/BaseHead.astro';
|
import GithubIcon from '@assets/github.svg'
|
||||||
import Footer from '../components/Footer.astro';
|
|
||||||
import FormattedDate from '../components/FormattedDate.astro';
|
|
||||||
import Header from '../components/Header.astro';
|
|
||||||
import GithubIcon from '../assets/github.svg'
|
|
||||||
type Props = CollectionEntry<'blog'>['data'];
|
|
||||||
|
|
||||||
const { title, description, pubDate, updatedDate, gitLink } = Astro.props;
|
const { title, description, pubDate, updatedDate, gitLink } = Astro.props;
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
import { getCollection, render } from 'astro:content';
|
import { getCollection, render } from 'astro:content';
|
||||||
import BlogPost from '../../../layouts/BlogPost.astro';
|
import BlogPost from '@layouts/BlogPost.astro';
|
||||||
|
|
||||||
export async function getStaticPaths() {
|
export async function getStaticPaths() {
|
||||||
const posts = await getCollection('personal');
|
const posts = await getCollection('personal');
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
import { getCollection, render } from 'astro:content';
|
import { getCollection, render } from 'astro:content';
|
||||||
import BlogPost from '../../../layouts/BlogPost.astro';
|
import BlogPost from '@layouts/BlogPost.astro';
|
||||||
|
|
||||||
export async function getStaticPaths() {
|
export async function getStaticPaths() {
|
||||||
const posts = await getCollection('uni');
|
const posts = await getCollection('uni');
|
||||||
|
|||||||
@@ -1,11 +1,9 @@
|
|||||||
---
|
---
|
||||||
import BaseHead from '../components/BaseHead.astro';
|
import BaseHead from '@components/BaseHead.astro';
|
||||||
import Footer from '../components/Footer.astro';
|
import Header from '@components/Header.astro';
|
||||||
import Header from '../components/Header.astro';
|
import { SITE_DESCRIPTION, SITE_TITLE } from '@ptypes/consts.ts';
|
||||||
import { SITE_DESCRIPTION, SITE_TITLE } from '../consts';
|
|
||||||
|
|
||||||
let images =
|
let images = [
|
||||||
[
|
|
||||||
'https://fshare.kami.boo/u/xH0KLo.jpg',
|
'https://fshare.kami.boo/u/xH0KLo.jpg',
|
||||||
'https://fshare.kami.boo/u/a0a2234c-b361-425f-8794-612c7c9fbafe.jpg',
|
'https://fshare.kami.boo/u/a0a2234c-b361-425f-8794-612c7c9fbafe.jpg',
|
||||||
'https://fshare.kami.boo/u/7ceef00c-35cf-4a2f-bec1-0fb489db5f7c.jpg',
|
'https://fshare.kami.boo/u/7ceef00c-35cf-4a2f-bec1-0fb489db5f7c.jpg',
|
||||||
|
|||||||
Reference in New Issue
Block a user