Skip to content

Commit

Permalink
chore: Update UI color palette and configuration files
Browse files Browse the repository at this point in the history
  • Loading branch information
Reza Jafar committed May 24, 2024
1 parent aef602c commit 73e4f86
Show file tree
Hide file tree
Showing 10 changed files with 77 additions and 57 deletions.
4 changes: 3 additions & 1 deletion .nuxt/app.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ const inlineConfig = {
"fuchsia",
"pink",
"rose",
"primary"
"primary",
"secondary",
"gold"
],
"strategy": "merge"
}
Expand Down
2 changes: 1 addition & 1 deletion .nuxt/content-cache/parsed/content/0.index.yml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions .nuxt/nuxtui-tailwind.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
vue: (content) => {
return [
...defaultExtractor(content),
...customSafelistExtractor("U", content, ["red","orange","amber","yellow","lime","green","emerald","teal","cyan","sky","blue","indigo","violet","purple","fuchsia","pink","rose","primary"], ["primary"])
...customSafelistExtractor("U", content, ["red","orange","amber","yellow","lime","green","emerald","teal","cyan","sky","blue","indigo","violet","purple","fuchsia","pink","rose","primary","secondary","gold"], ["primary"])
]
}
}
},
safelist: generateSafelist(["primary"], ["red","orange","amber","yellow","lime","green","emerald","teal","cyan","sky","blue","indigo","violet","purple","fuchsia","pink","rose","primary"]),
safelist: generateSafelist(["primary"], ["red","orange","amber","yellow","lime","green","emerald","teal","cyan","sky","blue","indigo","violet","purple","fuchsia","pink","rose","primary","secondary","gold"]),
}

2 changes: 1 addition & 1 deletion .nuxt/tailwind.config.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// generated by the @nuxtjs/tailwindcss <https://github.com/nuxt-modules/tailwindcss> module at 5/23/2024, 8:56:51 PM
// generated by the @nuxtjs/tailwindcss <https://github.com/nuxt-modules/tailwindcss> module at 5/24/2024, 12:36:12 AM
const configMerger = require("/Users/rezajafar/peakofeloquence-app/node_modules/@nuxtjs/tailwindcss/dist/runtime/merger.mjs");

