v4 upgrade
This commit is contained in:
@@ -2,9 +2,10 @@ import { defineConfig } from "astro/config";
|
|||||||
import tailwind from "@astrojs/tailwind";
|
import tailwind from "@astrojs/tailwind";
|
||||||
import mdx from "@astrojs/mdx";
|
import mdx from "@astrojs/mdx";
|
||||||
import sitemap from "@astrojs/sitemap";
|
import sitemap from "@astrojs/sitemap";
|
||||||
|
import icon from "astro-icon";
|
||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
site: "https://astroship.web3templates.com",
|
site: "https://astroship.web3templates.com",
|
||||||
integrations: [tailwind(), mdx(), sitemap()],
|
integrations: [tailwind(), mdx(), sitemap(), icon()],
|
||||||
});
|
});
|
||||||
|
|||||||
28
package.json
28
package.json
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "astroship",
|
"name": "astroship",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.0.2",
|
"version": "1.2.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "astro dev",
|
"dev": "astro dev",
|
||||||
@@ -11,16 +11,20 @@
|
|||||||
"astro": "astro"
|
"astro": "astro"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/mdx": "^1.1.5",
|
"@astrojs/mdx": "^3.0.1",
|
||||||
"@astrojs/sitemap": "^3.0.3",
|
"@astrojs/sitemap": "^3.1.5",
|
||||||
"@astrojs/tailwind": "^5.0.2",
|
"@astrojs/tailwind": "^5.1.0",
|
||||||
"@fontsource-variable/inter": "^5.0.15",
|
"@fontsource-variable/bricolage-grotesque": "^5.0.6",
|
||||||
"@tailwindcss/typography": "^0.5.10",
|
"@fontsource-variable/inter": "^5.0.18",
|
||||||
"astro": "^3.5.5",
|
"@iconify-json/bx": "^1.1.10",
|
||||||
"astro-icon": "^0.8.1",
|
"@iconify-json/simple-icons": "^1.1.102",
|
||||||
"astro-navbar": "^2.3.0",
|
"@iconify-json/uil": "^1.1.8",
|
||||||
"astro-seo": "^0.8.0",
|
"@tailwindcss/typography": "^0.5.13",
|
||||||
"sharp": "^0.33.0",
|
"astro": "^4.8.7",
|
||||||
"tailwindcss": "^3.3.5"
|
"astro-icon": "^1.1.0",
|
||||||
|
"astro-navbar": "^2.3.2",
|
||||||
|
"astro-seo": "^0.8.3",
|
||||||
|
"sharp": "^0.33.4",
|
||||||
|
"tailwindcss": "^3.4.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
4327
pnpm-lock.yaml
generated
4327
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import { Icon } from "astro-icon";
|
import { Icon } from "astro-icon/components";
|
||||||
|
|
||||||
const features = [
|
const features = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
import { Picture } from "astro:assets";
|
import { Picture } from "astro:assets";
|
||||||
import heroImage from "assets/hero.png";
|
import heroImage from "assets/hero.png";
|
||||||
import Link from "@components/ui/link.astro";
|
import Link from "@components/ui/link.astro";
|
||||||
import { Icon } from "astro-icon";
|
import { Icon } from "astro-icon/components";
|
||||||
---
|
---
|
||||||
|
|
||||||
<main
|
<main
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
---
|
---
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import { Icon } from "astro-icon";
|
import { Icon } from "astro-icon/components";
|
||||||
---
|
---
|
||||||
|
|
||||||
<div class="mt-24">
|
<div class="mt-24">
|
||||||
<h2 class="text-center text-slate-500">Works with your technologies</h2>
|
<h2 class="text-center text-slate-500">Works with your technologies</h2>
|
||||||
<div class="flex gap-8 md:gap-20 items-center justify-center mt-10 flex-wrap">
|
<div class="flex gap-8 md:gap-20 items-center justify-center mt-10 flex-wrap">
|
||||||
<Icon class="h-8 md:h-12" name="simple-icons:react" />
|
|
||||||
<Icon class="h-8 md:h-12" name="simple-icons:svelte" />
|
<Icon class="size-8 md:size-12" name="simple-icons:react" />
|
||||||
<Icon class="h-8 md:h-14" name="simple-icons:tailwindcss" />
|
<Icon class="size-8 md:size-12" name="simple-icons:svelte" />
|
||||||
<Icon class="h-8 md:h-16" name="simple-icons:alpinedotjs" />
|
<Icon class="size-8 md:size-12" name="simple-icons:astro" />
|
||||||
<Icon class="h-8 md:h-12" name="simple-icons:vercel" />
|
<Icon class="size-8 md:size-16" name="simple-icons:tailwindcss" />
|
||||||
<Icon class="h-8 md:h-12" name="simple-icons:astro" />
|
<Icon class="size-8 md:size-16" name="simple-icons:alpinedotjs" />
|
||||||
|
<Icon class="size-8 md:size-12" name="simple-icons:vercel" />
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -3,6 +3,9 @@ import { SEO } from "astro-seo";
|
|||||||
import Footer from "@components/footer.astro";
|
import Footer from "@components/footer.astro";
|
||||||
import Navbar from "@components/navbar/navbar.astro";
|
import Navbar from "@components/navbar/navbar.astro";
|
||||||
import "@fontsource-variable/inter/index.css";
|
import "@fontsource-variable/inter/index.css";
|
||||||
|
import '@fontsource-variable/bricolage-grotesque';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export interface Props {
|
export interface Props {
|
||||||
title: string;
|
title: string;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import Contactform from "@components/contactform.astro";
|
|||||||
import Container from "@components/container.astro";
|
import Container from "@components/container.astro";
|
||||||
import Sectionhead from "@components/sectionhead.astro";
|
import Sectionhead from "@components/sectionhead.astro";
|
||||||
import Layout from "@layouts/Layout.astro";
|
import Layout from "@layouts/Layout.astro";
|
||||||
import { Icon } from "astro-icon";
|
import { Icon } from "astro-icon/components";
|
||||||
---
|
---
|
||||||
|
|
||||||
<Layout title="Contact">
|
<Layout title="Contact">
|
||||||
|
|||||||
@@ -5,7 +5,12 @@ module.exports = {
|
|||||||
theme: {
|
theme: {
|
||||||
extend: {
|
extend: {
|
||||||
fontFamily: {
|
fontFamily: {
|
||||||
sans: ["Inter Variable", "Inter", ...defaultTheme.fontFamily.sans],
|
sans: [
|
||||||
|
"Bricolage Grotesque Variable",
|
||||||
|
"Inter Variable",
|
||||||
|
"Inter",
|
||||||
|
...defaultTheme.fontFamily.sans,
|
||||||
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user