Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions code/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- [#255](https://github.com/InditexTech/weavejs/issues/255) Update documentation images and favicon

## [0.14.3] - 2025-05-21

### Fixed
Expand Down
Binary file modified docs/app/(home)/main.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
63 changes: 46 additions & 17 deletions docs/app/(home)/page-components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,22 @@ import Feature3Img from "@/public/images/feature_3.png";
import Feature3DarkImg from "@/public/images/feature_3_dark.png";
import Feature4Img from "@/public/images/feature_4.png";
import Feature4DarkImg from "@/public/images/feature_4_dark.png";
import { useTheme } from "next-themes";
import { cn } from "@/lib/utils";
import { LinkButton } from "./page.client";

export function Architecture() {
const { theme } = useTheme();

return (
<div className="max-w-[1200px] rounded-b-md grid grid-cols-1 px-3 md:px-0 md:grid-cols-2 gap-[80px] border-0 px-0 py-0 md:py-0 pt-[64px] md:pt-[188px] lg:flex-col md:px-0">
<div className="md:hidden mx-3 flex justify-center items-center">
<Image
src={theme === "dark" ? LayersDarkImg : LayersImg}
src={LayersDarkImg}
alt="Architecture"
className="w-full h-auto max-w-[450px] hidden dark:block"
/>
<Image
src={LayersImg}
alt="Architecture"
className="w-full h-auto max-w-[450px]"
className="w-full h-auto max-w-[450px] block dark:hidden"
/>
</div>
<div>
Expand Down Expand Up @@ -60,18 +62,21 @@ export function Architecture() {
</div>
<div className="hidden md:flex justify-center items-center">
<Image
src={theme === "dark" ? LayersDarkImg : LayersImg}
src={LayersDarkImg}
alt="Architecture"
className="w-full h-auto max-w-[450px] hidden dark:block"
/>
<Image
src={LayersImg}
alt="Architecture"
className="w-full h-auto max-w-[450px]"
className="w-full h-auto max-w-[450px] block dark:hidden"
/>
</div>
</div>
);
}

export function Features() {
const { theme } = useTheme();

return (
<div className="max-w-[1200px] mt-[128px] flex flex-col">
<div className="col-span-2">
Expand Down Expand Up @@ -101,9 +106,15 @@ export function Features() {
<div className="w-full mb-0 flex flex-col justify-center items-center">
<Image
alt="UI Framework Agnostic"
src={theme === "dark" ? Feature1DarkImg : Feature1Img}
src={Feature1DarkImg}
sizes="800px"
className="w-full min-w-[400px] max-h-[400px] object-contain hidden dark:block"
/>
<Image
alt="UI Framework Agnostic"
src={Feature1Img}
sizes="800px"
className="w-full min-w-[400px] max-h-[400px] object-contain"
className="w-full min-w-[400px] max-h-[400px] object-contain block dark:hidden"
/>
</div>
</Feature>
Expand All @@ -126,9 +137,15 @@ export function Features() {
<div className="w-full mb-0 flex flex-col justify-center items-center">
<Image
alt="Powerful Abstractions"
src={theme === "dark" ? Feature2DarkImg : Feature2Img}
src={Feature2DarkImg}
sizes="800px"
className="w-full min-w-[400px] max-h-[400px] object-contain"
className="w-full min-w-[400px] max-h-[400px] object-contain hidden dark:block"
/>
<Image
alt="Powerful Abstractions"
src={Feature2Img}
sizes="800px"
className="w-full min-w-[400px] max-h-[400px] object-contain block dark:hidden"
/>
</div>
</Feature>
Expand All @@ -148,9 +165,15 @@ export function Features() {
<div className="w-full mb-0 flex flex-col justify-center items-center">
<Image
alt="Source"
src={theme === "dark" ? Feature3DarkImg : Feature3Img}
src={Feature3DarkImg}
sizes="600px"
className="w-full min-w-[400px] max-h-[400px] object-contain hidden dark:block"
/>
<Image
alt="Source"
src={Feature3Img}
sizes="600px"
className="w-full min-w-[400px] max-h-[400px] object-contain"
className="w-full min-w-[400px] max-h-[400px] object-contain block dark:hidden"
/>
</div>
</Feature>
Expand All @@ -172,9 +195,15 @@ export function Features() {
<div className="w-full mb-0 flex flex-col justify-center items-center">
<Image
alt="Source"
src={theme === "dark" ? Feature4DarkImg : Feature4Img}
src={Feature4DarkImg}
sizes="600px"
className="w-full min-w-[400px] max-h-[400px] object-contain block dark:hidden"
/>
<Image
alt="Source"
src={Feature4Img}
sizes="600px"
className="w-full min-w-[400px] max-h-[400px] object-contain"
className="w-full min-w-[400px] max-h-[400px] object-contain hidden dark:block"
/>
</div>
</Feature>
Expand Down
Binary file added docs/app/favicon.ico
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/app/layout.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const logo = (
alt="Weave.js"
src={Logo}
sizes="100px"
className="w-8 md:w-8 [.uwu_&]:block"
className="w-[40px] md:w-[40px] [.uwu_&]:block invert-0 dark:invert-100"
aria-label="Weave.js"
/>
</>
Expand All @@ -36,7 +36,7 @@ export const baseOptions: BaseLayoutProps = {
title: (
<>
{logo}
<span className="font-light [.uwu_&]:hidden [header_&]:text-[20px]">
<span className="font-extralight [.uwu_&]:hidden [header_&]:text-[18px]">
Weave.js
</span>
</>
Expand Down
1 change: 1 addition & 0 deletions docs/content/docs/main/changelog/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ description: Check out the latest changes to Weave.js.

## Pre-release versions

- [**0.14.4**](/docs/main/changelog/prerelease/0.14.4)
- [**0.14.3**](/docs/main/changelog/prerelease/0.14.3)
- [**0.14.2**](/docs/main/changelog/prerelease/0.14.2)
- [**0.14.1**](/docs/main/changelog/prerelease/0.14.1)
Expand Down
12 changes: 12 additions & 0 deletions docs/content/docs/main/changelog/prerelease/0.14.4.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: v0.14.4
description: Documentation changes, create-app UI changes and some bugfixes
---

## Metadata

- **Release date**: 2025-05-21

### Changed

- [#255](https://github.com/InditexTech/weavejs/issues/255) Update documentation images and favicon
1 change: 1 addition & 0 deletions docs/content/docs/main/changelog/prerelease/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"title": "Prerelease versions",
"description": "Detailed changelog for Weave.js pre-release versions",
"pages": [
"0.14.4",
"0.14.3",
"0.14.2",
"0.14.1",
Expand Down
Binary file modified docs/public/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading