Skip to content

Commit

Permalink
configured base in astro config
Browse files Browse the repository at this point in the history
  • Loading branch information
ajolipa committed Mar 5, 2024
1 parent a72f948 commit 300d430
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion astro-web/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ import react from "@astrojs/react";
// https://astro.build/config
export default defineConfig({
integrations: [tailwind(), react()],
site: 'https://performant-software.github.io'
site: 'https://performant-software.github.io',
base: '/editioncrafter/astro-web'
});
2 changes: 1 addition & 1 deletion astro-web/src/components/FeatureTabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useState } from "react";

const FeatureTabs = () => {
const [active, setActive] = useState(0)
const images = ['/editioncrafter_browser 1.png', '/editioncrafter_browser 2.png', '/editioncrafter_browser 3.png', '/editioncrafter_browser 4.png'];
const images = ['/editioncrafter/astro-web/editioncrafter_browser 1.png', '/editioncrafter/astro-web/editioncrafter_browser 2.png', '/editioncrafter/astro-web/editioncrafter_browser 3.png', '/editioncrafter/astro-web/editioncrafter_browser 4.png'];
return (
<div className="max-w-[1072px] mx-auto">
<img src={images[active]} width={1072} height={710} alt="EditionCrafter screenshot" className="transition" />
Expand Down

0 comments on commit 300d430

Please sign in to comment.