8 Commits

Author SHA1 Message Date
21952738fa 🐛 Fix locale duplicate prefix in layout 2025-11-30 15:30:38 +08:00
17bbae1ab2 💄 Optimize experience of multilang 2025-11-30 15:28:56 +08:00
16ece63ae2 Globalization 2025-11-30 15:24:31 +08:00
83b16b1cf4 🐛 Bug fixes in product catalog 2025-11-30 14:30:47 +08:00
5cf9d5e541 Redesigned solar network page 2025-11-30 14:19:23 +08:00
da9e789ca9 ♻️ Content based about page 2025-11-30 13:42:18 +08:00
ed306ae554 New landing page 2025-11-30 13:27:58 +08:00
2598f6c112 ♻️ Migrated to new UI 2025-11-30 03:10:12 +08:00
20 changed files with 17572 additions and 1572 deletions

View File

@@ -1,8 +1,5 @@
<template>
<n-config-provider
:theme-overrides="themeOverrides"
:theme="theme.value === 'dark' ? darkTheme : lightTheme"
>
<naive-config :data-theme="colorMode.colorMode.value">
<n-global-style />
<n-loading-bar-provider>
<n-dialog-provider>
@@ -13,33 +10,20 @@
</n-message-provider>
</n-dialog-provider>
</n-loading-bar-provider>
</n-config-provider>
</naive-config>
</template>
<script setup lang="ts">
import {
darkTheme,
lightTheme,
NConfigProvider,
NGlobalStyle,
NLoadingBarProvider,
NDialogProvider,
NMessageProvider,
} from "naive-ui";
import '@fontsource-variable/nunito';
import "@fontsource-variable/nunito";
const themeOverrides = {
common: {
fontFamily: "Nunito Variable, v-sans, ui-system, -apple-system, sans-serif",
primaryColor: "#7D80BAFF",
primaryColorHover: "#9294C5FF",
primaryColorPressed: "#575B9DFF",
primaryColorSuppl: "#6B6FC1FF",
},
};
const theme = useColorMode();
const colorMode = useNaiveColorMode();
</script>
<style>
@@ -47,7 +31,9 @@ html,
body {
padding: 0;
margin: 0;
font-family: Nunito Variable, sans-serif;
font-family:
Nunito Variable,
sans-serif;
scroll-behavior: smooth;
}

29
app/assets/css/main.css Normal file
View File

@@ -0,0 +1,29 @@
@import "tailwindcss";
@plugin "daisyui";
@plugin "@tailwindcss/typography";
@layer theme, base, components, utilities;
@import "tailwindcss/theme.css" layer(theme);
@import "tailwindcss/utilities.css" layer(utilities);
@layer base {
:root {
--font-family: "Nunito Variable", "Helvatica", sans-serif;
}
html,
body {
font-family: var(--font-family);
}
}
.page-enter-active,
.page-leave-active {
transition: all 0.4s;
}
.page-enter-from,
.page-leave-to {
opacity: 0;
filter: blur(1rem);
}

13
app/auto-imports.d.ts vendored Normal file
View File

@@ -0,0 +1,13 @@
/* eslint-disable */
/* prettier-ignore */
// @ts-nocheck
// noinspection JSUnusedGlobalSymbols
// Generated by unplugin-auto-import
// biome-ignore lint: disable
export {}
declare global {
const useDialog: typeof import('naive-ui').useDialog
const useLoadingBar: typeof import('naive-ui').useLoadingBar
const useMessage: typeof import('naive-ui').useMessage
const useNotification: typeof import('naive-ui').useNotification
}

36
app/components.d.ts vendored Normal file
View File

@@ -0,0 +1,36 @@
/* eslint-disable */
// @ts-nocheck
// biome-ignore lint: disable
// oxlint-disable
// ------
// Generated by unplugin-vue-components
// Read more: https://github.com/vuejs/core/pull/3399
import { GlobalComponents } from 'vue'
export {}
/* prettier-ignore */
declare module 'vue' {
export interface GlobalComponents {
NAvatar: typeof import('naive-ui')['NAvatar']
NButton: typeof import('naive-ui')['NButton']
NCard: typeof import('naive-ui')['NCard']
NIcon: typeof import('naive-ui')['NIcon']
NPopover: typeof import('naive-ui')['NPopover']
NTag: typeof import('naive-ui')['NTag']
RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView']
}
}
// For TSX support
declare global {
const NAvatar: typeof import('naive-ui')['NAvatar']
const NButton: typeof import('naive-ui')['NButton']
const NCard: typeof import('naive-ui')['NCard']
const NIcon: typeof import('naive-ui')['NIcon']
const NPopover: typeof import('naive-ui')['NPopover']
const NTag: typeof import('naive-ui')['NTag']
const RouterLink: typeof import('vue-router')['RouterLink']
const RouterView: typeof import('vue-router')['RouterView']
}

View File

@@ -1,53 +1,196 @@
<template>
<n-layout class="h-screen">
<n-layout-header class="app-bar-blur">
<div class="flex justify-between items-center container mx-auto">
<router-link to="/" class="text-lg font-bold"> Solsynth </router-link>
<div class="flex gap-3">
<router-link to="/terms" class="text-md font-bold">
Legal
</router-link>
<div class="flex flex-col min-h-screen">
<header
class="navbar bg-transparent shadow-lg fixed top-0 left-0 right-0 backdrop-blur-2xl z-1000 h-[64px]"
>
<div class="container mx-auto flex items-center justify-between px-5">
<nuxt-link-locale to="/">
<nuxt-img src="/favicon.png" alt="Solsynth" class="w-8 h-8" />
</nuxt-link-locale>
<n-menu
v-if="breakpoints.isGreaterOrEqual('md')"
v-model:value="activeKey"
mode="horizontal"
:options="menuOptions"
style="width: auto"
/>
<n-popover v-else trigger="hover">
<template #trigger>
<n-button text>
<template #icon>
<n-icon :component="MenuOutlined" />
</template>
</n-button>
</template>
<n-menu
v-model:value="activeKey"
mode="vertical"
:options="menuOptions"
class="w-64"
style="height: auto"
/>
</n-popover>
<div class="flex gap-4">
<naive-color-mode-switch />
<n-dropdown
trigger="hover"
:options="localeDropdownOptions"
@select="handleLocaleSelect"
>
<n-button text>{{ locale.toUpperCase().split("-")[0] }}</n-button>
</n-dropdown>
</div>
</div>
</n-layout-header>
</header>
<n-layout-content>
<main class="grow mt-[64px]">
<slot />
</n-layout-content>
</n-layout>
</main>
<footer
class="footer sm:footer-horizontal bg-base-200 text-base-content p-10"
>
<aside>
<nuxt-img src="/favicon.png" alt="Solsynth" class="w-12 h-12" />
<div>
<h3 class="text-lg font-bold">{{ t("common.solsynth") }}</h3>
{{ t("layout.default.footer.tagline") }}
</div>
</aside>
<nav>
<h6 class="footer-title">{{ t("layout.default.footer.products") }}</h6>
<a href="https://solian.app" target="_blank" class="link link-hover">{{
t("layout.default.footer.solarNetwork")
}}</a>
<nuxt-link-locale to="/products" class="link link-hover">{{
t("layout.default.footer.catalog")
}}</nuxt-link-locale>
</nav>
<nav>
<h6 class="footer-title">{{ t("layout.default.footer.company") }}</h6>
<nuxt-link-locale to="/about" class="link link-hover">{{
t("layout.default.footer.about")
}}</nuxt-link-locale>
<a
href="https://github.com/Solsynth"
target="_blank"
class="link link-hover"
>{{ t("layout.default.footer.github") }}</a
>
</nav>
<nav>
<h6 class="footer-title">{{ t("layout.default.footer.legal") }}</h6>
<nuxt-link-locale to="/terms/user-agreement" class="link link-hover">{{
t("layout.default.footer.tos")
}}</nuxt-link-locale>
<nuxt-link-locale to="/terms/privacy-policy" class="link link-hover">{{
t("layout.default.footer.privacy")
}}</nuxt-link-locale>
<nuxt-link-locale to="/terms/refund-policy" class="link link-hover">{{
t("layout.default.footer.refund")
}}</nuxt-link-locale>
<nuxt-link-locale to="/terms" class="link link-hover">{{
t("layout.default.footer.allDocs")
}}</nuxt-link-locale>
</nav>
</footer>
</div>
</template>
<script setup lang="ts">
import { NLayout, NLayoutHeader, NLayoutContent } from "naive-ui";
<script lang="ts" setup>
import type { MenuOption } from "naive-ui";
import { NIcon, NAvatar, NMenu, NDropdown, NButton } from "naive-ui";
import { computed, h } from "vue";
import { useRoute, useRouter, RouterLink } from "vue-router";
import { useI18n } from "vue-i18n";
import {
ExploreOutlined,
CategoryOutlined,
MenuOutlined,
} from "@vicons/material";
import { breakpointsTailwind } from "@vueuse/core";
const router = useRouter();
const switchLocalePath = useSwitchLocalePath();
const { t, locale, locales } = useI18n();
const localeDropdownOptions = computed(() => {
return locales.value?.map((l: any) => ({
label: l.name,
key: l.code,
}));
});
const handleLocaleSelect = (key: string) => {
router.push(switchLocalePath(key as any));
};
const route = useRoute();
const breakpoints = useBreakpoints(breakpointsTailwind);
const { data: recentProducts } = await useAsyncData("recent-products", () =>
queryCollection("products").order("updatedDate", "DESC").limit(5).all(),
);
const activeKey = computed(() => {
// Map route paths to menu keys
if (route.path === "/") return "explore";
if (route.path.startsWith("/products")) return "products";
return null;
});
function renderIcon(icon: any) {
return () => h(NIcon, null, { default: () => h(icon) });
}
function renderLabel(label: string, route: string) {
const localePrefix = locale.value == "en" ? "" : `/${locale.value}`;
return () =>
h(RouterLink, { to: localePrefix + route }, { default: () => label });
}
function renderExternalLabel(label: string, url: string) {
return () =>
h("a", { href: url, target: "_blank" }, { default: () => label });
}
const menuOptions = computed<MenuOption[]>(() => {
const productChildren =
recentProducts.value?.map((product: any) => {
const id = product.stem.split("/").pop();
const hasPage = product.hasPage;
const url = hasPage ? `/products/${id}` : product.url;
return {
label: hasPage
? renderLabel(product.name, url)
: renderExternalLabel(product.name, url),
key: `product-${id}`,
icon: product.icon
? () =>
h(NAvatar, {
src: product.icon,
size: 24,
style: { backgroundColor: "transparent" },
})
: renderIcon(CategoryOutlined), // Fallback icon, ideally use product.icon if possible but requires NAvatar
};
}) || [];
return [
{
label: renderLabel(t("layout.default.menu.explore"), "/"),
key: "explore",
icon: renderIcon(ExploreOutlined),
},
{
label: renderLabel(t("layout.default.menu.products"), "/products"),
key: "products",
icon: renderIcon(CategoryOutlined),
children: productChildren,
},
];
});
</script>
<style scoped>
.n-layout-header {
padding: 8px 24px;
border-color: var(--n-border-color);
height: 57px; /* Fixed height */
display: flex;
align-items: center;
}
.n-layout-content {
height: calc(100vh - 57px); /* Adjust based on header height */
}
.app-bar-blur {
-webkit-mask-image: linear-gradient(
to bottom,
rgba(0, 0, 0, 1) 40%,
rgba(0, 0, 0, 0.5) 65%,
rgba(0, 0, 0, 0) 100%
);
mask-image: linear-gradient(
to bottom,
rgba(0, 0, 0, 1) 40%,
rgba(0, 0, 0, 0.5) 65%,
rgba(0, 0, 0, 0) 100%
);
mask-repeat: no-repeat;
mask-size: 100%;
}
</style>

