feat: remove iframe test

This commit is contained in:
Ayo Ayco 2024-04-11 15:12:49 +02:00
parent cefc8984cd
commit d02dcc30ba
2 changed files with 4 additions and 4310 deletions

File diff suppressed because it is too large Load diff

View file

@ -4,8 +4,8 @@ import Card from "../components/Card.astro";
import Footer from "../components/Footer.astro";
import { stuff } from '../constants/stuff';
const isDev = import.meta.env.DEV;
const getOriginUrl = (path: string) => isDev ? `http://localhost:5000/${path}` : path;
// const isDev = import.meta.env.DEV;
// const getOriginUrl = (path: string) => isDev ? `http://localhost:5000/${path}` : path;
---
<Layout>
@ -58,7 +58,7 @@ const getOriginUrl = (path: string) => isDev ? `http://localhost:5000/${path}` :
/>
</ul>
<Footer />
<iframe style="width:100%" loading="lazy" src={getOriginUrl('p/feed')}></iframe>
<!-- iframe style="width:100%" loading="lazy" src={getOriginUrl('p/feed')}></iframe -->
</section>
</main>
</Layout>
@ -213,4 +213,4 @@ const getOriginUrl = (path: string) => isDev ? `http://localhost:5000/${path}` :
font-size: var(--font-size-base);
}
}
</style>
</style>