commit af29e37277a439d0a221b8a1004f1079480c09f9 Author: Vanilius Date: Mon Jul 22 01:46:29 2024 +0200 init diff --git a/README.md b/README.md new file mode 100644 index 0000000..1db3fb3 --- /dev/null +++ b/README.md @@ -0,0 +1,54 @@ +# Astro Starter Kit: Basics + +```sh +npm create astro@latest -- --template basics +``` + +[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/basics) +[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/basics) +[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/basics/devcontainer.json) + +> 🧑‍🚀 **Seasoned astronaut?** Delete this file. Have fun! + +![just-the-basics](https://github.com/withastro/astro/assets/2244813/a0a5533c-a856-4198-8470-2d67b1d7c554) + +## 🚀 Project Structure + +Inside of your Astro project, you'll see the following folders and files: + +```text +/ +├── public/ +│ └── favicon.svg +├── src/ +│ ├── components/ +│ │ └── Card.astro +│ ├── layouts/ +│ │ └── Layout.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. + +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 | +| :------------------------ | :----------------------------------------------- | +| `npm install` | Installs dependencies | +| `npm run dev` | Starts local dev server at `localhost:4321` | +| `npm run build` | Build your production site to `./dist/` | +| `npm run preview` | Preview your build locally, before deploying | +| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` | +| `npm run astro -- --help` | Get help using the Astro CLI | + +## 👀 Want to learn more? + +Feel free to check [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat). diff --git a/astro.config.mjs b/astro.config.mjs new file mode 100644 index 0000000..722c693 --- /dev/null +++ b/astro.config.mjs @@ -0,0 +1,10 @@ +import { defineConfig } from 'astro/config'; +import tailwind from "@astrojs/tailwind"; +import icon from "astro-icon"; + +// https://astro.build/config +export default defineConfig({ + integrations: [tailwind({ + applyBaseStyles: false, + }), icon()] +}); \ No newline at end of file diff --git a/bun.lockb b/bun.lockb new file mode 100755 index 0000000..96fb8ea Binary files /dev/null and b/bun.lockb differ diff --git a/package.json b/package.json new file mode 100644 index 0000000..4f89327 --- /dev/null +++ b/package.json @@ -0,0 +1,41 @@ +{ + "name": "leafuswtf", + "type": "module", + "version": "0.0.1", + "scripts": { + "dev": "astro dev", + "start": "astro dev", + "build": "astro check && astro build", + "preview": "astro preview", + "astro": "astro" + }, + "dependencies": { + "@astrojs/check": "^0.8.2", + "@astrojs/react": "^3.6.0", + "@astrojs/tailwind": "^5.1.0", + "@catppuccin/tailwindcss": "^0.1.6", + "@fontsource/poppins": "^5.0.14", + "@fontsource/twinkle-star": "^5.0.20", + "@iconify-json/mdi": "^1.1.67", + "@iconify-json/pajamas": "^1.1.47", + "@iconify-json/solar": "^1.1.9", + "@radix-ui/react-dialog": "^1.1.1", + "@radix-ui/react-popover": "^1.1.1", + "@radix-ui/react-slot": "^1.1.0", + "@types/react": "^18.3.3", + "@types/react-dom": "^18.3.0", + "astro": "^4.12.2", + "astro-icon": "^1.1.0", + "class-variance-authority": "^0.7.0", + "clsx": "^2.1.1", + "framer-motion": "^11.3.8", + "lucide-react": "^0.412.0", + "react": "^18.3.1", + "react-dom": "^18.3.1", + "tailwind-merge": "^2.4.0", + "tailwindcss": "^3.4.6", + "tailwindcss-animate": "^1.0.7", + "typescript": "^5.5.3" + }, + "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" +} diff --git a/public/favicon.svg b/public/favicon.svg new file mode 100644 index 0000000..bd1453e --- /dev/null +++ b/public/favicon.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/assets/Global.css b/src/assets/Global.css new file mode 100644 index 0000000..3440570 --- /dev/null +++ b/src/assets/Global.css @@ -0,0 +1,8 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; + +body { + @apply bg-ctp-crust text-white; + font-family: Poppins; +} \ No newline at end of file diff --git a/src/assets/leafus.png b/src/assets/leafus.png new file mode 100644 index 0000000..8830ad1 Binary files /dev/null and b/src/assets/leafus.png differ diff --git a/src/components/Footer.astro b/src/components/Footer.astro new file mode 100644 index 0000000..040702c --- /dev/null +++ b/src/components/Footer.astro @@ -0,0 +1,253 @@ + + +
+
+
+ + + + + +
+ + + + + + + + + + + + +
+
+ +
+ This website is OpenSource +
+ +
+ +
+
+ Leafus.wtf +
+
+ This website is licensed under the MIT license. +
+ You're free to use the source code to make your own websites :3 +
+
+
© 2024 - Leafus.wtf
+ + + + + + + + +
+
+ + diff --git a/src/components/Navbar.astro b/src/components/Navbar.astro new file mode 100644 index 0000000..300b870 --- /dev/null +++ b/src/components/Navbar.astro @@ -0,0 +1,112 @@ +--- +import { Icon } from "astro-icon/components"; +--- + + + + diff --git a/src/env.d.ts b/src/env.d.ts new file mode 100644 index 0000000..f964fe0 --- /dev/null +++ b/src/env.d.ts @@ -0,0 +1 @@ +/// diff --git a/src/layouts/Global.astro b/src/layouts/Global.astro new file mode 100644 index 0000000..af989eb --- /dev/null +++ b/src/layouts/Global.astro @@ -0,0 +1,37 @@ +--- +interface Props { + title: string; +} + +const { title } = Astro.props; +import "@/assets/Global.css"; +import Navbar from "@/components/Navbar.astro"; +import Footer from "@/components/Footer.astro" +import "@fontsource/poppins/400.css"; +import "@fontsource/poppins/500.css"; +import "@fontsource/poppins/600.css"; +import "@fontsource/poppins/700.css"; +import { ViewTransitions } from "astro:transitions"; +--- + + + + + + + + + + + {title} + + +
+ +
+ +
+ +