145
app/pages/about.vue Normal file
View File

@@ -0,0 +1,145 @@
<template>
<main
class="container max-w-2xl text-center mx-auto h-full px-8 flex flex-col gap-16 py-16"
>
<!-- Hero Section -->
<div
class="text-center flex flex-col items-center justify-center animate-fade-in-up"
>
<h1 class="text-4xl font-extrabold mb-3">About Us</h1>
<p class="text-xl max-w-2xl opacity-80">
We are a collective of creators, dreamers, and builders.
</p>
</div>
<!-- Mission Section -->
<section
class="flex flex-col gap-12 items-center animate-fade-in-up delay-100"
>
<div>
<h2 class="text-2xl font-bold">Our Mission</h2>
<div class="text-lg opacity-90 leading-relaxed flex flex-col gap-2">
<p>
Our aim is not making a profit.
<i class="text-sm opacity-70">At least not yet.</i>
</p>
<p>
Instead, we hope we can spread the love to the world and make
everyone enjoy the fun of the Internet and technology. We believe in
open source, collaboration, and building things that bring joy.
</p>
</div>
</div>
<div class="flex justify-center">
<n-card class="max-w-sm w-full bg-opacity-50 backdrop-blur-sm">
<div class="flex flex-col items-center text-center p-4">
<n-icon
size="48"
class="mb-4 text-primary"
:component="FavoriteRound"
/>
<h3 class="text-xl font-bold mb-2">Built with Love</h3>
<p class="opacity-80">
Every line of code is written with passion and care in mind.
</p>
</div>
</n-card>
</div>
</section>
<!-- Team Section -->
<section class="animate-fade-in-up delay-200">
<h2 class="text-3xl font-bold mb-8 text-center">Meet the Team</h2>
<div class="flex flex-wrap justify-center gap-8">
<!-- Team Member Card -->
<n-card
v-for="member in team"
:key="member.name"
class="max-w-xs w-full hover:shadow-lg transition-shadow duration-300"
>
<div class="flex flex-col items-center text-center">
<n-avatar :src="member.avatar" :size="120" class="mb-4 shadow-md" />
<h3 class="text-xl font-bold">{{ member.name }}</h3>
<div class="flex items-center gap-2 mt-1 mb-3">
<n-tag size="small" type="primary" round>{{ member.role }}</n-tag>
<n-button
v-if="member.profileUrl"
text
tag="a"
size="small"
:href="member.profileUrl"
target="_blank"
>
<n-icon size="18">
<info-outlined />
</n-icon>
</n-button>
</div>
<p class="text-sm opacity-75 mb-4">
{{ member.bio }}
</p>
<div class="flex gap-3" v-if="member.socials">
<n-button
v-for="social in member.socials"
:key="social.url"
circle
size="small"
tag="a"
:href="social.url"
target="_blank"
>
<template #icon>
<n-icon :component="getIcon(social.icon)" />
</template>
</n-button>
</div>
</div>
</n-card>
</div>
</section>
</main>
</template>
<script setup lang="ts">
import { InfoOutlined, FavoriteRound, CodeRound } from "@vicons/material";
useHead({
title: "About Us",
});
const { data: team } = await useAsyncData("team", () =>
queryCollection("team").all()
);
function getIcon(name: string) {
switch (name) {
case "github":
return CodeRound;
default:
return InfoOutlined;
}
}
</script>
<style scoped>
.animate-fade-in-up {
animation: fadeInUp 0.8s ease-out forwards;
opacity: 0;
transform: translateY(20px);
}
.delay-100 {
animation-delay: 0.1s;
}
.delay-200 {
animation-delay: 0.2s;
}
@keyframes fadeInUp {
to {
opacity: 1;
transform: translateY(0);
}
}
</style>

View File

