Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-contact-c committed Nov 22, 2024
1 parent 911bb04 commit 272756c
Show file tree
Hide file tree
Showing 8 changed files with 1,008 additions and 366 deletions.
33 changes: 33 additions & 0 deletions nuxt-frontend/assets/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -149,3 +149,36 @@
font-weight: 700;
src: url(~/assets/fonts/Helvetica-Bold.woff2) format("woff2");
}

@font-face {
font-display: swap;
font-family: Charter-Regular;
font-style: normal;
font-weight: 400;
src: url(~/assets/fonts/charter-regular.woff2) format("woff2");
}

@font-face {
font-display: swap;
font-family: Charter-Regular-Italic;
font-style: italic;
font-weight: 400;
src: url(~/assets/fonts/charter-regular-italic.woff2) format("woff2");
}

@font-face {
font-display: swap;
font-family: Charter-Bold;
font-style: normal;
font-weight: 700;
src: url(~/assets/fonts/charter-bold.woff2) format("woff2");
}

@font-face {
font-display: swap;
font-family: Charter-Bold-Italic;
font-style: italic;
font-weight: 700;
src: url(~/assets/fonts/charter-bold-italic.woff2) format("woff2");
}

Binary file not shown.
Binary file added nuxt-frontend/assets/fonts/charter-bold.woff2
Binary file not shown.
Binary file not shown.
Binary file added nuxt-frontend/assets/fonts/charter-regular.woff2
Binary file not shown.
4 changes: 2 additions & 2 deletions nuxt-frontend/pages/[slug].vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div v-if="!assets">
<Header :animateOnScroll="false" />
<div :class="post.is_resource ? '' : 'container px-0'">
<div class="container px-0">
<BlogDetail
:mixpanel="$mixpanel"
:recaptcha-key="config.VITE_RECAPTCHA_SITE_KEY"
Expand Down Expand Up @@ -195,6 +195,6 @@ onMounted(() => {
</script>
<style lang="postcss">
.copy-btn {
@apply absolute top-3 right-3 border-1 px-2 bg-white text-[#1f2937] rounded-lg font-semibold;
@apply absolute top-3 right-3 border-1 px-2 bg-white text-[#1f2937] text-base rounded-lg font-semibold;
}
</style>
4 changes: 4 additions & 0 deletions nuxt-frontend/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@ module.exports = {
"helvetica-light": ["Helvetica-Light"],
"helvetica-regular": ["Helvetica-Regular"],
"helvetica-Bold": ["Helvetica-Bold"],
"charter-regular": ["Charter-Regular"],
"charter-bold": ["Charter-Bold"],
"charter-regular-italic": ["Charter-Regular-Italic"],
"charter-bold-italic": ["Charter-Bold-Italic"],
},
letterSpacing: {
"extra-wider": "0.0625em",
Expand Down
1,333 changes: 969 additions & 364 deletions nuxt-frontend/yarn.lock

Large diffs are not rendered by default.

0 comments on commit 272756c

Please sign in to comment.