Skip to content

Commit 2438c35

Browse files
authored
Update README.md
1 parent e057e4f commit 2438c35

File tree

1 file changed

+42
-51
lines changed

1 file changed

+42
-51
lines changed

README.md

Lines changed: 42 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,42 @@
1-
# Astro on Netlify Platform Starter
2-
3-
[Live Demo](https://astro-platform-starter.netlify.app/)
4-
5-
A modern starter based on Astro.js, Tailwind, and [Netlify Core Primitives](https://docs.netlify.com/core/overview/#develop) (Edge Functions, Image CDN, Blob Store).
6-
7-
## Astro Commands
8-
9-
All commands are run from the root of the project, from a terminal:
10-
11-
| Command | Action |
12-
| :------------------------ | :----------------------------------------------- |
13-
| `npm install` | Installs dependencies |
14-
| `npm run dev` | Starts local dev server at `localhost:4321` |
15-
| `npm run build` | Build your production site to `./dist/` |
16-
| `npm run preview` | Preview your build locally, before deploying |
17-
| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` |
18-
| `npm run astro -- --help` | Get help using the Astro CLI |
19-
20-
## Deploying to Netlify
21-
22-
[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/netlify-templates/astro-platform-starter)
23-
24-
## Developing Locally
25-
26-
| Prerequisites |
27-
| :--------------------------------------------------------------------------- |
28-
| [Node.js](https://nodejs.org/) v18.14+. |
29-
| (optional) [nvm](https://github.com/nvm-sh/nvm) for Node version management. |
30-
31-
1. Clone this repository, then run `npm install` in its root directory.
32-
33-
2. For the starter to have full functionality locally (e.g. edge functions, blob store), please ensure you have an up-to-date version of Netlify CLI. Run:
34-
35-
```
36-
npm install netlify-cli@latest -g
37-
```
38-
39-
3. Link your local repository to the deployed Netlify site. This will ensure you're using the same runtime version for both local development and your deployed site.
40-
41-
```
42-
netlify link
43-
```
44-
45-
4. Then, run the Astro.js development server via Netlify CLI:
46-
47-
```
48-
netlify dev
49-
```
50-
51-
If your browser doesn't navigate to the site automatically, visit [localhost:8888](http://localhost:8888).
1+
<!DOCTYPE html><html lang="en">
2+
<head>
3+
<meta charset="UTF-8" />
4+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
5+
<title>ShoeCart - Black Air Shoes</title>
6+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" />
7+
<style>
8+
body {
9+
margin: 0;
10+
font-family: 'Segoe UI', sans-serif;
11+
background: #f8f8f8;
12+
color: #333;
13+
}
14+
header {
15+
background-color: #111;
16+
color: white;
17+
padding: 1rem;
18+
display: flex;
19+
align-items: center;
20+
justify-content: space-between;
21+
}
22+
header img {
23+
height: 40px;
24+
}
25+
header h1 {
26+
font-size: 1.5rem;
27+
margin: 0;
28+
}
29+
.container {
30+
max-width: 1000px;
31+
margin: auto;
32+
padding: 2rem;
33+
}
34+
.product {
35+
background: white;
36+
border-radius: 12px;
37+
box-shadow: 0 0 10px rgba(0,0,0,0.05);
38+
overflow: hidden;
39+
display: flex;
40+
flex-wrap: wrap;
41+
}
42+
.product img {https://wa.me/91XXXXXXXXXX?text=I'm%20interested%20in%20Black%20Air%20Shoes

0 commit comments

Comments
 (0)