commit 45fcfedfa54e208e5bf932974fa52c228bfb2a20 Author: LittleSheep Date: Mon Dec 16 22:55:58 2024 +0800 :tada: Initial Commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..016b59e --- /dev/null +++ b/.gitignore @@ -0,0 +1,24 @@ +# build output +dist/ + +# generated types +.astro/ + +# dependencies +node_modules/ + +# logs +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* + +# environment variables +.env +.env.production + +# macOS-specific files +.DS_Store + +# jetbrains setting folder +.idea/ diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..22a1505 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,4 @@ +{ + "recommendations": ["astro-build.astro-vscode"], + "unwantedRecommendations": [] +} diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..d642209 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,11 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "command": "./node_modules/.bin/astro dev", + "name": "Development server", + "request": "launch", + "type": "node-terminal" + } + ] +} diff --git a/README.md b/README.md new file mode 100644 index 0000000..ff19a3e --- /dev/null +++ b/README.md @@ -0,0 +1,48 @@ +# 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/ +│ ├── layouts/ +│ │ └── Layout.astro +│ └── pages/ +│ └── index.astro +└── package.json +``` + +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/). + +## 🧞 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..06c991c --- /dev/null +++ b/astro.config.mjs @@ -0,0 +1,12 @@ +// @ts-check +import { defineConfig } from 'astro/config'; + +import tailwind from '@astrojs/tailwind'; + +import icon from 'astro-icon'; + +// https://astro.build/config +export default defineConfig({ + integrations: [tailwind(), icon()], + prefetch: true +}); \ No newline at end of file diff --git a/bun.lockb b/bun.lockb new file mode 100755 index 0000000..53b138a Binary files /dev/null and b/bun.lockb differ diff --git a/package.json b/package.json new file mode 100644 index 0000000..2d6ee92 --- /dev/null +++ b/package.json @@ -0,0 +1,22 @@ +{ + "name": "capital", + "type": "module", + "version": "0.0.1", + "scripts": { + "dev": "astro dev", + "build": "astro build", + "preview": "astro preview", + "astro": "astro" + }, + "dependencies": { + "@astrojs/tailwind": "^5.1.3", + "@iconify-json/material-symbols": "^1.2.10", + "astro": "^5.0.5", + "astro-icon": "^1.1.4", + "tailwindcss": "^3.4.16" + }, + "devDependencies": { + "@tailwindcss/typography": "^0.5.15", + "daisyui": "^4.12.22" + } +} \ No newline at end of file diff --git a/src/assets/images/app-store/get-it-on-black.svg b/src/assets/images/app-store/get-it-on-black.svg new file mode 100755 index 0000000..072b425 --- /dev/null +++ b/src/assets/images/app-store/get-it-on-black.svg @@ -0,0 +1,46 @@ + + Download_on_the_App_Store_Badge_US-UK_RGB_blk_4SVG_092917 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/assets/images/company-aside.webp b/src/assets/images/company-aside.webp new file mode 100644 index 0000000..8fbb864 Binary files /dev/null and b/src/assets/images/company-aside.webp differ diff --git a/src/assets/images/product-solar-network.webp b/src/assets/images/product-solar-network.webp new file mode 100755 index 0000000..2120f8b Binary files /dev/null and b/src/assets/images/product-solar-network.webp differ diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro new file mode 100644 index 0000000..71f6240 --- /dev/null +++ b/src/layouts/Layout.astro @@ -0,0 +1,45 @@ + + + + + + + Solsynth LLC + + + + +
+ +
+ + + + diff --git a/src/pages/index.astro b/src/pages/index.astro new file mode 100644 index 0000000..7956e2e --- /dev/null +++ b/src/pages/index.astro @@ -0,0 +1,101 @@ +--- +import { Image } from "astro:assets"; +import { Icon } from "astro-icon/components"; + +import Layout from "../layouts/Layout.astro"; + +import CompanyAsideImage from "../assets/images/company-aside.webp"; +import AppStoreGetImage from "../assets/images/app-store/get-it-on-black.svg"; +import ProductSnPreviewImage from "../assets/images/product-solar-network.webp"; +--- + + +
+
+

Solsynth LLC

+

+ A vibrant creating wonderful software and hope the future will be + brighter. +

+ + See some of our works + + +
+
+ galaxy +
+
+ + +
+ + diff --git a/tailwind.config.mjs b/tailwind.config.mjs new file mode 100644 index 0000000..302834c --- /dev/null +++ b/tailwind.config.mjs @@ -0,0 +1,38 @@ +/** @type {import('tailwindcss').Config} */ +export default { + content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"], + theme: { + extend: {}, + }, + plugins: [require("@tailwindcss/typography"), require("daisyui")], + daisyui: { + themes: [ + { + dark: { + primary: "#3f51b5", + secondary: "#4ba6ee", + accent: "#03a9f4", + neutral: "#1f2937", + "base-100": "#000011", + info: "#4994ec", + success: "#67ad5b", + warning: "#f5c344", + error: "#e15241", + }, + }, + { + light: { + primary: "#3f51b5", + secondary: "#4ba6ee", + accent: "#03a9f4", + neutral: "#4b5563", + "base-100": "#ffffff", + info: "#4994ec", + success: "#67ad5b", + warning: "#f5c344", + error: "#e15241", + }, + }, + ], + }, +}; diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..8bf91d3 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,5 @@ +{ + "extends": "astro/tsconfigs/strict", + "include": [".astro/types.d.ts", "**/*"], + "exclude": ["dist"] +}