Skip to content

Commit

Permalink
fix: init
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcnk committed Aug 31, 2024
0 parents commit 8caad6a
Show file tree
Hide file tree
Showing 16 changed files with 252 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -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/
47 changes: 47 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Astro Starter Kit: Minimal

```sh
npm create astro@latest -- --template minimal
```

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/minimal)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/minimal)
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/minimal/devcontainer.json)

> 🧑‍🚀 **Seasoned astronaut?** Delete this file. Have fun!
## 🚀 Project Structure

Inside of your Astro project, you'll see the following folders and files:

```text
/
├── public/
├── src/
│ └── 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).
8 changes: 8 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { defineConfig } from "astro/config";

import tailwind from "@astrojs/tailwind";

// https://astro.build/config
export default defineConfig({
integrations: [tailwind()],
});
12 changes: 12 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
}
}
Binary file added bun.lockb
Binary file not shown.
24 changes: 24 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "palladiansxyz",
"type": "module",
"version": "0.0.1",
"scripts": {
"dev": "bunx --bun astro dev",
"build": "bunx --bun astro check && astro build",
"preview": "bunx --bun astro preview",
"astro": "bunx --bun astro",
"format": "bunx biome check --write --unsafe ."
},
"dependencies": {
"@astrojs/check": "^0.9.3",
"@astrojs/tailwind": "^5.1.0",
"@fontsource-variable/dm-sans": "^5.0.7",
"astro": "^4.15.1",
"tailwindcss": "^3.4.10",
"typescript": "^5.5.4"
},
"devDependencies": {
"@biomejs/biome": "1.8.3",
"daisyui": "^4.12.10"
}
}
1 change: 1 addition & 0 deletions public/logo-full.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/logo-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions src/components/footer.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<section class="flex flex-col mx-4 gap-4">
<h2>More</h2>
<p class="text-primary">
Find us on <a href="https://linkedin.com/company/palladians" target="_blank" rel="noopener noreferrer" class="underline">LinkedIn</a>.
See our code on <a href="https://github.com/palladians" target="_blank" rel="noopener noreferrer" class="underline">GitHub</a>.
See our designs on <a href="https://dribbble.com/palladians" target="_blank" rel="noopener noreferrer" class="underline">Dribbble</a> and <a href="https://layers.to/palladians" target="_blank" rel="noopener noreferrer" class="underline">Layers</a>.
<p>
<a class="text-primary underline" href="mailto:[email protected]">Mail us</a>
</section>
4 changes: 4 additions & 0 deletions src/components/header.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<header class="flex flex-col gap-4 mx-4">
<img src="/logo-full.svg" width={160} />
<h1 class="text-primary">Bridging the gap between you and the Web3.</h1>
</header>
1 change: 1 addition & 0 deletions src/env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/// <reference path="../.astro/types.d.ts" />
26 changes: 26 additions & 0 deletions src/layouts/main.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
import "@fontsource-variable/dm-sans";
---

<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" type="image/svg+xml" href="/logo.svg" />
<meta name="viewport" content="width=device-width" />
<meta name="generator" content={Astro.generator} />
<title>You and the Web3 \ Palladians</title>
</head>
<body class="flex flex-col gap-16 container max-w-[680px] mx-auto my-8 min-w-screen">
<slot />
</body>
</html>

<style is:global>
body {
font-family: 'DM Sans Variable', sans-serif;
text-align: justify;
line-height: 1.75;
font-size: 1.125rem;
font-weight: 500;
}
</style>
40 changes: 40 additions & 0 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
import Footer from "../components/footer.astro";
import Header from "../components/header.astro";
import MainLayout from "../layouts/main.astro";
---

<MainLayout>
<Header />
<section class="flex flex-col gap-4 mx-4">
<h2>We</h2>
<p class="text-primary">We are a software development collective of open source enthusiasts. Our main mission is to enrich Web3 with user-friendly experiences. We build with stable tools and research cutting-edge technology.</p>
</section>
<section class="flex flex-col">
<h2 class="mx-4">Products</h2>
<a href="https://pallad.co" target="_blank" rel="noopener noreferrer" class="card gap-2 p-4 hover:bg-neutral mt-4">
<h3>Pallad</h3>
<p class="text-primary">Pallad is a unique Web3 wallet for Mina Protocol. It follows W3C standards for Verifiable Credentials and enables zkApps. The wallet is the result of our combined experience in application development and modern fintech.</p>
</a>
<div class="card gap-2 p-4 hover:bg-neutral">
<h3>Mangan</h3>
<p class="text-primary">Mangan is a all-in-one zkApp built on top of Pallad and Mina Protocol to gamify Pallad's user experience and allow earning rewards for the activity. Future releases include social features and multisig.</p>
</div>
<div class="card gap-2 p-4 hover:bg-neutral">
<h3>Klesia</h3>
<p class="text-primary">Klesia is a JSON-RPC wrapper over various Mina Protocol tools and APIs to provide best in class experience for Mina Protocol developers. Currently being internal tool for Pallad and Mangan.</p>
</div>
</section>
<section class="flex flex-col">
<h2 class="mx-4">Open Source</h2>
<a href="https://github.com/palladians/mina-js" target="_blank" rel="noopener noreferrer" class="card gap-2 p-4 hover:bg-neutral mt-4">
<h3>MinaJS</h3>
<p class="text-primary">MinaJS is a library designed to provide type safe interfaces for zkApp developers building on Mina Protocol. It's packed with tools to consume Pallad's Web Connector interface.</p>
</a>
</section>
<section class="flex flex-col mx-4 gap-4">
<h2>Next Step</h2>
<p class="text-primary">Book a call today and learn how we can help you build user-friendly Web3 applications that will reach your target audience and drive results.</p>
</section>
<Footer />
</MainLayout>
47 changes: 47 additions & 0 deletions tailwind.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
/** @type {import('tailwindcss').Config} */
export default {
daisyui: {
themes: [
{
rosepine: {
primary: "#c4a7e7",
secondary: "#ebbcba",
accent: "#f6c177",
neutral: "#1f1d2e",
"base-100": "#191724",
info: "#31748f",
success: "#9ccfd8",
warning: "#f6c177",
error: "#eb6f92",
},
"rosepine-moon": {
primary: "#c4a7e7",
secondary: "#ea9a97",
accent: "#c4a7e7",
neutral: "#2a273f",
"base-100": "#232136",
info: "#3e8fb0",
success: "#9ccfd8",
warning: "#f6c177",
error: "#eb6f92",
},
"rosepine-dawn": {
primary: "#907aa9",
secondary: "#d7827e",
accent: "#907aa9",
neutral: "#faf4ed",
"base-100": "#fffaf3",
info: "#286983",
success: "#56949f",
warning: "#ea9d34",
error: "#b4637a",
},
},
],
},
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
theme: {
extend: {},
},
plugins: [require("daisyui")],
};
3 changes: 3 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "astro/tsconfigs/strictest"
}

0 comments on commit 8caad6a

Please sign in to comment.