Welcome back {user.name} {user.surname}
- {} --
-
diff --git a/examples/middleware/.gitignore b/examples/middleware/.gitignore deleted file mode 100644 index 16d54bb13c8a..000000000000 --- a/examples/middleware/.gitignore +++ /dev/null @@ -1,24 +0,0 @@ -# build output -dist/ -# generated types -.astro/ - -# dependencies -node_modules/ - -# logs -npm-debug.log* -yarn-debug.log* -yarn-error.log* -pnpm-debug.log* - - -# environment variables -.env -.env.production - -# macOS-specific files -.DS_Store - -# jetbrains setting folder -.idea/ diff --git a/examples/middleware/astro.config.mjs b/examples/middleware/astro.config.mjs deleted file mode 100644 index 68ba7fac5876..000000000000 --- a/examples/middleware/astro.config.mjs +++ /dev/null @@ -1,10 +0,0 @@ -import { defineConfig } from 'astro/config'; -import node from '@astrojs/node'; - -// https://astro.build/config -export default defineConfig({ - output: 'server', - adapter: node({ - mode: 'standalone', - }), -}); diff --git a/examples/middleware/package.json b/examples/middleware/package.json deleted file mode 100644 index ce2a5ea57e28..000000000000 --- a/examples/middleware/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "@example/middleware", - "type": "module", - "version": "0.0.1", - "private": true, - "scripts": { - "dev": "astro dev", - "start": "astro dev", - "build": "astro build", - "preview": "astro preview", - "astro": "astro", - "server": "node dist/server/entry.mjs" - }, - "dependencies": { - "@astrojs/node": "^8.3.4", - "astro": "^4.16.0", - "html-minifier": "^4.0.0" - }, - "devDependencies": { - "@types/html-minifier": "^4.0.5" - } -} diff --git a/examples/middleware/src/components/Card.astro b/examples/middleware/src/components/Card.astro deleted file mode 100644 index 1ff16e5fb46e..000000000000 --- a/examples/middleware/src/components/Card.astro +++ /dev/null @@ -1,65 +0,0 @@ ---- -interface Props { - title: string; - body: string; - href: string; -} - -const { href, title, body } = Astro.props; ---- - -
- {body} -
- -
- To get started, open the directory src/pages
in your project.
- Code Challenge: Tweak the "Welcome to Astro" message above.
-
- To get started, open the directory src/pages
in your project.
- Code Challenge: Tweak the "Welcome to Astro" message above.
- Login with: Username: astro
Password: astro
-
- Availability: - In Stock -
-- Brand: - Apex -
-- Category: - Sofa -
-- SKU: - BE45VGRT -
-$45.00
-$55.00
-- Lorem ipsum dolor sit amet consectetur adipisicing elit. Eos eius eum reprehenderit dolore - vel mollitia optio consequatur hic asperiores inventore suscipit, velit consequuntur, - voluptate doloremque iure necessitatibus adipisci magnam porro. -
- -- Lorem, ipsum dolor sit amet consectetur adipisicing elit. Tenetur necessitatibus - deleniti natus dolore cum maiores suscipit optio itaque voluptatibus veritatis tempora - iste facilis non aut sapiente dolor quisquam, ex ab. -
-- Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolorum, quae accusantium - voluptatem blanditiis sapiente voluptatum. Autem ab, dolorum assumenda earum veniam eius - illo fugiat possimus illum dolor totam, ducimus excepturi. -
-- Lorem ipsum dolor sit amet consectetur adipisicing elit. Error quia modi ut expedita! - Iure molestiae labore cumque nobis quasi fuga, quibusdam rem? Temporibus consectetur - corrupti rerum veritatis numquam labore amet. -
-Color | -Blank, Brown, Red | -
---|---|
Material | -Latex | -
Weight | -55kg | -
© TailCommerce - All Right Reserved
-- {movie.overview} -
- -