@@ -1,219 +1,272 @@
<template>
<main class="container mx-auto h-full px-8 flex flex-col gap-16">
<div class="text-center py-56 flex flex-col items-center justify-center">
<nuxt-img src="/favicon.png" class="w-28 h-28 mb-4" />
<h1 class="text-5xl font-extrabold mb-3">We <span id="who-are-we" /></h1>
<p class="text-xl mb-8">
We are a group of friends that make software, hardware and any stuff
that interesting.
<main class="container mx-auto h-full px-8 flex flex-col gap-24 pb-24">
<!-- Hero Section -->
<div
class="text-center min-h-[80vh] flex flex-col items-center justify-center relative isolate"
>
<!-- Background decoration -->
<div
class="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[600px] h-[600px] bg-primary/20 rounded-full blur-[120px] -z-10 pointer-events-none"
></div>
<nuxt-img src="/favicon.png" class="w-32 h-32 mb-8 animate-float" />
<h1 class="text-6xl font-extrabold mb-6 tracking-tight">
{{ t("page.index.hero.we") }}
<span ref="typedElement" class="text-primary" />
</h1>
<p class="text-2xl mb-10 opacity-80 max-w-2xl">
{{ t("page.index.hero.subtitle") }}
</p>
<n-space justify="center">
<n-button type="primary" size="large" round tag="a" href="#products"
>Explore around</n-button
>
<n-button type="default" size="large" round tag="a" href="#about"
>About us</n-button
<n-space justify="center" size="large">
<n-button
type="primary"
size="large"
round
tag="a"
href="#products"
class="px-8 text-lg font-bold shadow-lg shadow-primary/30 hover:shadow-primary/50 transition-shadow"
>
{{ t("page.index.hero.explore") }}
</n-button>
<n-button size="large" round tag="a" href="/about" class="px-8 text-lg">
{{ t("page.index.hero.about") }}
</n-button>
</n-space>
<div class="absolute bottom-10 animate-bounce">
<n-icon
size="32"
class="opacity-50"
:component="ArrowDownwardOutlined"
/>
</div>
</div>
<div id="products" class="pb-56">
<client-only>
<n-grid cols="1 m:2 l:2" responsive="screen" x-gap="32" y-gap="16">
<n-gi>
<div class="flex items-center justify-center">
<n-carousel
show-arrow
autoplay
dot-type="line"
class="rounded-xl w-full max-h-[360px] aspect-video flex-shrink-1"
<!-- Products Section -->
<div id="products" class="scroll-mt-24">
<div class="text-center mb-16">
<h2 class="text-4xl font-bold mb-4">
{{ t("page.index.creations.title") }}
</h2>
<p class="text-xl opacity-70 max-w-2xl mx-auto">
{{ t("page.index.creations.subtitle") }}
</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<n-card
v-for="product in products"
:key="product.path"
class="product-card"
content-style="padding: 0"
>
<div class="relative aspect-video overflow-hidden group">
<img
:src="product.background"
class="w-full h-full object-cover transition-transform duration-700 group-hover:scale-110"
/>
<div
class="absolute inset-0 bg-linear-to-t from-black/80 via-black/20 to-transparent opacity-90"
></div>
<div
class="absolute top-4 right-4 flex gap-2 opacity-0 group-hover:opacity-100 transition-opacity duration-300"
>
<n-button
v-if="product.repo"
circle
color="white"
size="small"
tag="a"
:href="product.repo"
target="_blank"
>
<n-carousel-item
v-for="product in products"
:key="product.path"
class="rounded-xl w-full max-h-[360px] aspect-video relative"
:style="`background-color: ${product.background ? 'transparent' : themeVar.baseColor}`"
>
<img
:src="product.background"
class="absolute left-0 right-0 top-0 bottom-0 object-cover aspect-video"
style="z-index: -1"
/>
<div
style="
background: linear-gradient(
to top,
rgba(0, 0, 0, 0.7),
transparent
);
z-index: 1;
"
class="absolute left-0 right-0 top-1/2 bottom-0"
/>
<div
class="absolute left-0 right-0 top-0 px-4 pt-4 flex justify-end gap-2.5"
>
<n-button
v-if="product.repo"
circle
color="white"
size="small"
tag="a"
:href="product.repo"
target="_blank"
>
<n-icon color="black"><code-round /></n-icon>
</n-button>
<n-button
v-if="product.url"
circle
color="white"
size="small"
tag="a"
:href="product.url"
target="_blank"
>
<n-icon color="black"><launch-round /></n-icon>
</n-button>
</div>
<div
class="absolute bottom-0 px-6 py-8 w-full"
style="z-index: 2"
>
<nuxt-img :src="product.icon" class="w-12 h-12" />
<p class="text-lg text-white line-height-1">
{{ product.name }}
</p>
<p class="text-white line-height-1">
{{ product.description }}
</p>
</div>
</n-carousel-item>
</n-carousel>
<n-icon :component="CodeRound" color="black"></n-icon>
</n-button>
<n-button
v-if="product.url"
circle
color="white"
size="small"
tag="a"
:href="product.url"
target="_blank"
>
<n-icon :component="LaunchRound" color="black"></n-icon>
</n-button>
<nuxt-link-locale
v-if="product.hasPage"
:to="`/products/${product.stem.split('/').pop()}`"
>
<n-button circle color="white" size="small">
<n-icon :component="InfoRound" color="black"></n-icon>
</n-button>
</nuxt-link-locale>
</div>
</n-gi>
<n-gi>
<div
class="flex justify-center text-right h-full py-8 px-4 flex-col"
>
<h2 class="text-3xl font-bold mb-3">Our products</h2>
<p class="text-lg mb-1">
The made various of software, from social network to cloud
drive.
</p>
<p class="text-lg">
Take a look of them on the left on your own
<code>(&gt;&lt;)</code>
</p>
</div>
</n-gi>
</n-grid>
</client-only>
</div>
<div id="about" class="pb-56">
<client-only>
<n-grid cols="1 m:2 l:2" responsive="screen" x-gap="32" y-gap="16">
<n-gi>
<div
class="flex justify-center text-left h-full py-8 px-4 flex flex-col"
>
<h2 class="text-3xl font-bold mb-3">About us</h2>
<p class="text-lg mb-1">
Our aim is not making a profit.
<i class="text-xs">At least not yet.</i>
</p>
<p class="text-lg">
Instead we hope we can spread the love to the world and make
everyone enjoy the fun of the Internet and the world.
</p>
</div>
</n-gi>
<n-gi>
<div class="flex h-full justify-center flex-col text-right">
<h2 class="text-3xl font-bold mb-3">Team members</h2>
<p class="text-lg">
Say hi to our lovely members... uh, seems there is only me.
</p>
<div class="flex justify-end gap-4 my-4">
<div class="flex flex-col items-end text-right">
<n-avatar
src="https://fs.solian.app/api/files/200ee92546244ed1a6a02202f5ca9cc9"
:size="100"
class="mb-2"
/>
<div class="flex gap-1">
<p>LittleSheep</p>
<n-button
text
tag="a"
size="small"
href="https://id.solian.app/@littlesheep"
target="_blank"
class="mt-0.5"
>
<n-icon>
<info-outlined />
</n-icon>
</n-button>
</div>
<p class="text-xs opacity-75 max-w-sm">
Founder, CEO, CTO, Senior Developer, Marketing Engineer,
Customer Service Engineer, DevOps, Database Administrator,
Product Manager, UI/UX Designer, QA Engineer, Mobile
Developer, Security Engineer, Technical Writer, Project
Manager, Community Manager, Software Architect
</p>
</div>
<div class="absolute bottom-0 left-0 right-0 p-6">
<div class="flex items-center gap-3 mb-2">
<nuxt-img
:src="product.icon"
class="w-10 h-10 rounded-lg shadow-sm"
/>
<h3 class="text-xl font-bold text-white">
{{ product.name }}
</h3>
</div>
<p class="text-gray-200 text-sm line-clamp-2">
{{ product.description }}
</p>
</div>
</n-gi>
</n-grid>
</client-only>
</div>
</n-card>
</div>
</div>
<!-- About Teaser Section -->
<div class="py-16">
<n-card
class="bg-linear-to-r from-primary/10 to-secondary/10 border-0 overflow-hidden relative"
>
<div
class="absolute top-0 right-0 w-64 h-64 bg-primary/20 rounded-full blur-[80px] -translate-y-1/2 translate-x-1/2"
></div>
<div
class="flex flex-col md:flex-row items-center gap-12 relative z-10 p-8"
>
<div class="flex-1">
<h2 class="text-3xl font-bold mb-4">
{{ t("page.index.about.title") }}
</h2>
<p class="text-lg opacity-80 mb-6 leading-relaxed">
{{ t("page.index.about.subtitle") }}
</p>
<n-button type="primary" ghost size="large" tag="a" href="/about">
{{ t("page.index.about.readStory") }}
<template #icon>
<n-icon :component="ChevronRightOutlined"></n-icon>
</template>
</n-button>
</div>
<div class="flex-1 flex justify-center">
<!-- Abstract representation or team collage could go here -->
<div class="grid grid-cols-2 gap-4 opacity-80">
<div
class="w-32 h-32 rounded-2xl bg-primary/20 animate-pulse"
></div>
<div
class="w-32 h-32 rounded-2xl bg-secondary/20 animate-pulse delay-75"
></div>
<div
class="w-32 h-32 rounded-2xl bg-info/20 animate-pulse delay-150"
></div>
<div
class="w-32 h-32 rounded-2xl bg-success/20 animate-pulse delay-300"
></div>
</div>
</div>
</div>
</n-card>
</div>
</main>
</template>
<script setup>
import { NSpace, NButton, NIcon, NCard } from "naive-ui";
import {
NSpace,
NButton,
NGrid,
NGi,
NCarousel,
NCarouselItem,
NIcon,
NAvatar,
useThemeVars,
} from "naive-ui";
import { LaunchRound, CodeRound, InfoOutlined } from "@vicons/material";
LaunchRound,
CodeRound,
ChevronRightOutlined,
ArrowDownwardOutlined,
InfoRound,
} from "@vicons/material";
import Typed from "typed.js";
import { useI18n } from "vue-i18n";
const { t } = useI18n();
const route = useRoute();
const themeVar = useThemeVars();
const typedElement = ref(null);
const typed = shallowRef(null);
useHead({
title: t("page.index.title"),
titleTemplate: "%s",
});
onMounted(() => {
if (typedElement.value) {
if (typed.value) {
typed.value.destroy();
}
typed.value = new Typed(typedElement.value, {
strings: [
t("page.index.hero.typed.makeSoftware"),
t("page.index.hero.typed.makeHardware"),
t("page.index.hero.typed.craftExperiences"),
t("page.index.hero.typed.writeStories"),
t("page.index.hero.typed.areSolsynth"),
],
typeSpeed: 50,
backDelay: 1500,
backSpeed: 30,
smartBackspace: true,
loop: true,
showCursor: true,
cursorChar: "|",
autoInsertCss: true,
});
}
});
onUnmounted(() => {
if (typed.value) {
typed.value.destroy();
typed.value = null;
}
});
const { data: products } = await useAsyncData(route.path, () => {
return queryCollection("products").all();
});
useHead({
title: "Solsynth",
});
onMounted(() => {
new Typed("#who-are-we", {
strings: [
"make software",
"make hardware",
"make experience",
"write stories",
"are Solsynth^3000",
],
typeSpeed: 40,
backDelay: 1000,
backSpeed: 40,
smartBackspace: true,
loop: true,
showCursor: false,
autoInsertCss: false,
});
});
</script>
<style scoped>
.animate-float {
animation: float 6s ease-in-out infinite;
}
@keyframes float {
0% {
transform: translateY(0px);
}
50% {
transform: translateY(-20px);
}
100% {
transform: translateY(0px);
}
}
.product-card {
height: 100%;
transform: translateY(0);
transition: all 0.3s ease-in-out;
overflow: hidden;
border: none;
background-color: rgba(
255,
255,
255,
0.5
); /* Example, adjust base color as needed */
backdrop-filter: blur(4px); /* For backdrop-blur-sm */
&:hover {
transform: translateY(-0.5rem); /* For -translate-y-2 */
box-shadow:
0 20px 25px -5px rgba(0, 0, 0, 0.1),
0 10px 10px -5px rgba(0, 0, 0, 0.04); /* For shadow-xl */
}
}
</style>

