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