Skip to content

Commit

Permalink
fix: deps and seo tag
Browse files Browse the repository at this point in the history
  • Loading branch information
aliefprihantoro committed Nov 17, 2024
1 parent 29b67ab commit 7ebac2e
Show file tree
Hide file tree
Showing 6 changed files with 710 additions and 439 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^6.21.0",
"concurrently": "^8.2.2",
"daisyui": "^4.12.13",
"eslint": "^9.13.0",
"daisyui": "^4.12.14",
"eslint": "^9.14.0",
"prettier": "^3.3.3",
"prettier-plugin-astro": "^0.13.0",
"tailwindcss": "^3.4.14",
Expand Down
8 changes: 4 additions & 4 deletions pkgs/ui/src/view/components/Nav/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ const ListNav = [
{
icon: '<svg xmlns="http://www.w3.org/2000/svg" width="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M8 7a4 4 0 1 1 8 0a4 4 0 0 1-8 0m0 6a5 5 0 0 0-5 5a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3a5 5 0 0 0-5-5z" clip-rule="evenodd"/></svg>',
name: 'about',
link: '/about.html',
link: '/p/about.html',
},
{
icon: '<svg xmlns="http://www.w3.org/2000/svg" width="24" viewBox="0 0 24 24"><path fill="currentColor" d="M9.004 3.416C8.432 2.606 7.64 2.241 6.8 2.25c-.797.008-1.573.349-2.221.803A6.2 6.2 0 0 0 2.92 4.79c-.41.649-.706 1.416-.666 2.165c.193 3.603 2.22 7.453 5.067 10.302c2.845 2.846 6.644 4.824 10.48 4.446c.752-.074 1.463-.457 2.044-.945a5.8 5.8 0 0 0 1.443-1.84c.34-.692.543-1.49.431-2.267c-.116-.81-.569-1.534-1.402-2.014a16 16 0 0 1-.512-.31c-.15-.093-.31-.194-.504-.31a7.5 7.5 0 0 0-1.249-.618c-.447-.163-.958-.27-1.49-.197c-.551.076-1.063.336-1.506.802c-.341.36-.843.472-1.549.268c-.718-.208-1.526-.724-2.228-1.422c-.702-.696-1.233-1.51-1.46-2.245c-.224-.728-.125-1.263.225-1.632c.473-.498.725-1.052.778-1.638c.052-.57-.09-1.106-.293-1.574c-.304-.699-.82-1.394-1.224-1.936a22 22 0 0 1-.3-.41"/></svg>',
name: 'contact',
link: '/contact.html',
link: '/p/contact.html',
},
{
icon: '<svg xmlns="http://www.w3.org/2000/svg" width="24" viewBox="0 0 24 24"><path fill="currentColor" d="M11 17h2v-6h-2zm1-8q.425 0 .713-.288T13 8t-.288-.712T12 7t-.712.288T11 8t.288.713T12 9m0 13q-3.475-.875-5.738-3.988T4 11.1V5l8-3l8 3v6.1q0 3.8-2.262 6.913T12 22"/></svg>',
name: 'privacy policy',
link: '/privacy-policy.html',
link: '/p/privacy-policy.html',
},
]

Expand All @@ -34,4 +34,4 @@ export default ListNav.map(({ icon, link, name }) => {
</a>
</li>
`
}).join('')
}).join('')
12 changes: 7 additions & 5 deletions pkgs/ui/src/view/pages/post/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,17 @@ export default function Post({
}) {
return html`
<div class="prose lg:prose-xl m-auto">
${BreadCrumb}
<b:if cond='data:blog.pageType != "static_page"'> ${BreadCrumb} </b:if>
<article class="bg-base-300 p-6 rounded-xl m-auto">
<h1>${title}</h1>
<hr />
${Content}
</article>
${NextPrev}
<h2 class="text-center uppercase font-Rokkit font-bold">Baca Juga :</h2>
<div class="w-full my-12 ">${RelatedPost}</div>
<b:if cond='data:blog.pageType != "static_page"'>
${NextPrev}
<h2 class="text-center uppercase font-Rokkit font-bold">Baca Juga :</h2>
<div class="w-full my-12 ">${RelatedPost}</div>
</b:if>
</div>
`
}
}
Loading

0 comments on commit 7ebac2e

Please sign in to comment.