View File

@@ -0,0 +1,58 @@
<template>
<div class="container max-w-xl mx-auto my-16 px-8">
<h1 class="text-4xl font-bold mb-8">Our Products</h1>
<nuxt-link-locale
v-for="product in products"
:key="product.url"
:to="
product.hasPage
? `/products/${product.stem.split('/').pop()}`
: product.url
"
class="no-underline block mb-4"
>
<n-card hoverable>
<template #cover>
<div class="h-48 overflow-hidden relative">
<img :src="product.background" class="w-full h-full object-cover" />
<div
class="absolute bottom-0 left-0 p-4 bg-linear-to-t from-black/80 to-transparent w-full flex items-center gap-3"
>
<img
:src="product.icon"
class="aspect-square h-10 rounded-full bg-white/10 p-1"
style="width: auto"
/>
<span class="text-white font-bold text-lg grow">{{
product.name
}}</span>
</div>
</div>
</template>
<p class="line-clamp-3 pt-4">{{ product.description }}</p>
<template #footer>
<div class="flex justify-between items-center text-xs opacity-75">
<span>v{{ product.version }}</span>
<span>
Released:
{{ new Date(product.releasedDate ?? "").toLocaleDateString() }}
</span>
</div>
</template>
</n-card>
</nuxt-link-locale>
</div>
</template>
<script setup lang="ts">
import { NCard } from "naive-ui";
const { data: products } = await useAsyncData("products", () =>
queryCollection("products").all(),
);
useHead({
title: "Products",
});
</script>

View File

