Skip to content
This repository was archived by the owner on Apr 21, 2026. It is now read-only.

Commit 70e1e96

Browse files
authored
Merge pull request #30 from paiindustries/fix/blog
Fix/blog
2 parents acdcd95 + f97b001 commit 70e1e96

17 files changed

Lines changed: 32 additions & 39 deletions

File tree

app/models/User.cfc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ component extends="app.Models.Model" {
6161
column="profile_picture",
6262
dataType="string",
6363
label="Profile Picture",
64-
defaultValue="/images/avatar-rounded.webp"
64+
defaultValue="avatar-rounded.webp"
6565
);
6666

6767
// Profile URL Computed Property

app/views/layout.cfm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
<li class="nav-item dropdown px-3">
128128
<a href="javascript:void(0)" class="nav-link p-0" id="profilePicDropdown" data-bs-toggle="dropdown" aria-expanded="false">
129129
<cfif !structKeyExists(session, "profilePic") OR session.profilePic == "">
130-
<cfset session.profilePic = "/images/avatar-rounded.webp">
130+
<cfset session.profilePic = "avatar-rounded.webp">
131131
</cfif>
132132
<cfoutput>
133133
#imageTag(source = '#session.profilePic#', alt="user profile pic", height="40", width="40", class="rounded-circle")#