const inlineConfig = {"content":[],"theme":{"extend":{}},"plugins":[],"darkMode":"class"};
Expand Down
2 changes: 1 addition & 1 deletion .nuxt/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
"./tailwind.config/*"
],
"#app-manifest": [
"./manifest/meta/dev"
"./manifest/meta/dev.json"
],
"#build": [
"."
Expand Down
4 changes: 3 additions & 1 deletion .nuxt/types/app.config.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ declare const inlineConfig = {
"fuchsia",
"pink",
"rose",
"primary"
"primary",
"secondary",
"gold"
],
"strategy": "merge"
}
Expand Down
40 changes: 20 additions & 20 deletions .nuxt/types/tailwind.config.d.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .nuxt/ui.colors.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
declare module '#ui-colors' { const defaultExport: ["red","orange","amber","yellow","lime","green","emerald","teal","cyan","sky","blue","indigo","violet","purple","fuchsia","pink","rose","primary"]; export default defaultExport; }
declare module '#ui-colors' { const defaultExport: ["red","orange","amber","yellow","lime","green","emerald","teal","cyan","sky","blue","indigo","violet","purple","fuchsia","pink","rose","primary","secondary","gold"]; export default defaultExport; }
2 changes: 1 addition & 1 deletion .nuxt/ui.colors.mjs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default ["red","orange","amber","yellow","lime","green","emerald","teal","cyan","sky","blue","indigo","violet","purple","fuchsia","pink","rose","primary"];
export default ["red","orange","amber","yellow","lime","green","emerald","teal","cyan","sky","blue","indigo","violet","purple","fuchsia","pink","rose","primary","secondary","gold"];
72 changes: 44 additions & 28 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,30 +23,18 @@ useSeoMeta({
:description="page.hero.description"
:links="page.hero.links"
>
<!-- <div
class="absolute inset-0 landing-grid z-[-1] [mask-image:radial-gradient(100%_100%_at_top_right,white,transparent)] dark:[mask-image:radial-gradient(100%_100%_at_top_right,black,transparent)]"
/> -->

<!--------- HERO TEXT --------->
<template #title>
<span class="font-montserrat font-bold text-5xl">
<span class="font-montserrat font-bold text-6xl hero-title">
Discover the
<span
class="bg-gradient-to-r from-gray-900 via-gray-500 to-gray-600 dark:from-gray-300 dark:via-gray-400 dark:to-gray-500 bg-clip-text text-transparent"
>
Wisdom
</span>
<span class="hero-title-gradient"> Wisdom </span>
of
</span>
<br />
<span
class="font-playfair-display font-bold text-5xl bg-gradient-to-r from-gold-light via-gold to-gold-dark dark:from-gold-light dark:via-gold-light dark:to-gold bg-clip-text text-transparent"
>
<span class="font-playfair-display font-bold text-6xl hero-title-gradient">
Nahj al-Balagha
</span>
</template>

<!--------- HERO TEXT --------->
<template #headline>
<UBadge
v-if="page.hero.headline"
Expand All @@ -72,27 +60,27 @@ useSeoMeta({
</template>
</ULandingHero>

<!-------HERO IMAGE----------->

<ULandingSection>
<!-- <SplineFrame /> -->
<Placeholder />
</ULandingSection>

<!--------- FEATURES GRID SECTION --------->
<ULandingSection
v-for="(section, index) in page.sections"
:key="index"
:title="section.title"
:description="section.description"
:align="section.align"
:features="section.features"
class="bg-grayscale-50 dark:bg-gray-900"
>
<Placeholder />
<template #title>
<h2 class="custom-title-class">{{ section.title }}</h2>
</template>
<template #description>
<p class="custom-description-class">{{ section.description }}</p>
</template>
<Placeholder2 />
</ULandingSection>

<!--------- CARDS SECTION --------->
<ULandingSection
:title="page.features.title"
:description="page.features.description"
Expand All @@ -108,7 +96,6 @@ useSeoMeta({
</UPageGrid>
</ULandingSection>

<!--------- TESTIMONIALS SECTION --------->
<ULandingSection
:headline="page.testimonials.headline"
:title="page.testimonials.title"
Expand All @@ -128,17 +115,46 @@ useSeoMeta({
</div>
</UPageColumns>
</ULandingSection>
<!--------- SITE SECTION --------->

<ULandingSection class="bg-grayscale-50 dark:bg-gray-900">
<ULandingCTA v-bind="page.cta" class="bg-grayscale-200 dark:bg-gray-700" />
</ULandingSection>
</div>
</template>

<style scoped>
.landing-grid {
background-size: 100px 100px;
background-image: linear-gradient(to left, rgb(100, 100, 100) 1px, transparent 1px),
linear-gradient(to bottom, rgb(100, 100, 100) 1px, transparent 1px);
/*
.hero-title {
font-family: "Montserrat", sans-serif;
letter-spacing: 0.05em; /* Adjust letter spacing for the main title
}
*/
.hero-title-gradient {
background: linear-gradient(to right, #b7a087, #cfb192); /* Adjust gradient colors */
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
/*
.font-playfair-display {
font-family: "Playfair Display", serif;
}
*/
.custom-title-class {
/* font-family: "Playfair Display", serif; */
font-size: 3rem;
font-weight: bold;
color: #eec89f; /* Example color */
/* letter-spacing: 0.05em; */
margin-bottom: 1rem; /* Adjust title bottom margin */
}
.custom-description-class {
font-size: 1.125rem; /* Example size */
line-height: 1.75rem; /* Example line height */
color: white; /* Example color */
letter-spacing: 0.02em; /* Adjust letter spacing for description */
margin-top: 1rem; /* Example spacing */
margin-bottom: 2rem; /* Adjust description bottom margin */
}
</style>

0 comments on commit 73e4f86

Please sign in to comment.