From 78abccd3316404cf6394ba6432988001af2817b8 Mon Sep 17 00:00:00 2001 From: Julian Cataldo Date: Fri, 10 Mar 2023 19:19:34 +0100 Subject: [PATCH] fix: typos, round image corners, full width Also added markdown support in tailwind extension settings --- .vscode/settings.json | 3 ++- README.md | 10 +++++----- package.json | 2 +- src/consts.ts | 2 +- src/pages/index.astro | 9 +++++++-- tailwind.config.cjs | 2 +- 6 files changed, 17 insertions(+), 11 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index ac39ab4..a66fe4b 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -7,7 +7,8 @@ /* —————————————————————————————— Tailwind ———————————————————————————————— */ "tailwindCSS.includeLanguages": { /* Adds class inlay hints inside `.astro` templates (acts as HTML) */ - "astro": "html" + "astro": "html", + "md": "html" }, /* —————————————————————————————— ESLint —————————————————————————————————— */ diff --git a/README.md b/README.md index a3b4f2b..0a7e60f 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ GitHub issues closed -[![Flowbite Admin Dashboard Live Preview](https://flowbite.s3.amazonaws.com/templates/flowbite-admin-dashboard/flowbite-admin-dashboard-preview.png)](https://themesberg.github.io/flowbite-astro-admin-dashboard/) +Flowbite Admin Dashboard Live Preview This project is a free and open-source UI admin dashboard template built with the components from [Flowbite](https://github.com/themesberg/flowbite) and based on the utility-first [Tailwind CSS](https://github.com/tailwindlabs/tailwindcss) framework featuring charts, tables, widgets, CRUD layouts, modals, drawers, and more. @@ -65,16 +65,16 @@ It comes with sensible defaults, a bit of opinions, plus some tricks to make it - **Editorconfig**: conforming with prettier - **VS Code**: extensions recommendations, tooling settings - **Tailwind**: Astro integration (using Vite and PostCSS) -- **Flowbite**: Dependencies (core, typography), settings +- **Flowbite**: dependencies (core, typography), settings - **GitHub**: a [pre-configured workflow](./.github/workflows/demo.yaml) for deployment (using PNPM cache) - **Sandboxes**: project is tested against and fully compatible with web containers Feel free to hack those settings to cater for your own needs.
-ide-tooling -gh-workflow -gh-workflow +gh-workflow +ide-tooling +gh-workflow
## Table of Contents diff --git a/package.json b/package.json index 020790e..c375630 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "flowbite-astro-admin-dashboard", - "version": "0.0.3", + "version": "0.0.4", "private": "true", "description": "A free and open-source admin dashboard template built with Tailwind CSS, Flowbite and Astro", "keywords": [ diff --git a/src/consts.ts b/src/consts.ts index b0e550a..9a451ab 100644 --- a/src/consts.ts +++ b/src/consts.ts @@ -1,6 +1,6 @@ export const API_URL = `${import.meta.env.SITE}${import.meta.env.BASE_URL}api/`; -export const SITE_TITLE = 'Flowbite Astro Admin Dashboard'; +export const SITE_TITLE = 'Flowbite Astro Admin Dashboard'; /* Useful flag for sourcing from `./data` entirely, disabling randomize layer */ export const RANDOMIZE = Boolean(import.meta.env.RANDOMIZE) || true; diff --git a/src/pages/index.astro b/src/pages/index.astro index 821bbac..5f372b6 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -7,6 +7,7 @@ import AstroLogo from '../assets/astro-icon-light.svg?raw'; import FlowbiteLogo from '../assets/flowbite-logo.svg?raw'; import * as readMe from '../../README.md'; +import { SITE_TITLE } from '../consts.js'; --- @@ -60,8 +61,11 @@ https://github.com/themesberg/flowbite-astro-admin-dashboard.git`}
-
-

{readMe.getHeadings()[0].text}

+
+

+ + {SITE_TITLE} +


@@ -77,6 +81,7 @@ https://github.com/themesberg/flowbite-astro-admin-dashboard.git`}