app/views/web/ApiController/index.cfm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<div class="d-flex api flex-wrap align-items-center justify-content-end gap-3">
99
<button
1010
onclick="handleApiSection('All', this)"
11-
class="active px-4 filter-button fs-16 py-2 d-flex align-items-center gap-2 rounded-3 border--iris bg-transparent text--secondary">
11+
class="active px-4 filter-button fs-16 py-2 d-flex align-items-center gap-2 rounded-3 border--primary bg-transparent text--secondary">
1212
A-Z Functions<small>(<span class="functioncount"><cfoutput>#arraylen(docs.functions)#</cfoutput></span>)</small>
1313
<svg class="d-none" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
1414
<path
@@ -18,7 +18,7 @@
1818
</button>
1919
<button
2020
onclick="handleApiSection('Sections', this)"
21-
class="px-4 filter-button fs-16 py-2 d-flex align-items-center gap-2 rounded-3 border--iris bg-transparent text--secondary">
21+
class="px-4 filter-button fs-16 py-2 d-flex align-items-center gap-2 rounded-3 border--primary bg-transparent text--secondary">
2222
Sections
2323
<svg class="d-none" width="16" height="16" viewBox="0 0 16 16" fill="none"
2424
xmlns="http://www.w3.org/2000/svg">

app/views/web/ApiController/partials/_categorydefinition.cfm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
<cfif isArray(meta.parameters) && arrayLen(meta.parameters)>
6262
<div class="mt-4 overflow-x-auto no-scrollbar">
6363
<table class="table table-responsive">
64-
<thead class="table--iris">
64+
<thead class="table--primary">
6565
<tr>
6666
<th class="text-white px-lg-3 px-1 fs-14 fw-semibold">Name</th>
6767
<th class="text-white px-lg-3 px-1 fs-14 fw-semibold">Type</th>
@@ -100,7 +100,7 @@
100100
class="p-4 rounded-18">
101101
<div class="fs-14 fw-normal m-0 p-0">#meta.extended.docs#</div>
102102
<div class="text-end">
103-
<i class="bi bi-copy text--iris fs-5 cursor-pointer" onclick="copyToClipboard(this)"></i>
103+
<i class="bi bi-copy text--primary fs-5 cursor-pointer" onclick="copyToClipboard(this)"></i>
104104
<span class="text-success fs-5 fw-bold d-none">Copied!</span>
105105
</div>
106106
</div>

app/views/web/ApiController/partials/_definition.cfm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
<cfif isArray(meta.parameters) && arrayLen(meta.parameters)>
6161
<div class="mt-4 overflow-x-auto no-scrollbar">
6262
<table class="table table-responsive">
63-
<thead class="table--iris">
63+
<thead class="table--primary">
6464
<tr>
6565
<th class="text-white px-lg-3 px-1 fs-14 fw-semibold">Name</th>
6666
<th class="text-white px-lg-3 px-1 fs-14 fw-semibold">Type</th>
@@ -99,7 +99,7 @@
9999
class="p-4 rounded-18">
100100
<div class="fs-14 fw-normal m-0 p-0">#meta.extended.docs#</div>
101101
<div class="text-end">
102-
<i class="bi bi-copy text--iris fs-5 cursor-pointer" onclick="copyToClipboard(this)"></i>
102+
<i class="bi bi-copy text--primary fs-5 cursor-pointer" onclick="copyToClipboard(this)"></i>
103103
<span class="text-success fs-5 fw-bold d-none">Copied!</span>
104104
</div>
105105
</div>

app/views/web/ApiController/partials/_functionlist.cfm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ writeOutput('<label>Quick Search</label>
88
</div>
99
<p id="functionlistoutput">
1010
<a href="" class="docreset" hx-get="/api/#currentVersion#/functions" hx-trigger="click" hx-target="##main"hx-swap="innerHTML"
11-
class="load-more-trigger mt-3"><i class="fa fa-eye"></i><p class="fs-14 cursor-pointer fw-normal text--iris">All</p></a>');
11+
class="load-more-trigger mt-3"><i class="fa fa-eye"></i><p class="fs-14 cursor-pointer fw-normal text--primary">All</p></a>');
1212
1313
for (var func = 1; func <= arrayLen(docs.functions); func++) {
1414
var meta = docs.functions[func];
@@ -28,7 +28,7 @@ for (var func = 1; func <= arrayLen(docs.functions); func++) {
2828
>
2929
<input type='hidden' name='slug' value='#functionSlug#'>
3030
<input type='hidden' name='version' value='#params.version#'>
31-
<p class='fs-14 cursor-pointer fw-normal text--iris'>#meta.name#()</p>
31+
<p class='fs-14 cursor-pointer fw-normal text--primary'>#meta.name#()</p>
3232
</a>");
3333
}
3434

app/views/web/ApiController/partials/_moredefinition.cfm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
<cfif isArray(meta.parameters) && arrayLen(meta.parameters)>
6262
<div class="mt-4 overflow-x-auto no-scrollbar">
6363
<table class="table table-responsive">
64-
<thead class="table--iris">
64+
<thead class="table--primary">
6565
<tr>
6666
<th class="text-white px-lg-3 px-1 fs-14 fw-semibold">Name</th>
6767
<th class="text-white px-lg-3 px-1 fs-14 fw-semibold">Type</th>
@@ -100,7 +100,7 @@
100100
class="p-4 rounded-18">
101101
<div class="fs-14 fw-normal m-0 p-0">#meta.extended.docs#</div>
102102
<div class="text-end">
103-
<i class="bi bi-copy text--iris fs-5 cursor-pointer" onclick="copyToClipboard(this)"></i>
103+
<i class="bi bi-copy text--primary fs-5 cursor-pointer" onclick="copyToClipboard(this)"></i>
104104
<span class="text-success fs-5 fw-bold d-none">Copied!</span>
105105
</div>
106106
</div>

app/views/web/ApiController/partials/_sectiondefinition.cfm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
<cfif isArray(meta.parameters) && arrayLen(meta.parameters)>
6262
<div class="mt-4 overflow-x-auto no-scrollbar">
6363
<table class="table table-responsive">
64-
<thead class="table--iris">
64+
<thead class="table--primary">
6565
<tr>
6666
<th class="text-white px-lg-3 px-1 fs-14 fw-semibold">Name</th>
6767
<th class="text-white px-lg-3 px-1 fs-14 fw-semibold">Type</th>
@@ -100,7 +100,7 @@
100100
class="p-4 rounded-18">
101101
<div class="fs-14 fw-normal m-0 p-0">#meta.extended.docs#</div>
102102
<div class="text-end">
103-
<i class="bi bi-copy text--iris fs-5 cursor-pointer" onclick="copyToClipboard(this)"></i>
103+
<i class="bi bi-copy text--primary fs-5 cursor-pointer" onclick="copyToClipboard(this)"></i>
104104
<span class="text-success fs-5 fw-bold d-none">Copied!</span>
105105
</div>
106106
</div>

app/views/web/ApiController/partials/_sections.cfm

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ if (structKeyExists(docs, "sections")) {
99
writeOutput('
1010
<div class="accordion-item bg-transparent border-0">
1111
<div class="accordion-header section pe-2 text-white" data-section="' & sectionId & '">
12-
<button class="accordion-button fs-14 fw-normal shadow-none p-2 rounded-3 text--iris collapsed"
13-
style="background-color: rgba(179, 179, 179, 0.12);"
12+
<button class="accordion-button fs-14 fw-normal shadow-none bg--primary/10 p-2 rounded-3 text--primary collapsed"
1413
type="button"
1514
data-section="#sectionId#"
1615
type="button" data-bs-toggle="collapse" data-bs-target="##' & sectionId & '"
@@ -38,7 +37,7 @@ if (structKeyExists(docs, "sections")) {
3837
hx-swap="innerHTML">
3938
<input type="hidden" name="section" value="#sectionId#">
4039
<input type="hidden" name="category" value="#categoryId#">
41-
<p class="fs-14 fw-normal cursor-pointer text--iris">#categoryName#</p>
40+
<p class="fs-14 fw-normal cursor-pointer text--primary">#categoryName#</p>
4241
</a>
4342
');
4443
}
@@ -51,8 +50,7 @@ if (structKeyExists(docs, "sections")) {
5150
5251
// Adding "Uncategorized" section at the end
5352
writeOutput('
54-
<button class="accordion-button fs-14 fw-normal shadow-none p-2 rounded-3 text--iris collapsed"
55-
style="background-color: rgba(179, 179, 179, 0.12);"
53+
<button class="accordion-button fs-14 fw-normal shadow-none bg--primary/10 p-2 rounded-3 text--primary collapsed"
5654
5755
type="button"
5856
hx-get="/api/#params.version#/functions/section" hx-include="this" hx-target="##main" hx-swap="innerHTML">

app/views/web/ApiController/show.cfm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
</div>
5959
<div class="mt-4 overflow-x-auto no-scrollbar">
6060
<table class="table table-responsive">
61-
<thead class="table--iris">
61+
<thead class="table--primary">
6262
<tr>
6363
<th class="text-white px-lg-3 px-1 fs-14 fw-semibold">Name</th>
6464
<th class="text-white px-lg-3 px-1 fs-14 fw-semibold">Type</th>

0 commit comments

Comments
 (0)