@@ -1,259 +1,444 @@
<template>
<main class="container mx-auto h-full px-8 flex flex-col gap-16">
<div class="text-center py-56 flex flex-col items-center justify-center">
<img src="/solar-network/icon.png" class="w-28 h-28 mb-4" />
<h1 class="text-5xl font-extrabold mb-3">Solar Network</h1>
<p class="text-xl mb-8">
The amazing social network for technology, programming, ACG fans.
</p>
<n-alert
type="warning"
title="Under Construction"
class="max-w-lg mx-auto mb-8"
closable
>
<n-marquee>
<div style="margin-right: 64px">
小羊懒得施工产品介绍所以懂得都懂不懂得我也不好多说如果你真的知道可以去看我们的宣传片如果你连宣传片都不知道在哪里的话我也不知道怎么办了
</div>
</n-marquee>
</n-alert>
<n-space justify="center">
<n-button type="primary" size="large" round tag="a" href="#features">
Explore features
</n-button>
<n-button type="default" size="large" round tag="a" href="#download">
Download
</n-button>
</n-space>
<main class="min-h-screen overflow-x-hidden transition-colors duration-300">
<!-- Hero Section -->
<div
class="relative min-h-screen flex flex-col items-center justify-center px-4 overflow-hidden"
>
<!-- Background Elements -->
<div class="absolute top-0 left-0 w-full h-full overflow-hidden -z-10">
<div
class="absolute top-1/4 left-1/4 w-[500px] h-[500px] bg-primary/20 rounded-full blur-[120px] animate-pulse-slow"
></div>
<div
class="absolute bottom-1/4 right-1/4 w-[400px] h-[400px] bg-secondary/20 rounded-full blur-[100px] animate-pulse-slow delay-1000"
></div>
</div>
<div class="text-center z-10 max-w-4xl mx-auto">
<div class="mb-8 relative inline-block">
<div
class="absolute inset-0 bg-primary/30 blur-xl rounded-full animate-pulse"
></div>
<img
src="/solar-network/icon.png"
class="w-32 h-32 relative z-10 animate-float"
alt="Solar Network Logo"
/>
</div>
<h1 class="text-6xl md:text-7xl font-extrabold mb-6 tracking-tight">
{{ t('page.product.solarNetwork.hero.title') }}
</h1>
<p class="text-xl md:text-2xl mb-10 max-w-2xl mx-auto leading-relaxed">
{{ t('page.product.solarNetwork.hero.subtitle', [t('page.product.solarNetwork.hero.subtitle.enthusiasts'), t('page.product.solarNetwork.hero.subtitle.developers'), t('page.product.solarNetwork.hero.subtitle.acg')]) }}
</p>
<n-space justify="center" size="large" class="mb-16">
<n-button
type="primary"
size="large"
round
tag="a"
href="#download"
class="px-8 py-6 text-lg font-bold shadow-lg shadow-primary/25 hover:shadow-primary/40 transition-all download-button"
>
{{ t('page.product.solarNetwork.hero.getStarted') }}
<template #icon>
<n-icon :component="ArrowDownwardRound" />
</template>
</n-button>
<n-button
size="large"
round
secondary
tag="a"
href="#features"
class="px-8 py-6 text-lg hover:bg-gray-100 dark:hover:bg-white/10 transition-all"
>
{{ t('page.product.solarNetwork.hero.learnMore') }}
</n-button>
</n-space>
</div>
<!-- Scroll Indicator -->
<div class="absolute bottom-10 animate-bounce">
<n-icon size="32" class="text-gray-400 dark:text-gray-500">
<ArrowDownwardRound />
</n-icon>
</div>
</div>
<div id="features" class="pb-56">
<client-only>
<n-grid cols="1 m:2 l:2" responsive="screen" x-gap="32" y-gap="16">
<!-- Features Section -->
<div id="features" class="py-32 px-4 relative">
<div class="container mx-auto max-w-6xl">
<div class="text-center mb-20">
<h2 class="text-4xl md:text-5xl font-bold mb-6">
{{ t('page.product.solarNetwork.features.title') }}
</h2>
<p class="text-xl max-w-2xl mx-auto">
{{ t('page.product.solarNetwork.features.subtitle') }}
</p>
</div>
<n-grid cols="1 m:2 l:2" responsive="screen" x-gap="32" y-gap="32">
<n-gi>
<div class="flex items-center justify-center">
<div class="feature-card group">
<div class="p-8 h-full flex flex-col">
<div
class="w-14 h-14 rounded-2xl bg-primary/10 dark:bg-primary/20 flex items-center justify-center mb-6 text-primary group-hover:scale-110 transition-transform"
>
<n-icon size="32" :component="CodeRound" />
</div>
<h3 class="text-2xl font-bold mb-4">
{{ t('page.product.solarNetwork.features.devFirst.title') }}
</h3>
<p class="opacity-80 leading-relaxed">
{{ t('page.product.solarNetwork.features.devFirst.content') }}
</p>
</div>
</div>
</n-gi>
<n-gi>
<div class="feature-card group">
<div class="p-8 h-full flex flex-col">
<div
class="w-14 h-14 rounded-2xl bg-secondary/10 dark:bg-secondary/20 flex items-center justify-center mb-6 text-secondary group-hover:scale-110 transition-transform"
>
<n-icon size="32" :component="ApiRound" />
</div>
<h3 class="text-2xl font-bold mb-4">
{{ t('page.product.solarNetwork.features.openapi.title') }}
</h3>
<p class="opacity-80 leading-relaxed">
{{ t('page.product.solarNetwork.features.openapi.content') }}
</p>
</div>
</div>
</n-gi>
<n-gi>
<div class="feature-card group">
<div class="p-8 h-full flex flex-col">
<div
class="w-14 h-14 rounded-2xl bg-info/10 dark:bg-info/20 flex items-center justify-center mb-6 text-info group-hover:scale-110 transition-transform"
>
<n-icon size="32" :component="AutoAwesomeRound" />
</div>
<h3 class="text-2xl font-bold mb-4">
{{ t('page.product.solarNetwork.features.acg.title') }}
</h3>
<p class="opacity-80 leading-relaxed">
{{ t('page.product.solarNetwork.features.acg.content') }}
</p>
</div>
</div>
</n-gi>
<n-gi>
<div class="feature-card group">
<div class="p-8 h-full flex flex-col">
<div
class="w-14 h-14 rounded-2xl bg-success/10 dark:bg-success/20 flex items-center justify-center mb-6 text-success group-hover:scale-110 transition-transform"
>
<n-icon size="32" :component="FavoriteRound" />
</div>
<h3 class="text-2xl font-bold mb-4">
{{ t('page.product.solarNetwork.features.community.title') }}
</h3>
<p class="opacity-80 leading-relaxed">
{{ t('page.product.solarNetwork.features.community.content') }}
</p>
</div>
</div>
</n-gi>
</n-grid>
<!-- Video Showcase -->
<div
class="mt-32 relative rounded-3xl overflow-hidden border shadow-2xl backdrop-blur-sm glassy-card"
>
<div class="grid grid-cols-1 lg:grid-cols-2 gap-0">
<div class="p-12 flex flex-col justify-center">
<h3 class="text-3xl font-bold mb-6">
{{ t('page.product.solarNetwork.experience.title') }}
</h3>
<p class="text-lg mb-8">
{{ t('page.product.solarNetwork.experience.content') }}
</p>
<div class="flex gap-4">
<n-tag type="warning" round :bordered="false">
<template #icon
><n-icon :component="ConstructionRound"
/></template>
{{ t('page.product.solarNetwork.experience.wip') }}
</n-tag>
</div>
</div>
<div
class="relative aspect-video lg:aspect-auto lg:h-full min-h-[300px]"
>
<iframe
width="560"
height="315"
class="absolute inset-0 w-full h-full"
src="https://www.youtube-nocookie.com/embed/xhK5UBqGw5Q"
title="YouTube video player"
title="Solar Network Promo"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
referrerpolicy="strict-origin-when-cross-origin"
allow="
accelerometer;
autoplay;
clipboard-write;
encrypted-media;
gyroscope;
picture-in-picture;
web-share;
"
allowfullscreen
></iframe>
</div>
</n-gi>
<n-gi>
<div
class="flex justify-center text-right h-full py-8 px-4 flex-col"
>
<h2 class="text-3xl font-bold mb-3">Features</h2>
<p class="text-lg mb-1">
As the alert described, this part is under construction. For now
you can check out the video on the left.
</p>
<p class="text-md">
如果你看得懂这行字就说明你有可能访问不了
YouTube你可以去哔哩哔哩上搜一下 Solar Network
我懒得放链接了
</p>
</div>
</n-gi>
</n-grid>
</client-only>
</div>
</div>
</div>
</div>
<div id="download" class="pb-56">
<client-only>
<n-grid cols="1 m:2 l:2" responsive="screen" x-gap="32" y-gap="16">
<n-gi>
<div
class="flex justify-center text-left h-full py-8 px-4 flex-col"
>
<h2 class="text-3xl font-bold mb-3">Download</h2>
<p class="text-lg mb-1">
Get the latest version of Solar Network for your device.
</p>
<p class="text-lg">
File-hosting & versioning by
<a
class="underline"
href="https://github.com/Solsynth/Solian"
target="_blank"
>GitHub</a
>
</p>
<!-- Download Section -->
<div
id="download"
class="py-32 px-4 bg-linear-to-b from-transparent to-primary/5"
>
<div class="container mx-auto max-w-5xl">
<div class="text-center mb-20">
<h2 class="text-2xl md:text-3xl font-bold mb-2">
{{ t('page.product.solarNetwork.download.title') }}
</h2>
<p class="text-xl">
{{ t('page.product.solarNetwork.download.subtitle') }}
</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-8 mb-16">
<!-- Faster Release Card -->
<div
class="download-card relative overflow-hidden group border-primary/50"
>
<div class="absolute top-0 right-0 p-4">
<n-tag
type="success"
round
:bordered="false"
class="shadow-lg shadow-success/20"
>
<template #icon><n-icon :component="StarRound" /></template>
{{ t('page.product.solarNetwork.download.faster.recommended') }}
</n-tag>
</div>
</n-gi>
<n-gi>
<div class="flex items-center justify-center flex-col gap-4">
<n-card title="iOS / macOS">
<div class="grid gird-cols-1 md:grid-cols-2 gap-4">
<div class="flex flex-col">
<div class="mb-3">
<n-tag round :bordered="false" type="success">
Recommended
<template #icon>
<n-icon :component="StarRound" />
</template>
</n-tag>
</div>
<h3 class="text-lg font-bold">Download via TestFlight</h3>
<p>
Latest version, new features and bug fixes. 中国可用
</p>
<n-button
type="primary"
tag="a"
target="_blank"
round
class="mt-4"
href="https://testflight.apple.com/join/YJ0lmN6O"
>
Join TestFlight
<template #icon>
<n-icon>
<launch-round />
</n-icon>
</template>
</n-button>
</div>
<div class="flex flex-col">
<div class="mb-3">
<n-tag round :bordered="false" type="info">
Not that recommended
<template #icon>
<n-icon :component="StarOutlineRound" />
</template>
</n-tag>
</div>
<h3 class="text-lg font-bold">Download via App Store</h3>
<p>
Can leave reviews to increase the popularity of the Solar
Network.
</p>
<n-button
type="primary"
tag="a"
target="_blank"
round
class="mt-4"
href="https://apps.apple.com/us/app/solian/id6499032345"
>
Go to App Store
<template #icon>
<n-icon>
<launch-round />
</n-icon>
</template>
</n-button>
</div>
</div>
</n-card>
<n-card v-if="latestRelease.data.value" title="Latest Release">
<p>
<code>{{ latestRelease.data.value?.tag_name }}</code>
</p>
<p class="font-bold text-lg">
{{ latestRelease.data.value?.name }}
</p>
<div class="p-8 flex flex-col h-full relative z-10">
<div
class="w-16 h-16 rounded-2xl bg-linear-to-br from-blue-500 to-blue-600 flex items-center justify-center mb-6 shadow-lg shadow-blue-500/30"
>
<n-icon size="36" color="white" :component="IosShareRound" />
</div>
<h3 class="text-2xl font-bold mb-2">
{{ t('page.product.solarNetwork.download.faster.title') }}
</h3>
<p class="opacity-80 mb-8 grow">
{{ t('page.product.solarNetwork.download.faster.content') }}
<br />
<span class="text-xs opacity-70 mt-2 block">
<n-space size="small" align="center">
<n-icon :component="LogoApple" />
<n-icon :component="LogoAndroid" />
<n-icon :component="LogoWindows" />
<n-icon :component="LogoTux" />
</n-space>
</span>
</p>
<div class="flex flex-col gap-3">
<n-button
type="primary"
tag="a"
target="_blank"
size="large"
block
round
class="mt-4"
:href="latestRelease.data.value?.html_url"
tag="a"
href="https://testflight.apple.com/join/YJ0lmN6O"
target="_blank"
class="py-6 font-bold"
>
Go to GitHub and Download
<template #icon>
<n-icon>
<launch-round />
</n-icon>
</template>
{{ t('page.product.solarNetwork.download.faster.testflight') }}
<template #icon><n-icon :component="LaunchRound" /></template>
</n-button>
</n-card>
<a href="https://web.solian.app" target="_blank">
<n-tag round :bordered="false" size="small" class="cursor-pointer">
Open the web version (Strongly not recommended, only for
preview)
<template #icon>
<n-icon :component="WebRound" />
</template>
</n-tag>
</a>
<n-button
secondary
size="large"
block
round
tag="a"
href="https://fs.solsynth.dev/official/solian"
target="_blank"
class="py-6 font-bold"
>
{{ t('page.product.solarNetwork.download.faster.direct') }}
<template #icon
><n-icon :component="CloudDownloadRound"
/></template>
</n-button>
<n-button
tertiary
size="large"
block
round
tag="a"
href="https://web.solian.app"
target="_blank"
class="py-2 font-bold text-primary hover:underline"
>
{{ t('page.product.solarNetwork.download.faster.browser') }}
<template #icon><n-icon :component="WebRound" /></template>
</n-button>
</div>
</div>
</n-gi>
</n-grid>
</client-only>
</div>
<div id="download" class="pb-56">
<client-only>
<n-grid cols="1 m:2 l:2" responsive="screen" x-gap="32" y-gap="16">
<n-gi>
<!-- Glow effect -->
<div
class="flex justify-center text-left h-full py-8 px-4 flex-col"
>
<h2 class="text-3xl font-bold mb-3">Feedback & Support</h2>
<p class="text-lg mb-1">
Due to the Solar Network always under active development, if you
have any idea or issues. Feel free to told us!
class="absolute -bottom-20 -right-20 w-64 h-64 bg-primary/20 rounded-full blur-[80px] group-hover:bg-primary/30 transition-colors duration-500"
></div>
</div>
<!-- App Store Card -->
<div class="download-card relative overflow-hidden group">
<div class="p-8 flex flex-col h-full relative z-10">
<div
class="w-16 h-16 rounded-2xl bg-linear-to-br from-gray-700 to-gray-800 flex items-center justify-center mb-6 shadow-lg"
>
<n-icon size="36" color="white" :component="LogoApple" />
</div>
<h3 class="text-2xl font-bold mb-2">
{{ t('page.product.solarNetwork.download.appstore.title') }}
</h3>
<p class="opacity-80 mb-8 grow">
{{ t('page.product.solarNetwork.download.appstore.content') }}
</p>
</div>
</n-gi>
<n-gi>
<div class="flex items-center justify-center flex-col gap-4">
<n-card
title="GitHub Issues"
hoverable
href="https://github.com/Solsynth/Solian/issues"
target="_blank"
<n-button
secondary
size="large"
block
round
tag="a"
>
If you have any new idea or function that don't work as
expected. Go to GitHub and create an issue to feedback!
</n-card>
<n-card
title="Customer Service"
hoverable
href="mailto:lily@solsynth.dev"
href="https://apps.apple.com/us/app/solian/id6499032345"
target="_blank"
tag="a"
class="py-6 font-bold"
>
If you have any account and payments related problems, please
contact our customer service via email at
<address class="font-italic">lily [at] solsynth.dev</address>
</n-card>
{{ t('page.product.solarNetwork.download.appstore.visit') }}
<template #icon><n-icon :component="LaunchRound" /></template>
</n-button>
</div>
</n-gi>
</n-grid>
</client-only>
</div>
</div>
<!-- Latest Release Info -->
<div v-if="latestRelease.data.value" class="max-w-2xl mx-auto">
<div
class="download-card rounded-2xl p-6 border backdrop-blur-md flex items-center justify-between gap-4"
>
<div class="flex items-center gap-4">
<div
class="w-10 h-10 rounded-full bg-gray-100 dark:bg-white/10 flex items-center justify-center text-gray-900 dark:text-white"
>
<n-icon :size="24" :component="LogoGithub" />
</div>
<div>
<div
class="text-xs opacity-80 uppercase tracking-wider font-bold mb-1"
>
{{ t('page.product.solarNetwork.download.latest.title') }}
</div>
<div class="font-mono text-primary font-bold">
{{ latestRelease.data.value?.tag_name }}
</div>
</div>
</div>
<n-button
text
tag="a"
:href="latestRelease.data.value?.html_url"
target="_blank"
>
{{ t('page.product.solarNetwork.download.latest.view') }}
<template #icon
><n-icon :component="ArrowForwardRound"
/></template>
</n-button>
</div>
</div>
</div>
</div>
<!-- Footer / Support -->
<div class="py-24 bg-primary/5">
<div class="container mx-auto px-4 text-center">
<h2 class="text-2xl font-bold mb-2">
{{ t('page.product.solarNetwork.support.title') }}
</h2>
<p class="mb-12 text-lg">
{{ t('page.product.solarNetwork.support.content') }}
</p>
<div class="flex flex-wrap justify-center gap-8">
<a
href="https://github.com/Solsynth/Solian/issues"
target="_blank"
class="flex items-center gap-3 px-6 py-4 rounded-xl bg-white dark:bg-white/5 hover:bg-gray-100 dark:hover:bg-white/10 transition-colors border border-gray-200 dark:border-white/5 text-gray-900 dark:text-white shadow-sm"
>
<n-icon :component="LogoGithub" size="24" />
<span class="font-semibold">{{ t('page.product.solarNetwork.support.report') }}</span>
</a>
<a
href="mailto:lily@solsynth.dev"
class="flex items-center gap-3 px-6 py-4 rounded-xl bg-white dark:bg-white/5 hover:bg-gray-100 dark:hover:bg-white/10 transition-colors border border-gray-200 dark:border-white/5 text-gray-900 dark:text-white shadow-sm"
>
<n-icon :component="MailOutlineRound" size="24" />
<span class="font-semibold">{{ t('page.product.solarNetwork.support.contact') }}</span>
</a>
</div>
</div>
</div>
</main>
</template>
<script lang="ts" setup>
import {
NSpace,
NButton,
NGrid,
NGi,
NCard,
NAlert,
NIcon,
NMarquee,
NTag,
} from "naive-ui";
import { NSpace, NButton, NGrid, NGi, NIcon, NTag } from "naive-ui";
import { Octokit } from "@octokit/rest";
import {
LaunchRound,
StarOutlineRound,
StarRound,
ArrowDownwardRound,
CodeRound,
AutoAwesomeRound,
ConstructionRound,
IosShareRound,
ArrowForwardRound,
MailOutlineRound,
CloudDownloadRound,
WebRound,
ApiRound,
FavoriteRound,
} from "@vicons/material";
import {
LogoGithub,
LogoApple,
LogoAndroid,
LogoWindows,
LogoTux,
} from "@vicons/ionicons5";
import { useI18n } from "vue-i18n";
const { t } = useI18n();
useHead({
title: "Solar Network",
title: t('page.product.solarNetwork.title'),
meta: [
{
name: "description",
content: t('page.product.solarNetwork.description'),
},
],
});
const latestRelease = useAsyncData("sn-latest-release", async () => {
@@ -265,3 +450,98 @@ const latestRelease = useAsyncData("sn-latest-release", async () => {
return resp.data;
});
</script>
<style scoped>
.animate-float {
animation: float 6s ease-in-out infinite;
}
.animate-pulse-slow {
animation: pulse 8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes float {
0% {
transform: translateY(0px);
}
50% {
transform: translateY(-20px);
}
100% {
transform: translateY(0px);
}
}
.feature-card {
background: rgba(255, 255, 255, 0.8);
border: 1px solid rgba(0, 0, 0, 0.05);
border-radius: 1.5rem;
transition: all 0.3s ease;
height: 100%;
}
.dark .feature-card {
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.05);
}
.feature-card:hover {
background: rgba(255, 255, 255, 1);
border-color: rgba(0, 0, 0, 0.1);
transform: translateY(-5px);
box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}
.dark .feature-card:hover {
background: rgba(255, 255, 255, 0.06);
border-color: rgba(255, 255, 255, 0.1);
box-shadow: none;
}
.glassy-card {
background: rgba(255, 255, 255, 0.8);
border: 1px solid rgba(0, 0, 0, 0.05);
border-radius: 2rem;
transition: all 0.3s ease;
}
.dark .glassy-card {
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.05);
}
.download-card {
background: rgba(255, 255, 255, 0.8);
border: 1px solid rgba(0, 0, 0, 0.05);
border-radius: 2rem;
transition: all 0.3s ease;
}
.dark .download-card {
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.05);
}
.download-card:hover {
background: rgba(255, 255, 255, 1);
border-color: rgba(0, 0, 0, 0.1);
transform: translateY(-5px);
box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}
.dark .download-card:hover {
background: rgba(255, 255, 255, 0.06);
border-color: rgba(255, 255, 255, 0.1);
box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}
.download-button {
transition:
transform 0.3s ease,
top 0.1s ease;
}
.download-button:hover {
transform: translateY(-0.25rem); /* Equivalent to hover:-translate-y-1 */
}
</style>

