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
|
||||
// all pages through the use of the <BaseHead /> component.
|
||||
import '../styles/global.css';
|
||||
import '@styles/global.css';
|
||||
import type { ImageMetadata } from 'astro';
|
||||
import { SITE_TITLE } from '../consts';
|
||||
import { SITE_TITLE } from '@ptypes/consts.ts';
|
||||
|
||||
interface Props {
|
||||
title: string;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
import { SITE_TITLE } from '../consts';
|
||||
import HeaderLink from './HeaderLink.astro';
|
||||
import { SITE_TITLE } from '@ptypes/consts.ts';
|
||||
import HeaderLink from '@components/HeaderLink.astro';
|
||||
import { getCollection } from 'astro:content';
|
||||
|
||||
const personalPosts = (await getCollection('personal')).sort(
|
||||
|
||||
@@ -6,8 +6,8 @@ gitLink: 'https://github.com/juli0n21/fileclap'
|
||||
---
|
||||
|
||||
import { Image } from 'astro:assets';
|
||||
import homeview from '../../../assets/fileclap/homeview.png';
|
||||
import search from '../../../assets/fileclap/search.png';
|
||||
import homeview from '@assets/fileclap/homeview.png';
|
||||
import search from '@assets/fileclap/search.png';
|
||||
|
||||
<style is:global>{`
|
||||
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
|
||||
- WorkUnit preperation
|
||||
|
||||

|
||||
|
||||

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

|
||||

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