use import short-hands
Co-authored-by: Petter Sæterøy <potetmos1@users.noreply.github.com>
This commit is contained in:
@ -3,7 +3,7 @@ import { Image } from 'astro:assets';
|
||||
import logo from '@assets/logo.png';
|
||||
import DNS from '@assets/DNS-logo-hvit.png';
|
||||
import { translations } from '@data/i18n.js';
|
||||
import Links from './Links.astro';
|
||||
import Links from '@components/Links.astro';
|
||||
const { lang = 'no' } = Astro.props;
|
||||
const t = translations[lang].footer;
|
||||
---
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
import Layout from '@layouts/Layout.astro';
|
||||
import ProgramComponent from '@components/Program.astro';
|
||||
import data from '../../data/en-program.json';
|
||||
import data from '@data/en-program.json';
|
||||
---
|
||||
|
||||
<Layout lang="en">
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
import Layout from '@layouts/Layout.astro';
|
||||
import ProgramComponent from '@components/Program.astro';
|
||||
import data from '../data/program.json';
|
||||
import data from '@data/program.json';
|
||||
---
|
||||
|
||||
<Layout lang="no">
|
||||
|
Reference in New Issue
Block a user