View File

@@ -1,3 +0,0 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

1824
bun.lock

File diff suppressed because it is too large Load Diff

View File

@@ -15,6 +15,7 @@ export default defineContentConfig({
releasedDate: z.date().optional(),
version: z.string().optional(),
updatedDate: z.date().optional(),
hasPage: z.boolean().optional(),
}),
}),
terms: defineCollection({
@@ -27,5 +28,24 @@ export default defineContentConfig({
updatedDate: z.date().optional(),
}),
}),
team: defineCollection({
type: "data",
source: "team/**.json",
schema: z.object({
name: z.string(),
role: z.string(),
avatar: z.string(),
bio: z.string(),
profileUrl: z.string().optional(),
socials: z
.array(
z.object({
icon: z.string(),
url: z.string(),
})
)
.optional(),
}),
}),
},
});

View File

@@ -7,5 +7,6 @@
"repo": "https://github.com/littlesheep2code/groovy-box",
"releasedDate": "2025-08-14T08:00:00.000Z",
"version": "1.0.0.0",
"updatedDate": "2025-08-14T08:00:00.000Z"
"updatedDate": "2025-08-14T08:00:00.000Z",
"hasPage": true
}

View File

@@ -3,9 +3,10 @@
"background": "/solar-network/kp.jpg",
"name": "Solar Network",
"description": "The amazing social network for technology, programming, ACG fans.",
"url": "https://solsynth.dev/products/solar-network",
"url": "https://web.solian.app",
"repo": "https://github.com/Solsynth/Solian",
"releasedDate": "2024-01-27T08:00:00.000Z",
"version": "3.1.0",
"updatedDate": "2025-07-28T08:00:00.000Z"
"updatedDate": "2025-07-28T08:00:00.000Z",
"hasPage": true
}

View File

@@ -0,0 +1,13 @@
{
"name": "LittleSheep",
"role": "Founder",
"avatar": "https://api.solian.app/drive/files/thgJtsTgwBDM7zm9bPjNp",
"bio": "Founder, CEO, CTO, Senior Developer, Marketing Engineer, Customer Service Engineer, DevOps, Database Administrator, Product Manager, UI/UX Designer, QA Engineer, Mobile Developer, Security Engineer, Technical Writer, Project Manager, Community Manager, Software Architect",
"profileUrl": "https://id.solian.app/@littlesheep",
"socials": [
{
"icon": "github",
"url": "https://github.com/LittleSheep2Code"
}
]
}

71
i18n/en.json Normal file
View File

@@ -0,0 +1,71 @@
{
"common.solsynth": "Solsynth",
"layout.default.footer.tagline": "Making software, hardware and experiences since 2024",
"layout.default.footer.products": "Products",
"layout.default.footer.solarNetwork": "Solar Network",
"layout.default.footer.catalog": "Catalog",
"layout.default.footer.company": "Company",
"layout.default.footer.about": "About us",
"layout.default.footer.github": "GitHub",
"layout.default.footer.legal": "Legal",
"layout.default.footer.tos": "Terms of Service",
"layout.default.footer.privacy": "Privacy Policy",
"layout.default.footer.refund": "Refund Policy",
"layout.default.footer.allDocs": "All Documents",
"layout.default.menu.explore": "Explore",
"layout.default.menu.products": "Products",
"page.index.title": "We are Solsynth",
"page.index.hero.we": "We",
"page.index.hero.typed.makeSoftware": "make software",
"page.index.hero.typed.makeHardware": "make hardware",
"page.index.hero.typed.craftExperiences": "craft experiences",
"page.index.hero.typed.writeStories": "write stories",
"page.index.hero.typed.areSolsynth": "are Solsynth",
"page.index.hero.subtitle": "We are a group of friends that make software, hardware and any stuff that is interesting.",
"page.index.hero.explore": "Explore Products",
"page.index.hero.about": "About Us",
"page.index.creations.title": "Our Creations",
"page.index.creations.subtitle": "From social networks to cloud drives, we build tools that empower and connect.",
"page.index.about.title": "More Than Just Code",
"page.index.about.subtitle": "We are a community-driven team focused on creating meaningful experiences. Our mission goes beyond software—it's about connection, innovation, and fun.",
"page.index.about.readStory": "Read Our Story",
"page.product.solarNetwork.title": "Solar Network - Stay Connected",
"page.product.solarNetwork.description": "The amazing social network for technology, programming, and ACG fans.",
"page.product.solarNetwork.hero.title": "Solar Network",
"page.product.solarNetwork.hero.subtitle": "The next-generation social network designed for {0}, {1}, and {2}.",
"page.product.solarNetwork.hero.subtitle.enthusiasts": "technology enthusiasts",
"page.product.solarNetwork.hero.subtitle.developers": "developers",
"page.product.solarNetwork.hero.subtitle.acg": "ACG culture",
"page.product.solarNetwork.hero.getStarted": "Get Started",
"page.product.solarNetwork.hero.learnMore": "Learn More",
"page.product.solarNetwork.features.title": "Why Solar Network?",
"page.product.solarNetwork.features.subtitle": "Built for those who create, code, and connect. Experience a platform that understands your passions.",
"page.product.solarNetwork.features.devFirst.title": "Developer First",
"page.product.solarNetwork.features.devFirst.content": "Native syntax highlighting, code snippet sharing, and seamless integration with your favorite dev tools.",
"page.product.solarNetwork.features.openapi.title": "OpenAPI",
"page.product.solarNetwork.features.openapi.content": "Fully documented API, transparent rate limiting and risk control. Great start for developing your own app with the Solar Network!",
"page.product.solarNetwork.features.acg.title": "ACG Culture",
"page.product.solarNetwork.features.acg.content": "A dedicated space for Anime, Comic, and Game enthusiasts. Share your art, reviews, and passion.",
"page.product.solarNetwork.features.community.title": "Friendly Community",
"page.product.solarNetwork.features.community.content": "Join a vibrant community of like-minded individuals. Share your knowledge, ask questions, and connect with others.",
"page.product.solarNetwork.experience.title": "Experience the Future",
"page.product.solarNetwork.experience.content": "Watch our promotional video to see Solar Network in action. Discover a fluid, responsive, and beautiful interface designed for modern interactions.",
"page.product.solarNetwork.experience.wip": "Under Construction",
"page.product.solarNetwork.download.title": "Start Your Journey",
"page.product.solarNetwork.download.subtitle": "Available on iOS, Android, macOS, Windows, and Linux.",
"page.product.solarNetwork.download.faster.title": "Faster Release",
"page.product.solarNetwork.download.faster.recommended": "Recommended",
"page.product.solarNetwork.download.faster.content": "Get early access to the latest features on all platforms.",
"page.product.solarNetwork.download.faster.testflight": "Join TestFlight (iOS, macOS)",
"page.product.solarNetwork.download.faster.direct": "Direct Download",
"page.product.solarNetwork.download.faster.browser": "Open in your Browser",
"page.product.solarNetwork.download.appstore.title": "App Store",
"page.product.solarNetwork.download.appstore.content": "Stable release for general users. Leave a review to support us!",
"page.product.solarNetwork.download.appstore.visit": "Visit Store Page",
"page.product.solarNetwork.download.latest.title": "Latest Release",
"page.product.solarNetwork.download.latest.view": "View on GitHub",
"page.product.solarNetwork.support.title": "Need Help?",
"page.product.solarNetwork.support.content": "Feel free to contact your customer service or report a bug on the GitHub.",
"page.product.solarNetwork.support.report": "Report an Issue",
"page.product.solarNetwork.support.contact": "Contact Support"
}

71
i18n/zh-cn.json Normal file
View File

