feat: display first partial iframe
This commit is contained in:
parent
48f912f786
commit
cefc8984cd
4 changed files with 4313 additions and 1 deletions
|
@ -9,7 +9,8 @@
|
||||||
"build": "astro build",
|
"build": "astro build",
|
||||||
"preview": "astro preview",
|
"preview": "astro preview",
|
||||||
"astro": "astro",
|
"astro": "astro",
|
||||||
"deploy": "astro build && scp -r dist/. ayo@ayco.io:~/ayco.io-flask/dist"
|
"deploy": "astro build && scp -r dist/. ayo@ayco.io:~/ayco.io-flask/dist",
|
||||||
|
"copy:dist": "astro build && cp -R dist ../ayco.io-flask"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astro-reactive/form": "^0.10.0",
|
"@astro-reactive/form": "^0.10.0",
|
||||||
|
|
4306
pnpm-lock.yaml
Normal file
4306
pnpm-lock.yaml
Normal file
File diff suppressed because it is too large
Load diff
|
@ -47,6 +47,7 @@ iframe {
|
||||||
display: block;
|
display: block;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
border: 0;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
7. Remove built-in form typography styles
|
7. Remove built-in form typography styles
|
||||||
|
|
|
@ -3,6 +3,9 @@ import Layout from "../layouts/Layout.astro";
|
||||||
import Card from "../components/Card.astro";
|
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 getOriginUrl = (path: string) => isDev ? `http://localhost:5000/${path}` : path;
|
||||||
---
|
---
|
||||||
|
|
||||||
<Layout>
|
<Layout>
|
||||||
|
@ -55,6 +58,7 @@ import { stuff } from '../constants/stuff';
|
||||||
/>
|
/>
|
||||||
</ul>
|
</ul>
|
||||||
<Footer />
|
<Footer />
|
||||||
|
<iframe style="width:100%" loading="lazy" src={getOriginUrl('p/feed')}></iframe>
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
</Layout>
|
</Layout>
|
||||||
|
|
Loading…
Reference in a new issue