Skip to content

Commit

Permalink
fix(2025): import path use alias
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoppippi committed Feb 16, 2025
1 parent 0388948 commit f4b6b22
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
4 changes: 2 additions & 2 deletions 2025/src/components/Header.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
import { MAIN_BACKGROUND_COLOR } from '@/consts';
import LanguagePicker from '@/components/LanguagePicker.astro';
import LanguagePicker from '../components/LanguagePicker.astro';
import { MAIN_BACKGROUND_COLOR } from '@/consts';
---

<header class="hero">
Expand Down
6 changes: 3 additions & 3 deletions 2025/src/layouts/Layout.astro
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
import Footer from '@/components/Footer.astro';
import Header from '@/components/Header.astro';
import { BASE_URL } from '@/consts';
import { GoogleFontsOptimizer } from 'astro-google-fonts-optimizer';
import { SEO } from 'astro-seo';
import * as ufo from 'ufo';
import Footer from '../components/Footer.astro';
import Header from '../components/Header.astro';
import * as ufo from 'ufo';
const { lang = 'ja' } = Astro.props;
Expand Down
7 changes: 3 additions & 4 deletions 2025/src/pages/en.astro
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
---
import AnnouncementSlides from '@/components/AnnouncementSlides.astro';
import VenueMap from '@/components/VenueMap.astro';
import { MAIN_BACKGROUND_COLOR } from '@/consts';
import AnnouncementSlides from '../components/AnnouncementSlides.astro';
import VenueMap from '../components/VenueMap.astro';
import Layout from '../layouts/Layout.astro';
import Layout from '@/layouts/Layout.astro';
---

<Layout lang="en">
Expand Down
7 changes: 3 additions & 4 deletions 2025/src/pages/ja.astro
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
---
import AnnouncementSlides from '@/components/AnnouncementSlides.astro';
import VenueMap from '@/components/VenueMap.astro';
import { MAIN_BACKGROUND_COLOR } from '@/consts';
import AnnouncementSlides from '../components/AnnouncementSlides.astro';
import VenueMap from '../components/VenueMap.astro';
import Layout from '../layouts/Layout.astro';
import Layout from '@/layouts/Layout.astro';
---

<Layout>
Expand Down

0 comments on commit f4b6b22

Please # to comment.