chore(website): tailwind important; footer
This commit is contained in:
@@ -13,26 +13,27 @@ export default function Footer() {
|
||||
<div className="max-w-7xl mx-auto px-6 py-6">
|
||||
<div className="flex flex-col md:flex-row justify-between items-center space-y-4 md:space-y-0">
|
||||
<div className="text-gray-600 dark:text-gray-300 text-sm text-center md:text-left">
|
||||
<p>© 2026 page-agent. All rights reserved.</p>
|
||||
<p>
|
||||
Built with ♥️ by{' '}
|
||||
<a
|
||||
href="https://x.com/simonluvramen"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="hover:text-gray-900 dark:hover:text-white transition-colors duration-200"
|
||||
className="inline-block bg-[linear-gradient(60deg,#39b6ff_0%,#bd45fb_33%,#ff5733_66%,#ffd600_100%)] bg-clip-text text-xs leading-none text-transparent font-mono transition-opacity duration-200 hover:opacity-85"
|
||||
>
|
||||
Simon
|
||||
Simon.
|
||||
</a>
|
||||
</p>
|
||||
<p className="text-gray-600 dark:text-gray-300 text-xs mt-0.5">
|
||||
© 2026 page-agent. All rights reserved.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="flex items-center space-x-6">
|
||||
<div className="flex items-center">
|
||||
<a
|
||||
href="https://github.com/alibaba/page-agent/blob/main/docs/terms-and-privacy.md"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="text-gray-600 dark:text-gray-300 hover:text-gray-900 dark:hover:text-white transition-colors duration-200 text-sm"
|
||||
className="text-gray-600 dark:text-gray-300 hover:text-gray-900 dark:hover:text-white transition-colors duration-200 text-sm mr-4"
|
||||
>
|
||||
{isZh ? '使用条款与隐私' : 'Terms & Privacy'}
|
||||
</a>
|
||||
@@ -40,7 +41,7 @@ export default function Footer() {
|
||||
href="https://x.com/simonluvramen"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="text-gray-600 dark:text-gray-300 hover:text-gray-900 dark:hover:text-white transition-colors duration-200"
|
||||
className="text-gray-600 dark:text-gray-300 hover:text-gray-900 dark:hover:text-white transition-colors duration-200 mr-4"
|
||||
aria-label="X (Twitter)"
|
||||
>
|
||||
<svg
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
@import 'tailwindcss' important;
|
||||
@config '../tailwind.config.js';
|
||||
@import 'tailwindcss';
|
||||
@import 'tw-animate-css';
|
||||
|
||||
@custom-variant dark (&:is(.dark *));
|
||||
|
||||
3
packages/website/tailwind.config.js
Normal file
3
packages/website/tailwind.config.js
Normal file
@@ -0,0 +1,3 @@
|
||||
export default {
|
||||
important: '#root',
|
||||
}
|
||||
@@ -13,7 +13,7 @@ const pageAgentPkg = JSON.parse(
|
||||
)
|
||||
|
||||
// Load .env from repo root
|
||||
dotenvConfig({ path: resolve(__dirname, '../../.env') })
|
||||
dotenvConfig({ path: resolve(__dirname, '../../.env'), quiet: true })
|
||||
|
||||
// All SPA routes that need index.html copies for direct access on static hosts
|
||||
const SPA_ROUTES = [
|
||||
|
||||
Reference in New Issue
Block a user