mirror of
https://github.com/zen-browser/www.git
synced 2025-07-08 09:20:00 +02:00
Formatted the project and rebuild mods list
This commit is contained in:
parent
cc65eceab6
commit
5d8c4a5fc3
6 changed files with 29 additions and 35 deletions
|
@ -22,9 +22,9 @@ import Image from 'astro/components/Image.astro'
|
|||
{...getTitleAnimation(0.6)}
|
||||
className="px-4 md:px-24 lg:w-1/2 lg:px-0"
|
||||
>
|
||||
We make it not only a priority, but a necessity to ensure that Zen always provides
|
||||
the best experience for you. We are committed to making Zen the most
|
||||
beautiful, productive, and privacy-focused browser out there.
|
||||
We make it not only a priority, but a necessity to ensure that Zen always
|
||||
provides the best experience for you. We are committed to making Zen the
|
||||
most beautiful, productive, and privacy-focused browser out there.
|
||||
</motion.p>
|
||||
<div
|
||||
class="mt-6 flex w-full flex-wrap gap-3 px-4 sm:gap-10 sm:px-0 md:justify-center"
|
||||
|
|
|
@ -10,7 +10,11 @@ import SplitViewsVideo from '../assets/SplitViews.mp4'
|
|||
|
||||
import Video from './Video.astro'
|
||||
|
||||
const { title1 = 'Productivity', title2 = 'at', title3 = 'its best' } = Astro.props
|
||||
const {
|
||||
title1 = 'Productivity',
|
||||
title2 = 'at',
|
||||
title3 = 'its best',
|
||||
} = Astro.props
|
||||
---
|
||||
|
||||
<section
|
||||
|
@ -21,7 +25,9 @@ const { title1 = 'Productivity', title2 = 'at', title3 = 'its best' } = Astro.pr
|
|||
<motion.span client:load {...getTitleAnimation(0.2)}>
|
||||
{title1}
|
||||
</motion.span>
|
||||
<motion.span client:load {...getTitleAnimation(0.4)}> {title2} </motion.span>
|
||||
<motion.span client:load {...getTitleAnimation(0.4)}>
|
||||
{title2}
|
||||
</motion.span>
|
||||
<motion.span client:load {...getTitleAnimation(0.6)}>
|
||||
{title3}
|
||||
</motion.span>
|
||||
|
@ -31,7 +37,9 @@ const { title1 = 'Productivity', title2 = 'at', title3 = 'its best' } = Astro.pr
|
|||
Browsers should be tools that help you get things done, not distractions
|
||||
that keep you from your work.
|
||||
</motion.p>
|
||||
<div class="mt-6 flex flex-col justify-between gap-2 lg:flex-row mb-12 lg:mb-0">
|
||||
<div
|
||||
class="mb-12 mt-6 flex flex-col justify-between gap-2 lg:mb-0 lg:flex-row"
|
||||
>
|
||||
<div
|
||||
id="features-list"
|
||||
class="relative flex w-full flex-col gap-3 md:flex-row lg:w-1/3 lg:flex-col"
|
||||
|
@ -68,8 +76,8 @@ const { title1 = 'Productivity', title2 = 'at', title3 = 'its best' } = Astro.pr
|
|||
>
|
||||
<Description class="text-2xl font-bold">Glance</Description>
|
||||
<Description>
|
||||
Zen's Glance lets you preview tabs without switching to them,
|
||||
so you can quickly find the page you're looking for.
|
||||
Zen's Glance lets you preview tabs without switching to them, so you
|
||||
can quickly find the page you're looking for.
|
||||
</Description>
|
||||
</motion.div>
|
||||
<motion.div
|
||||
|
@ -80,8 +88,8 @@ const { title1 = 'Productivity', title2 = 'at', title3 = 'its best' } = Astro.pr
|
|||
>
|
||||
<Description class="text-2xl font-bold">Split View</Description>
|
||||
<Description>
|
||||
Zen's Split View lets you view up to 4 tabs side by side, so you
|
||||
can compare information or multitask easily.
|
||||
Zen's Split View lets you view up to 4 tabs side by side, so you can
|
||||
compare information or multitask easily.
|
||||
</Description>
|
||||
</motion.div>
|
||||
</div>
|
||||
|
@ -137,8 +145,8 @@ const { title1 = 'Productivity', title2 = 'at', title3 = 'its best' } = Astro.pr
|
|||
'loadeddata',
|
||||
() => {
|
||||
const videoParentRect = video.parentElement?.getBoundingClientRect()
|
||||
const videoRect = video.getBoundingClientRect();
|
||||
const originalY = video.style.transform;
|
||||
const videoRect = video.getBoundingClientRect()
|
||||
const originalY = video.style.transform
|
||||
// Always make the video fit the parent
|
||||
let y =
|
||||
rect.top -
|
||||
|
@ -158,7 +166,7 @@ const { title1 = 'Productivity', title2 = 'at', title3 = 'its best' } = Astro.pr
|
|||
y = rect.height * index - videoRect.height / 2 + 25
|
||||
}
|
||||
}
|
||||
video.remove();
|
||||
video.remove()
|
||||
animate(
|
||||
videoCopy,
|
||||
{
|
||||
|
|
|
@ -7,10 +7,6 @@ import Features from '../components/Features.astro'
|
|||
<main
|
||||
class="relative mx-auto flex flex-col items-center gap-24 px-6 lg:px-24 xl:flex-row"
|
||||
>
|
||||
<Features
|
||||
title1="Welcome"
|
||||
title2="to"
|
||||
title3="Zen!"
|
||||
/>
|
||||
<Features title1="Welcome" title2="to" title3="Zen!" />
|
||||
</main>
|
||||
</Layout>
|
||||
|
|
|
@ -11,7 +11,7 @@ import Video from '../components/Video.astro'
|
|||
|
||||
import whatsNewVideo from '../assets/whats-new.mp4'
|
||||
|
||||
const latestVersion = releaseNotes[0];
|
||||
const latestVersion = releaseNotes[0]
|
||||
---
|
||||
|
||||
<Layout title="What's New - Zen Browser">
|
||||
|
|
|
@ -363,9 +363,7 @@
|
|||
"version": "1.0.0-a.13",
|
||||
"date": "05/08/2024",
|
||||
"extra": "This is a smaller release to fix some bugs and improve some small details.\n\nIm going to try doing more frequent releases from now on, see how it goes.",
|
||||
"features": [
|
||||
"Allow to remember sidebar width even after collapsing it."
|
||||
],
|
||||
"features": ["Allow to remember sidebar width even after collapsing it."],
|
||||
"fixes": [
|
||||
{
|
||||
"description": "Task Manager Icon Missing in Flatpak Version",
|
||||
|
@ -921,9 +919,7 @@
|
|||
"image": true,
|
||||
"workflowId": 11000317603,
|
||||
"extra": "This update addresses some significant issues with the previous release.\n\nWe appreciate your patience and support!",
|
||||
"features": [
|
||||
"Added a new system for handling keyboard shortcuts"
|
||||
],
|
||||
"features": ["Added a new system for handling keyboard shortcuts"],
|
||||
"fixes": [
|
||||
{
|
||||
"description": "The New Tab button is not visible",
|
||||
|
@ -980,9 +976,7 @@
|
|||
"Enabled container tabs by default",
|
||||
"Improved Expand Tabs on Hover layout"
|
||||
],
|
||||
"themeChanges": [
|
||||
"Toggle inputs will not use the themed tertiary color"
|
||||
],
|
||||
"themeChanges": ["Toggle inputs will not use the themed tertiary color"],
|
||||
"breakingChanges": [
|
||||
"The keyboard shortcuts will be overriden by the defaults ones in this update"
|
||||
],
|
||||
|
@ -1279,9 +1273,7 @@
|
|||
"issue": 2156
|
||||
}
|
||||
],
|
||||
"breakingChanges": [
|
||||
"Removed Show Expand Button option from settings"
|
||||
],
|
||||
"breakingChanges": ["Removed Show Expand Button option from settings"],
|
||||
"themeChanges": [
|
||||
"The variable '--zen-main-browser-background' will now contain the generated gradient",
|
||||
"Added the 'unread' attribute for background tabs that haven't been accessed yet"
|
||||
|
@ -1384,9 +1376,7 @@
|
|||
"description": "Fixed wrong aligment on glance action buttons"
|
||||
}
|
||||
],
|
||||
"features": [
|
||||
"No new features, sorry"
|
||||
]
|
||||
"features": ["No new features, sorry"]
|
||||
},
|
||||
{
|
||||
"version": "1.0.1-a.17",
|
||||
|
|
|
@ -4,4 +4,4 @@
|
|||
"extra": "",
|
||||
"fixes": [],
|
||||
"features": []
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue