mirror of
https://github.com/spark-store-project/spark-store-abyss
synced 2025-12-18 21:31:38 +08:00
feat: 首页 section6 响应式设计
This commit is contained in:
131
pages/index.vue
131
pages/index.vue
@@ -364,7 +364,7 @@ const latestRelease = inject<Ref<Release>>("latestRelease");
|
|||||||
}"
|
}"
|
||||||
/>
|
/>
|
||||||
<h2
|
<h2
|
||||||
class="text-2xl md:text-4xl lg:text-5xl text-primary-color font-bold leading-[1.3] dark:text-primary-400"
|
class="text-2xl sm:text-3xl md:text-4xl lg:text-5xl text-primary-color font-bold leading-[1.3] dark:text-primary-400"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="font-(family-name:--s-title-font) text-primary-400 font-normal dark:opacity-50"
|
class="font-(family-name:--s-title-font) text-primary-400 font-normal dark:opacity-50"
|
||||||
@@ -379,11 +379,17 @@ const latestRelease = inject<Ref<Release>>("latestRelease");
|
|||||||
<div
|
<div
|
||||||
class="flex flex-col py-0 sm:py-8 lg:py-12 gap-6 items-center sm:items-start"
|
class="flex flex-col py-0 sm:py-8 lg:py-12 gap-6 items-center sm:items-start"
|
||||||
>
|
>
|
||||||
<div class="flex flex-col items-center sm:items-start">
|
<div
|
||||||
<p class="text-3xl md:text-4xl lg:text-5xl leading-[1.5]">
|
class="flex flex-col text-center sm:text-start items-center sm:items-start"
|
||||||
|
>
|
||||||
|
<p
|
||||||
|
class="text-2xl sm:text-3xl md:text-4xl lg:text-5xl leading-[1.5]"
|
||||||
|
>
|
||||||
凝聚开发者智慧
|
凝聚开发者智慧
|
||||||
</p>
|
</p>
|
||||||
<p class="text-3xl md:text-4xl lg:text-5xl font-bold leading-[1.5]">
|
<p
|
||||||
|
class="text-2xl sm:text-3xl md:text-4xl lg:text-5xl font-bold leading-[1.5] whitespace-nowrap"
|
||||||
|
>
|
||||||
以开源精神守护应用品质
|
以开源精神守护应用品质
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
@@ -460,7 +466,7 @@ const latestRelease = inject<Ref<Release>>("latestRelease");
|
|||||||
}"
|
}"
|
||||||
/>
|
/>
|
||||||
<h2
|
<h2
|
||||||
class="text-2xl md:text-4xl lg:text-5xl text-primary-color font-bold leading-[1.3] dark:text-primary-400"
|
class="text-2xl sm:text-3xl md:text-4xl lg:text-5xl text-primary-color font-bold leading-[1.3] dark:text-primary-400"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="font-(family-name:--s-title-font) text-primary-400 font-normal dark:opacity-50"
|
class="font-(family-name:--s-title-font) text-primary-400 font-normal dark:opacity-50"
|
||||||
@@ -485,11 +491,17 @@ const latestRelease = inject<Ref<Release>>("latestRelease");
|
|||||||
<div
|
<div
|
||||||
class="flex flex-col py-0 sm:py-8 lg:py-12 gap-6 items-center sm:items-start"
|
class="flex flex-col py-0 sm:py-8 lg:py-12 gap-6 items-center sm:items-start"
|
||||||
>
|
>
|
||||||
<div class="flex flex-col items-center sm:items-start">
|
<div
|
||||||
<p class="text-3xl md:text-4xl lg:text-5xl leading-[1.5]">
|
class="flex flex-col text-center sm:text-start items-center sm:items-start"
|
||||||
|
>
|
||||||
|
<p
|
||||||
|
class="text-2xl sm:text-3xl md:text-4xl lg:text-5xl leading-[1.5]"
|
||||||
|
>
|
||||||
下载「黑科技」
|
下载「黑科技」
|
||||||
</p>
|
</p>
|
||||||
<p class="text-3xl md:text-4xl lg:text-5xl font-bold leading-[1.5]">
|
<p
|
||||||
|
class="text-2xl sm:text-3xl md:text-4xl lg:text-5xl font-bold leading-[1.5] whitespace-nowrap"
|
||||||
|
>
|
||||||
APTSS 重构智能网络
|
APTSS 重构智能网络
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
@@ -508,8 +520,12 @@ const latestRelease = inject<Ref<Release>>("latestRelease");
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section class="flex flex-col items-center justify-center gap-10 pt-15">
|
<section
|
||||||
<div class="flex items-center justify-center gap-6">
|
class="flex flex-col items-center justify-center gap-8 lg:gap-10 px-8 pb-24 pt-24"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="flex items-center justify-center self-start sm:self-center gap-6"
|
||||||
|
>
|
||||||
<Icon
|
<Icon
|
||||||
name="s:convenience"
|
name="s:convenience"
|
||||||
class="s-deco-secondary-700 s-bg-secondary-100 s-bg-2-secondary-200 s-bg-3-secondary-400 dark:s-deco-primary-400 dark:s-bg-primary-800 dark:s-bg-2-secondary-600 dark:s-bg-3-primary-900"
|
class="s-deco-secondary-700 s-bg-secondary-100 s-bg-2-secondary-200 s-bg-3-secondary-400 dark:s-deco-primary-400 dark:s-bg-primary-800 dark:s-bg-2-secondary-600 dark:s-bg-3-primary-900"
|
||||||
@@ -520,7 +536,7 @@ const latestRelease = inject<Ref<Release>>("latestRelease");
|
|||||||
}"
|
}"
|
||||||
/>
|
/>
|
||||||
<h2
|
<h2
|
||||||
class="text-5xl text-primary-color font-bold leading-[1.3] dark:text-primary-400"
|
class="text-2xl sm:text-3xl md:text-4xl lg:text-5xl text-primary-color font-bold leading-[1.3] dark:text-primary-400"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="font-(family-name:--s-title-font) text-primary-400 font-normal dark:opacity-50"
|
class="font-(family-name:--s-title-font) text-primary-400 font-normal dark:opacity-50"
|
||||||
@@ -528,17 +544,29 @@ const latestRelease = inject<Ref<Release>>("latestRelease");
|
|||||||
><br />一键安装 即刻掌控
|
><br />一键安装 即刻掌控
|
||||||
</h2>
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex gap-16">
|
<div
|
||||||
|
class="flex gap-4 lg:gap-16 max-w-full flex-col-reverse sm:flex-row items-center grow-1 sm:grow-0"
|
||||||
|
>
|
||||||
<!--左侧内容区域 -->
|
<!--左侧内容区域 -->
|
||||||
<div class="flex flex-col py-12 gap-6">
|
<div
|
||||||
<div class="flex flex-col">
|
class="flex flex-col py-0 sm:py-8 lg:py-12 gap-6 items-center sm:items-start"
|
||||||
<p class="text-5xl leading-[1.5]">一站式安装体验</p>
|
>
|
||||||
<p class="text-5xl font-bold leading-[1.5]">
|
<div
|
||||||
|
class="flex flex-col text-center sm:text-start items-center sm:items-start"
|
||||||
|
>
|
||||||
|
<p
|
||||||
|
class="text-2xl sm:text-3xl md:text-4xl lg:text-5xl leading-[1.5]"
|
||||||
|
>
|
||||||
|
一站式安装体验
|
||||||
|
</p>
|
||||||
|
<p
|
||||||
|
class="text-2xl sm:text-3xl md:text-4xl lg:text-5xl font-bold leading-[1.5] whitespace-nowrap"
|
||||||
|
>
|
||||||
让技术普惠真正触手可及
|
让技术普惠真正触手可及
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<p
|
<p
|
||||||
class="text-lg text-surface-700 leading-[2] max-w-[31em] dark:text-surface-200"
|
class="text-base sm:text-lg text-center sm:text-start text-surface-700 leading-[2] max-w-[31em] dark:text-surface-200"
|
||||||
>
|
>
|
||||||
星火商店所有程序经过深度适配优化;用户轻点按钮,系统自动完成依赖解析与环境配置,处理复杂软件如搭积木般严丝合缝。从图形应用到编程工具,从
|
星火商店所有程序经过深度适配优化;用户轻点按钮,系统自动完成依赖解析与环境配置,处理复杂软件如搭积木般严丝合缝。从图形应用到编程工具,从
|
||||||
Wine 移植应用到 Android
|
Wine 移植应用到 Android
|
||||||
@@ -557,7 +585,9 @@ const latestRelease = inject<Ref<Release>>("latestRelease");
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section class="flex items-center justify-center gap-6 pt-15">
|
<section
|
||||||
|
class="flex flex-col items-center justify-center gap-8 px-8 pb-24 pt-24"
|
||||||
|
>
|
||||||
<div
|
<div
|
||||||
class="fixed top-0 left-0 w-full h-full z-[-1]"
|
class="fixed top-0 left-0 w-full h-full z-[-1]"
|
||||||
:style="{
|
:style="{
|
||||||
@@ -577,35 +607,48 @@ const latestRelease = inject<Ref<Release>>("latestRelease");
|
|||||||
}"
|
}"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<!-- 左侧内容区域 -->
|
<div class="flex items-center sm:gap-6 max-w-full">
|
||||||
<div class="flex flex-col gap-4 items-start">
|
<!-- 左侧内容区域 -->
|
||||||
<div class="flex items-center gap-4">
|
<div class="flex flex-col gap-4 items-start">
|
||||||
<p class="font-bold text-3xl text-primary-color">星火应用商店</p>
|
<div class="flex flex-col md:flex-row md:items-center md:gap-4">
|
||||||
<p
|
<p class="font-bold text-2xl md:text-3xl text-primary-color">
|
||||||
class="font-bold text-2xl text-secondary-300 font-(family-name:--s-title-font) dark:text-secondary-600"
|
星火应用商店
|
||||||
>
|
</p>
|
||||||
SPARK STORE
|
<p
|
||||||
|
class="font-bold text-lg sm:text-2xl text-secondary-300 font-(family-name:--s-title-font) dark:text-secondary-600"
|
||||||
|
>
|
||||||
|
SPARK STORE
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<p class="text-2xl sm:text-3xl md:text-4xl lg:text-5xl leading-[1.5]">
|
||||||
|
更多精彩,<br />
|
||||||
|
<span class="font-bold whitespace-nowrap">邀您下载体验。</span>
|
||||||
</p>
|
</p>
|
||||||
|
<p
|
||||||
|
class="text-base lg:text-lg leading-[2] text-surface-900 dark:text-surface-200"
|
||||||
|
>
|
||||||
|
Linux
|
||||||
|
软件生态的构建并非依赖个体的孤立努力,而需要全社区共同参与;<br />
|
||||||
|
只有当大家的「星火」聚集一处,方可引发「燎原之势」。
|
||||||
|
</p>
|
||||||
|
<NuxtLink
|
||||||
|
to="/download"
|
||||||
|
class="hidden sm:block px-8 md:px-14 py-3 text-2xl font-bold text-white from-primary-400 to-primary-500 bg-linear-to-r rounded-full dark:from-primary-500 dark:to-primary-600"
|
||||||
|
>
|
||||||
|
<i class="pi pi-download text-xl! font-bold! pr-4" /> 前往下载
|
||||||
|
</NuxtLink>
|
||||||
</div>
|
</div>
|
||||||
<p class="text-5xl leading-[1.5]">
|
<!-- 右侧图片区域 -->
|
||||||
更多精彩,<br />
|
<i
|
||||||
<span class="font-bold">邀您下载体验。</span>
|
class="w-64 h-auto aspect-96/144 sm:w-96 sm:h-144 scale-200 sm:scale-100 translate-x-1/5 sm:translate-x-0 figure-container"
|
||||||
</p>
|
/>
|
||||||
<p class="text-lg leading-[2] text-surface-900 dark:text-surface-200">
|
|
||||||
Linux 软件生态的构建并非依赖个体的孤立努力,而需要全社区共同参与;<br />
|
|
||||||
只有当大家的「星火」聚集一处,方可引发「燎原之势」。
|
|
||||||
</p>
|
|
||||||
<NuxtLink
|
|
||||||
to="/download"
|
|
||||||
class="px-14 py-3 text-2xl font-bold text-white from-primary-400 to-primary-500 bg-linear-to-r rounded-full dark:from-primary-500 dark:to-primary-600"
|
|
||||||
>
|
|
||||||
<i class="pi pi-download text-xl! font-bold! pr-4" /> 前往下载
|
|
||||||
</NuxtLink>
|
|
||||||
</div>
|
|
||||||
<!-- 右侧图片区域 -->
|
|
||||||
<div class="flex items-center">
|
|
||||||
<i class="w-96 h-144 figure-container" />
|
|
||||||
</div>
|
</div>
|
||||||
|
<NuxtLink
|
||||||
|
to="/download"
|
||||||
|
class="sm:hidden px-14 py-3 text-2xl font-bold text-white from-primary-400 to-primary-500 bg-linear-to-r rounded-full dark:from-primary-500 dark:to-primary-600"
|
||||||
|
>
|
||||||
|
<i class="pi pi-download text-xl! font-bold! pr-4" /> 前往下载
|
||||||
|
</NuxtLink>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user