This commit is contained in:
2026-02-24 21:59:53 +00:00
parent db2e6834d1
commit a93d3878f5
7 changed files with 8 additions and 26 deletions
@@ -8,8 +8,8 @@ type DuckModelProps = {
};
export function DuckModel({ onUpdate, onAssetsLoaded, currentSection }: DuckModelProps) {
const character = useGLTF('/static/duck3D/Character_output.glb');
const animations = useGLTF('/static/duck3D/Meshy_Merged_Animations.glb');
const character = useGLTF('https://static.officer.dev/duck3D/Character_output.glb');
const animations = useGLTF('https://static.officer.dev/duck3D/Meshy_Merged_Animations.glb');
const meshRef = useRef<any>(null);
const { actions } = useAnimations(animations.animations, meshRef);
@@ -31,7 +31,7 @@ export function Header({ dockItems }: HeaderProps) {
)}
<Link to="/">
<img
src="/static/officer-logo.svg"
src="https://static.officer.dev/officer-logo.svg"
alt="Officer"
className="h-8 md:h-12 w-auto"
style={{ transform: 'skew(-15deg, -2deg)' }}
-12
View File
@@ -10,18 +10,6 @@ import { Toaster as Sonner } from 'sonner';
import { TooltipProvider } from '@/components/ui/tooltip';
import './styles/index.css';
const headLinks = [
{ rel: 'icon', type: 'image/svg+xml', href: '/static/favicon.svg' },
{ rel: 'icon', type: 'image/png', sizes: '96x96', href: '/static/favicon-96x96.png' },
{ rel: 'apple-touch-icon', href: '/static/apple-touch-icon.png' },
{ rel: 'manifest', href: '/static/site.webmanifest' },
];
for (const attrs of headLinks) {
const link = document.createElement('link');
for (const [key, value] of Object.entries(attrs)) link.setAttribute(key, value);
document.head.appendChild(link);
}
const queryClient = new QueryClient({
defaultOptions: {