feat: remove iframe test
This commit is contained in:
parent
cefc8984cd
commit
d02dcc30ba
2 changed files with 4 additions and 4310 deletions
4306
pnpm-lock.yaml
4306
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
|
@ -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>
|
||||||
|
@ -213,4 +213,4 @@ const getOriginUrl = (path: string) => isDev ? `http://localhost:5000/${path}` :
|
||||||
font-size: var(--font-size-base);
|
font-size: var(--font-size-base);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in a new issue