Skip to content

Commit f7aff68

Browse files
authored
Merge pull request #1 from GoogleChromeLabs/carousel-gallery
Carousel Gallery
2 parents 74c4f78 + e8b5f1e commit f7aff68

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+11380
-0
lines changed

carousels-gallery/.gitignore

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# build output
2+
dist/
3+
4+
# generated types
5+
.astro/
6+
.vscode/
7+
8+
# dependencies
9+
node_modules/
10+
11+
# logs
12+
npm-debug.log*
13+
yarn-debug.log*
14+
yarn-error.log*
15+
pnpm-debug.log*
16+
17+
# environment variables
18+
.env
19+
.env.production
20+
21+
# macOS-specific files
22+
.DS_Store
23+
24+
# jetbrains setting folder
25+
.idea/

carousels-gallery/README.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Astro Starter Kit: Basics
2+
3+
![just-the-basics](https://github.com/withastro/astro/assets/2244813/a0a5533c-a856-4198-8470-2d67b1d7c554)
4+
5+
## 🚀 Project Structure
6+
7+
Inside of your Astro project, you'll see the following folders and files:
8+
9+
```text
10+
/
11+
├── public/
12+
│ └── favicon.svg
13+
├── src/
14+
│ ├── components/
15+
│ │ └── Card.astro
16+
│ ├── layouts/
17+
│ │ └── Layout.astro
18+
│ └── pages/
19+
│ └── index.astro
20+
└── package.json
21+
```
22+
23+
Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name.
24+
25+
There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.
26+
27+
Any static assets, like images, can be placed in the `public/` directory.
28+
29+
## 🧞 Commands
30+
31+
All commands are run from the root of the project, from a terminal:
32+
33+
| Command | Action |
34+
| :------------------------ | :----------------------------------------------- |
35+
| `npm install` | Installs dependencies |
36+
| `npm run dev` | Starts local dev server at `localhost:4321` |
37+
| `npm run build` | Build your production site to `./dist/` |
38+
| `npm run preview` | Preview your build locally, before deploying |
39+
| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` |
40+
| `npm run astro -- --help` | Get help using the Astro CLI |
41+
| `npm run deploy` | Insert files to `./dist/`, sync to `./dist` |
42+
43+
## 👀 Want to learn more?
44+
45+
Feel free to check [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat).

carousels-gallery/astro.config.mjs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import { defineConfig } from "astro/config";
2+
import sitemap from "@astrojs/sitemap";
3+
4+
// https://astro.build/config
5+
export default defineConfig({
6+
integrations: [sitemap()],
7+
devToolbar: {
8+
enabled: false,
9+
},
10+
site: "https://chrome.dev",
11+
base: "/carousel/",
12+
trailingSlash: "always",
13+
output: "static",
14+
});

0 commit comments

Comments
 (0)