@@ -0,0 +1,71 @@
{
"common.solsynth": "Solsynth",
"layout.default.footer.tagline": "自 2024 年以来,我们一直致力于软件、硬件和体验的创造。",
"layout.default.footer.products": "产品",
"layout.default.footer.solarNetwork": "Solar Network",
"layout.default.footer.catalog": "目录",
"layout.default.footer.company": "公司",
"layout.default.footer.about": "关于我们",
"layout.default.footer.github": "GitHub",
"layout.default.footer.legal": "法律",
"layout.default.footer.tos": "服务条款",
"layout.default.footer.privacy": "隐私政策",
"layout.default.footer.refund": "退款政策",
"layout.default.footer.allDocs": "所有文档",
"layout.default.menu.explore": "发现",
"layout.default.menu.products": "产品",
"page.index.title": "我们是 Solsynth",
"page.index.hero.we": "我们",
"page.index.hero.typed.makeSoftware": "创造软件",
"page.index.hero.typed.makeHardware": "构建硬件",
"page.index.hero.typed.craftExperiences": "打造体验",
"page.index.hero.typed.writeStories": "撰写故事",
"page.index.hero.typed.areSolsynth": "是 Solsynth",
"page.index.hero.subtitle": "我们是一群朋友,致力于创造有趣的软件、硬件和任何新奇玩意。",
"page.index.hero.explore": "探索产品",
"page.index.hero.about": "关于我们",
"page.index.creations.title": "我们的作品",
"page.index.creations.subtitle": "从社交网络到云存储,我们构建的工具旨在赋能与连接。",
"page.index.about.title": "不止于代码",
"page.index.about.subtitle": "我们是一个由社区驱动的团队,专注于创造有意义的体验。我们的使命超越软件——关乎连接、创新和乐趣。",
"page.index.about.readStory": "阅读我们的故事",
"page.product.solarNetwork.title": "Solar Network - 保持联系",
"page.product.solarNetwork.description": "为技术、编程和 ACG 爱好者打造的卓越社交网络。",
"page.product.solarNetwork.hero.title": "Solar Network",
"page.product.solarNetwork.hero.subtitle": "为 {0}、{1} 和 {2} 设计的下一代社交网络。",
"page.product.solarNetwork.hero.subtitle.enthusiasts": "技术爱好者",
"page.product.solarNetwork.hero.subtitle.developers": "开发者",
"page.product.solarNetwork.hero.subtitle.acg": "ACG 文化",
"page.product.solarNetwork.hero.getStarted": "开始使用",
"page.product.solarNetwork.hero.learnMore": "了解更多",
"page.product.solarNetwork.features.title": "为何选择 Solar Network",
"page.product.solarNetwork.features.subtitle": "为创造者、编码者和连接者而构建。体验一个懂你热情的平台。",
"page.product.solarNetwork.features.devFirst.title": "开发者优先",
"page.product.solarNetwork.features.devFirst.content": "原生语法高亮、代码片段分享,以及与你喜爱的开发工具无缝集成。",
"page.product.solarNetwork.features.openapi.title": "开放 API",
"page.product.solarNetwork.features.openapi.content": "提供完整文档的 API透明的速率限制和风险控制。是你利用 Solar Network 开发自己应用的绝佳起点!",
"page.product.solarNetwork.features.acg.title": "ACG 文化",
"page.product.solarNetwork.features.acg.content": "一个专为动漫、漫画和游戏爱好者打造的空间。分享你的艺术、评论和热情。",
"page.product.solarNetwork.features.community.title": "友好的社区",
"page.product.solarNetwork.features.community.content": "加入一个由志同道合的人组成的充满活力的社区。分享你的知识、提出问题并与他人建立联系。",
"page.product.solarNetwork.experience.title": "体验未来",
"page.product.solarNetwork.experience.content": "观看我们的宣传视频,了解 Solar Network 的实际运行情况。发现专为现代交互设计的流畅、响应迅速且美观的界面。",
"page.product.solarNetwork.experience.wip": "正在建设中",
"page.product.solarNetwork.download.title": "开启你的旅程",
"page.product.solarNetwork.download.subtitle": "支持 iOS、Android、macOS、Windows 和 Linux。",
"page.product.solarNetwork.download.faster.title": "抢先版",
"page.product.solarNetwork.download.faster.recommended": "推荐",
"page.product.solarNetwork.download.faster.content": "在所有平台上抢先体验最新功能。",
"page.product.solarNetwork.download.faster.testflight": "加入 TestFlight (iOS, macOS)",
"page.product.solarNetwork.download.faster.direct": "直接下载",
"page.product.solarNetwork.download.faster.browser": "在浏览器中打开",
"page.product.solarNetwork.download.appstore.title": "App Store",
"page.product.solarNetwork.download.appstore.content": "为普通用户提供的稳定版本。留下评论以支持我们!",
"page.product.solarNetwork.download.appstore.visit": "访问商店页面",
"page.product.solarNetwork.download.latest.title": "最新发布",
"page.product.solarNetwork.download.latest.view": "在 GitHub 上查看",
"page.product.solarNetwork.support.title": "需要帮助?",
"page.product.solarNetwork.support.content": "随时联系我们的客服或在 GitHub 上报告错误。",
"page.product.solarNetwork.support.report": "报告问题",
"page.product.solarNetwork.support.contact": "联系支持"
}

View File

@@ -1,22 +1,67 @@
import tailwindcss from "@tailwindcss/vite";
import AutoImport from "unplugin-auto-import/vite";
import Components from "unplugin-vue-components/vite";
import { NaiveUiResolver } from "unplugin-vue-components/resolvers";
import { generateTailwindColorThemes } from "@bg-dev/nuxt-naiveui/utils";
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: "2025-07-15",
devtools: { enabled: true },
css: ["~/assets/css/main.css"],
app: {
pageTransition: { name: "page", mode: "out-in" },
head: {
title: "Solsynth",
titleTemplate: "%s - Solsynth",
link: [{ rel: "icon", type: "image/png", href: "/favicon.png" }],
},
},
scripts: {
globals: {
umami: {
src: "https://cloud.umami.is/script.js",
"data-website-id": "eef151fb-07e2-461b-8b7f-2547aab735d4",
defer: true,
modules: [
"@nuxt/content",
"@nuxt/eslint",
"@nuxt/image",
"@nuxt/scripts",
"@vueuse/nuxt",
"@bg-dev/nuxt-naiveui",
"@nuxtjs/i18n",
],
i18n: {
langDir: ".",
strategy: "prefix_except_default",
locales: [
{
code: "en",
name: "English",
file: "en.json",
},
},
{
code: "zh-cn",
name: "简体中文",
file: "zh-cn.json",
},
],
defaultLocale: "en",
},
vite: {
plugins: [
tailwindcss(),
AutoImport({
imports: [
{
"naive-ui": [
"useDialog",
"useMessage",
"useNotification",
"useLoadingBar",
],
},
],
}),
Components({
resolvers: [NaiveUiResolver()],
}),
],
},
nitro: {
preset: "cloudflare_module",
@@ -39,14 +84,40 @@ export default defineNuxtConfig({
bindingName: "DB",
},
},
modules: [
"@nuxt/content",
"@nuxt/eslint",
"@nuxt/image",
"@nuxt/scripts",
"@nuxtjs/tailwindcss",
"nuxtjs-naive-ui",
"@vueuse/nuxt",
"@eschricht/nuxt-color-mode",
],
naiveui: {
colorModePreference: "system",
colorModePreferenceCookieName: "fi-ColorMode",
themeConfig: {
...generateTailwindColorThemes(),
shared: {
common: {
fontFamily:
"Nunito Variable, v-sans, ui-system, -apple-system, sans-serif",
primaryColor: "#3F51B5FF",
primaryColorHover: "#5767C1FF",
primaryColorPressed: "#3546A4FF",
primaryColorSuppl: "#4C5EC5FF",
borderRadius: "16px",
borderRadiusSmall: "8px",
},
Input: {
borderRadius: "8px",
},
Select: {
borderRadius: "8px",
},
Dropdown: {
borderRadius: "8px",
},
Button: {
borderRadius: "8px",
borderRadiusLarge: "12px",
borderRadiusMedium: "8px",
borderRadiusSmall: "4px",
},
},
light: {},
dark: {},
},
},
});

15285
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -7,31 +7,38 @@
"dev": "nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare"
"postinstall": "nuxt prepare",
"deploy": "npx wrangler --cwd .output deploy --name capital"
},
"dependencies": {
"@eschricht/nuxt-color-mode": "1.2.0",
"@fontsource-variable/nunito": "^5.2.6",
"@bg-dev/nuxt-naiveui": "^2.0.0",
"@fontsource-variable/nunito": "^5.2.7",
"@nuxt/content": "3.6.3",
"@nuxt/eslint": "1.7.1",
"@nuxt/image": "1.10.0",
"@nuxt/scripts": "0.11.10",
"@nuxtjs/tailwindcss": "6.14.0",
"@octokit/rest": "^22.0.0",
"@unhead/vue": "^2.0.3",
"@vueuse/core": "^13.6.0",
"@nuxtjs/i18n": "10.2.1",
"@octokit/rest": "^22.0.1",
"@unhead/vue": "^2.0.19",
"@vueuse/core": "^13.9.0",
"@vueuse/nuxt": "13.6.0",
"better-sqlite3": "^12.2.0",
"eslint": "^9.0.0",
"nuxt": "^4.0.1",
"better-sqlite3": "^12.5.0",
"eslint": "^9.39.1",
"nuxt": "^4.2.1",
"nuxtjs-naive-ui": "1.0.2",
"typed.js": "^2.1.0",
"vue": "^3.5.18",
"vue-router": "^4.5.1",
"wrangler": "^4.26.1"
"vue": "^3.5.25",
"vue-router": "^4.6.3",
"wrangler": "^4.51.0"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.16",
"@vicons/material": "^0.13.0"
"@tailwindcss/typography": "^0.5.19",
"@tailwindcss/vite": "^4.1.17",
"@vicons/ionicons5": "^0.13.0",
"@vicons/material": "^0.13.0",
"daisyui": "^5.5.5",
"naive-ui": "^2.43.2",
"unplugin-auto-import": "^20.3.0",
"unplugin-vue-components": "^30.0.0"
}
}