Skip to content

Commit a26c93f

Browse files
authored
Merge pull request #11 from Guayaba-Devs/feat/astro
Feat/astro
2 parents 61ad4ab + e484b6d commit a26c93f

87 files changed

Lines changed: 4322 additions & 11358 deletions

Some content is hidden

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

.eslintrc.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

.gitignore

Lines changed: 15 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,24 @@
1-
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
1+
# build output
2+
dist/
23

3-
# dependencies
4-
/node_modules
5-
/.pnp
6-
.pnp.*
7-
.yarn/*
8-
!.yarn/patches
9-
!.yarn/plugins
10-
!.yarn/releases
11-
!.yarn/versions
12-
13-
# testing
14-
/coverage
15-
16-
# next.js
17-
/.next/
18-
/out/
19-
20-
# production
21-
/build
4+
# generated types
5+
.astro/
226

23-
# misc
24-
.DS_Store
25-
*.pem
7+
# dependencies
8+
node_modules/
269

27-
# debug
10+
# logs
2811
npm-debug.log*
2912
yarn-debug.log*
3013
yarn-error.log*
14+
pnpm-debug.log*
3115

32-
# env files (can opt-in for committing if needed)
33-
.env*
16+
# environment variables
17+
.env
18+
.env.production
3419

35-
# vercel
36-
.vercel
20+
# macOS-specific files
21+
.DS_Store
3722

38-
# typescript
39-
*.tsbuildinfo
40-
next-env.d.ts
23+
# jetbrains setting folder
24+
.idea/

README.md

Lines changed: 35 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,48 @@
1-
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
1+
# Astro Starter Kit: Basics
22

3-
## Getting Started
3+
```sh
4+
pnpm create astro@latest -- --template basics
5+
```
46

5-
First, run the development server:
7+
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/basics)
8+
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/basics)
9+
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/basics/devcontainer.json)
610

7-
```bash
8-
npm run dev
9-
# or
10-
yarn dev
11-
# or
12-
pnpm dev
13-
# or
14-
bun dev
15-
```
11+
> 🧑‍🚀 **Seasoned astronaut?** Delete this file. Have fun!
1612
17-
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
13+
![just-the-basics](https://github.com/withastro/astro/assets/2244813/a0a5533c-a856-4198-8470-2d67b1d7c554)
1814

19-
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
15+
## 🚀 Project Structure
2016

21-
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
17+
Inside of your Astro project, you'll see the following folders and files:
2218

23-
## Learn More
19+
```text
20+
/
21+
├── public/
22+
│ └── favicon.svg
23+
├── src/
24+
│ ├── layouts/
25+
│ │ └── Layout.astro
26+
│ └── pages/
27+
│ └── index.astro
28+
└── package.json
29+
```
2430

25-
To learn more about Next.js, take a look at the following resources:
31+
To learn more about the folder structure of an Astro project, refer to [our guide on project structure](https://docs.astro.build/en/basics/project-structure/).
2632

27-
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
28-
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
33+
## 🧞 Commands
2934

30-
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
35+
All commands are run from the root of the project, from a terminal:
3136

32-
## Deploy on Vercel
37+
| Command | Action |
38+
| :------------------------ | :----------------------------------------------- |
39+
| `pnpm install` | Installs dependencies |
40+
| `pnpm dev` | Starts local dev server at `localhost:4321` |
41+
| `pnpm build` | Build your production site to `./dist/` |
42+
| `pnpm preview` | Preview your build locally, before deploying |
43+
| `pnpm astro ...` | Run CLI commands like `astro add`, `astro check` |
44+
| `pnpm astro -- --help` | Get help using the Astro CLI |
3345

34-
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
46+
## 👀 Want to learn more?
3547

36-
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
48+
Feel free to check [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat).

astro.config.mjs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// @ts-check
2+
import { defineConfig } from 'astro/config';
3+
4+
import tailwindcss from '@tailwindcss/vite';
5+
6+
// https://astro.build/config
7+
export default defineConfig({
8+
vite: {
9+
plugins: [tailwindcss()]
10+
}
11+
});

components.json

Lines changed: 0 additions & 21 deletions
This file was deleted.

next.config.mjs

Lines changed: 0 additions & 28 deletions
This file was deleted.

package.json

Lines changed: 12 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,19 @@
11
{
2-
"name": "official-site-guayaba",
3-
"version": "0.1.0",
4-
"private": true,
2+
"name": "guayaba",
3+
"type": "module",
4+
"version": "0.0.1",
55
"scripts": {
6-
"dev": "next dev --turbopack",
7-
"build": "next build",
8-
"start": "next start",
9-
"lint": "next lint"
6+
"dev": "astro dev",
7+
"build": "astro build",
8+
"preview": "astro preview",
9+
"astro": "astro"
1010
},
1111
"dependencies": {
12-
"@nextui-org/react": "^2.6.11",
13-
"@radix-ui/react-tooltip": "^1.1.4",
14-
"@tabler/icons-react": "^3.26.0",
15-
"class-variance-authority": "^0.7.1",
16-
"clsx": "^2.1.1",
17-
"framer-motion": "^11.15.0",
18-
"lucide-react": "^0.468.0",
19-
"next": "15.0.3",
20-
"react": "19.0.0-rc-66855b96-20241106",
21-
"react-dom": "19.0.0-rc-66855b96-20241106",
22-
"react-hot-toast": "^2.5.2",
23-
"react-spring": "^9.7.4",
24-
"tailwind-merge": "^2.5.5",
25-
"tailwindcss-animate": "^1.0.7"
26-
},
27-
"devDependencies": {
28-
"@types/node": "^20",
29-
"@types/react": "^18",
30-
"@types/react-dom": "^18",
31-
"eslint": "^8",
32-
"eslint-config-next": "15.0.3",
33-
"postcss": "^8",
34-
"tailwindcss": "^3.4.1",
35-
"typescript": "^5"
12+
"@tailwindcss/vite": "^4.1.6",
13+
"astro": "^5.7.12",
14+
"gsap": "^3.13.0",
15+
"sharp": "^0.34.1",
16+
"tailwindcss": "^4.1.6"
3617
},
3718
"packageManager": "pnpm@9.15.0+sha512.76e2379760a4328ec4415815bcd6628dee727af3779aaa4c914e3944156c4299921a89f976381ee107d41f12cfa4b66681ca9c718f0668fa0831ed4c6d8ba56c"
3819
}

0 commit comments

Comments
 (0)