An open API service indexing awesome lists of open source software.

https://github.com/cm-iv/astro-site

My Astro based website
https://github.com/cm-iv/astro-site

Last synced: 3 months ago
JSON representation

My Astro based website

Awesome Lists containing this project

README

        

# Oceanus Digital Consulting

## Built with [Astro](https://astro.build/)

## 🚀 Project Structure

Here's a rough outline of the directory structure.

```
/
├── public/
│ └── favicon.ico
├── src/
│ ├── components/
│ │ └── Layout.astro
| ├── css/
| | └── styles.css
| ├── layouts/
| | ├── blogPost.astro
| | └── mainLayout.astro
│ └── pages/
│ └── index.astro
└── package.json
```

Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name.

There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components or layouts.

Any static assets, like images, can be placed in the `public/` directory.

## 🧞 Commands

All commands are run from the root of the project, from a terminal:

| Command | Action |
| :----------------- | :------------------------------------------- |
| `pnpm install` | Installs dependencies |
| `pnpm run dev` | Starts local dev server at `localhost:3000` |
| `pnpm run build` | Build your production site to `./dist/` |
| `pnpm run preview` | Preview your build locally, before deploying |