Skip to content

Commit f4b6b22

Browse files
committed
fix(2025): import path use alias
1 parent 0388948 commit f4b6b22

File tree

4 files changed

+11
-13
lines changed

4 files changed

+11
-13
lines changed

2025/src/components/Header.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
import { MAIN_BACKGROUND_COLOR } from '@/consts';
2+
import LanguagePicker from '@/components/LanguagePicker.astro';
33
4-
import LanguagePicker from '../components/LanguagePicker.astro';
4+
import { MAIN_BACKGROUND_COLOR } from '@/consts';
55
---
66

77
<header class="hero">

2025/src/layouts/Layout.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
2+
import Footer from '@/components/Footer.astro';
3+
import Header from '@/components/Header.astro';
24
import { BASE_URL } from '@/consts';
35
import { GoogleFontsOptimizer } from 'astro-google-fonts-optimizer';
46
import { SEO } from 'astro-seo';
5-
import * as ufo from 'ufo';
6-
import Footer from '../components/Footer.astro';
77
8-
import Header from '../components/Header.astro';
8+
import * as ufo from 'ufo';
99
1010
const { lang = 'ja' } = Astro.props;
1111

2025/src/pages/en.astro

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
---
2+
import AnnouncementSlides from '@/components/AnnouncementSlides.astro';
3+
import VenueMap from '@/components/VenueMap.astro';
24
import { MAIN_BACKGROUND_COLOR } from '@/consts';
3-
import AnnouncementSlides from '../components/AnnouncementSlides.astro';
4-
import VenueMap from '../components/VenueMap.astro';
5-
6-
import Layout from '../layouts/Layout.astro';
5+
import Layout from '@/layouts/Layout.astro';
76
---
87

98
<Layout lang="en">

2025/src/pages/ja.astro

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
---
2+
import AnnouncementSlides from '@/components/AnnouncementSlides.astro';
3+
import VenueMap from '@/components/VenueMap.astro';
24
import { MAIN_BACKGROUND_COLOR } from '@/consts';
3-
import AnnouncementSlides from '../components/AnnouncementSlides.astro';
4-
import VenueMap from '../components/VenueMap.astro';
5-
6-
import Layout from '../layouts/Layout.astro';
5+
import Layout from '@/layouts/Layout.astro';
76
---
87

98
<Layout>

0 commit comments

Comments
 (0)