fix url to astro to prevent relative path

This commit is contained in:
Jakob Strauß 2022-10-28 20:38:11 +02:00
parent 5b3db17ec9
commit b562db7b23

View file

@ -25,7 +25,7 @@ npm run dev
## Tech Stack ## Tech Stack
- [Astro](astro.build) - [Astro](https://astro.build)
- [tailwindcss](https://tailwindcss.com/) - [tailwindcss](https://tailwindcss.com/)
- [DaisyUI](https://daisyui.com/) - [DaisyUI](https://daisyui.com/)
@ -34,14 +34,14 @@ npm run dev
## Project Strucutre ## Project Strucutre
``` php ``` php
├── src/ ├── src/
│ ├── components/ │ ├── components/
│ │ ├── cs/ │ │ ├── cs/
│ │ │ ├── TimeLine │ │ │ ├── TimeLine
│ │ ├── BaseHead.astro │ │ ├── BaseHead.astro
│ │ ├── Card.astro │ │ ├── Card.astro
│ │ ├── Footer.astro │ │ ├── Footer.astro
│ │ ├── Header.astro │ │ ├── Header.astro
│ │ └── HorizontalCard.jsx │ │ └── HorizontalCard.jsx
│ │ └── SideBar.jsx │ │ └── SideBar.jsx
│ ├── layouts/ │ ├── layouts/
@ -78,7 +78,7 @@ The `BaseHead`, `Footer`, `Header` and `SideBar` components are already included
##### SideBar ##### SideBar
In the Sidebar you can change the links to all your website pages. In the Sidebar you can change the links to all your website pages.
You can change your avatar shape using [mask classes](https://daisyui.com/components/mask/). You can change your avatar shape using [mask classes](https://daisyui.com/components/mask/).
@ -172,7 +172,7 @@ layout: "../../layouts/StoreItemLayout.astro"
title: "Demo Item 1" title: "Demo Item 1"
description: "Item description" description: "Item description"
heroImage: "Item img url" heroImage: "Item img url"
details: true // show or hide details btn details: true // show or hide details btn
custom_link_label: "Custom btn link label" custom_link_label: "Custom btn link label"
custom_link: "Custom btn link" custom_link: "Custom btn link"
pubDate: "Sep 15 2022" pubDate: "Sep 15 2022"
@ -190,7 +190,7 @@ Feel free to modify the content included in the pages that the template contains
### Theming ### Theming
For change the template theme change the `data-theme` atribute of the `<html>` tag in `BaseLayout.astro` file. For change the template theme change the `data-theme` atribute of the `<html>` tag in `BaseLayout.astro` file.
You can chose among 30 themes available or create your custom theme. See themes available [here](https://daisyui.com/docs/themes/). You can chose among 30 themes available or create your custom theme. See themes available [here](https://daisyui.com/docs/themes/).