Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.20.2 Release #338

Draft
wants to merge 125 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
125 commits
Select commit Hold shift + click to select a range
4ef518b
Merge branch "main" to "beta". (#261)
Alex-Toucan Aug 26, 2024
6a73ba7
Bump website version to 2.19.2.1. (#262)
Alex-Toucan Aug 26, 2024
7d13a6a
Update dependency.
Alex-Toucan Aug 27, 2024
6347a5c
Simplify hero buttons. (#263)
Alex-Toucan Aug 28, 2024
ea71456
Upgrade Astro from v4.14.5 to v4.15.6 (complies with #264)
Alex-Toucan Aug 28, 2024
229e38f
Add `sourcemaking.com` a resource in CodingHome. (#265)
Alex-Toucan Aug 28, 2024
5d6373d
Upgrade Astro from v4.14.6 to v4.15.1 (complies with #266)
Alex-Toucan Aug 30, 2024
a2d044a
Merge branch 'main' into beta
Alex-Toucan Sep 1, 2024
af0890e
Comply with #267
Alex-Toucan Sep 1, 2024
5fe9a2c
Update astro to from v4.15.1 to v4.15.2.
Alex-Toucan Sep 3, 2024
50d194a
Keep archive buttons consistent.
Alex-Toucan Sep 3, 2024
f481316
Turn off the alert.
Alex-Toucan Sep 3, 2024
c09b128
Add changelog.
Alex-Toucan Sep 3, 2024
44c61fc
fix small oversight
Alex-Toucan Sep 3, 2024
d985c6f
no more space
Alex-Toucan Sep 3, 2024
9804ddf
Rename the directory for the Contact Form from `/form` to `/contact`.…
Alex-Toucan Oct 11, 2024
5e21c50
Change the text in the navbar from 'AT Products' to 'Home'.
Alex-Toucan Oct 13, 2024
4d56181
Bump version to 2.20.1
Alex-Toucan Oct 13, 2024
4520b8a
Changed the donations card's content to be a flexbox.
Alex-Toucan Oct 13, 2024
46b937d
Removed vr from previous commit
Alex-Toucan Oct 13, 2024
988116a
Move a phrase around in paid terms.
Alex-Toucan Oct 13, 2024
bdc9e1f
Rename some main IDs for paidterms and terms.
Alex-Toucan Oct 13, 2024
fb1fa43
Update licenses to include highlight.js and dracula themes
Alex-Toucan Oct 13, 2024
6cfd829
Update Navbar.astro
Alex-Toucan Oct 13, 2024
7c55fe4
Update licenses to include highlight.js and dracula themes (#318)
Alex-Toucan Oct 14, 2024
5f77df3
Enable alert.
Alex-Toucan Oct 14, 2024
cb80b62
Update stories to have a professional layout. (#319)
Alex-Toucan Oct 15, 2024
89550e1
Update alert-1.js
Alex-Toucan Oct 15, 2024
d06078e
Update alert-1.js
Alex-Toucan Oct 15, 2024
e06d2c3
Update alert-2.js
Alex-Toucan Oct 15, 2024
c649741
Update codinghome.astro
Alex-Toucan Oct 15, 2024
9c98717
Update codinghome.astro
Alex-Toucan Oct 15, 2024
2dcdf4f
Update codinghome.astro
Alex-Toucan Oct 15, 2024
1067d95
Update codinghome.astro
Alex-Toucan Oct 15, 2024
9fc9918
Merge branch 'main' into beta
Alex-Toucan Oct 15, 2024
ff385d1
Add more resources to CodingHome. (#322)
Alex-Toucan Oct 15, 2024
7d02115
Merge branch 'beta' of https://github.com/Alex-Toucan/atproducts.xyz …
Alex-Toucan Oct 15, 2024
69e5670
Update privacy.astro
Alex-Toucan Oct 15, 2024
e01a25d
Merge branch 'beta' of https://github.com/Alex-Toucan/atproducts.xyz …
Alex-Toucan Oct 16, 2024
61853c8
Added more resources into CodingHome. (#326)
Alex-Toucan Oct 16, 2024
5fcec3e
Add 2 sections to C++ Basics in CodingHome. (#327)
Alex-Toucan Oct 17, 2024
f27f41e
Add buttons to most basics in CodingHome. (#328)
Alex-Toucan Oct 17, 2024
48e6f57
Merge branch 'main' into beta
Alex-Toucan Oct 17, 2024
999beec
Update stories to contain source references.
Alex-Toucan Oct 17, 2024
d63298d
Add StoryViewer icon + Redo alt attributes.
Alex-Toucan Oct 20, 2024
a49bcff
Fix a invaild link.
Alex-Toucan Oct 20, 2024
995191f
Fix a invaild link.
Alex-Toucan Oct 20, 2024
d3862d0
Reverse logos
Alex-Toucan Oct 20, 2024
953eb76
Fix
Alex-Toucan Oct 20, 2024
f966805
Fix
Alex-Toucan Oct 20, 2024
b1dc39d
Replace logos
Alex-Toucan Oct 20, 2024
b7386a1
Revert "Replace logos"
Alex-Toucan Oct 20, 2024
d2aa7a8
Replace logos
Alex-Toucan Oct 20, 2024
c8e6c83
Revert "Replace logos"
Alex-Toucan Oct 20, 2024
d212635
Replace logos
Alex-Toucan Oct 20, 2024
0297ef4
Final fix
Alex-Toucan Oct 20, 2024
5151710
Remove ms on navbar.
Alex-Toucan Oct 20, 2024
f13c3a6
Kept the stories navbar up-to-date.
Alex-Toucan Oct 21, 2024
f2327db
Add 2.20.1 Changelog. (#330)
Alex-Toucan Oct 21, 2024
2117d79
Merge branch 'main' into beta
Alex-Toucan Oct 21, 2024
56e9677
Update archive.astro
Alex-Toucan Oct 22, 2024
02124c9
Update archive.astro
Alex-Toucan Oct 22, 2024
fa8a566
Update changelog to reflect #331.
Alex-Toucan Oct 22, 2024
3ae7e79
Merge branch 'main' into beta
Alex-Toucan Oct 22, 2024
2f0e998
Properly update
Alex-Toucan Oct 22, 2024
f49b22d
Add a new section just in case if there is no sections to scroll to i…
Alex-Toucan Oct 23, 2024
9528f9a
Replace logo.
Alex-Toucan Oct 23, 2024
c0bfd96
Add new a story, 'The Internet Now is Dull and Gray'. (#332)
Alex-Toucan Oct 23, 2024
3f180e2
Fix date on div story.
Alex-Toucan Oct 23, 2024
5cdbad3
Fix changelog.
Alex-Toucan Oct 23, 2024
509744c
Fix changelog.
Alex-Toucan Oct 23, 2024
bf50cda
Replace logos.
Alex-Toucan Oct 23, 2024
ff6c724
Fix Public Archive's flexbox.
Alex-Toucan Oct 24, 2024
01da1af
Fix conflicts.
Alex-Toucan Oct 24, 2024
6e6092e
Merge branch 'beta' of https://github.com/Alex-Toucan/atproducts.xyz …
Alex-Toucan Oct 25, 2024
5bf0d6a
Replace StoryViewer logos
Alex-Toucan Oct 25, 2024
dd7dc23
fix
Alex-Toucan Oct 25, 2024
36883f8
Update MDickie's Project to be current
Alex-Toucan Oct 26, 2024
d47606a
Replace logos, again.
Alex-Toucan Oct 28, 2024
6434fe4
Update the progress bar to support overflow the future years. (#334)
Alex-Toucan Oct 28, 2024
426bb5a
Merge branch 'beta' of https://github.com/Alex-Toucan/atproducts.xyz …
Alex-Toucan Oct 28, 2024
2c6bdcc
Add resources.
Alex-Toucan Oct 28, 2024
d4802ae
Update website version to 2.20.1.1
Alex-Toucan Oct 28, 2024
fa14ae2
Update gaps to be 2 from md.
Alex-Toucan Oct 28, 2024
6f2784b
Update website version to 2.20.1.1
Alex-Toucan Oct 28, 2024
cc5150e
Reformat some text in Flash Documentation's scrollspies as headers.
Alex-Toucan Oct 28, 2024
fa10ff6
Fix reformat errors
Alex-Toucan Oct 28, 2024
c52343c
Update the Title II and VII policy to be more proper. (#336)
Alex-Toucan Oct 28, 2024
89e1f78
Fix 1 - Flash Documentation
Alex-Toucan Oct 29, 2024
a56d846
Update flash.astro
Alex-Toucan Oct 29, 2024
9f19041
Update discord.astro
Alex-Toucan Oct 30, 2024
7e94258
Merge branch 'main' into beta
Alex-Toucan Oct 30, 2024
5df3540
Update cctv.astro
Alex-Toucan Oct 30, 2024
41b8b72
Fix 3 - Flash Documentation
Alex-Toucan Oct 30, 2024
cf6718f
Merge branch 'beta' of https://github.com/Alex-Toucan/atproducts.xyz …
Alex-Toucan Oct 30, 2024
83c6d31
Remove halloween bulletin
Alex-Toucan Nov 1, 2024
565e0f4
Bump website version to 2.20.2. (#343)
Alex-Toucan Nov 5, 2024
1718efe
Delete public/.well-known directory
Alex-Toucan Nov 5, 2024
207d330
Update stories to have a container. (#342)
Alex-Toucan Nov 5, 2024
9f96d56
Add PDF buttons to stories. (#344)
Alex-Toucan Nov 6, 2024
9a54a6e
Add resources to CodingHome. (#345)
Alex-Toucan Nov 6, 2024
624c980
Added the Arcade patch w/ Federation Online. (MDickie Projects) (#346)
Alex-Toucan Nov 6, 2024
1ef953a
Add more files into MDickie Projects. (#348)
Alex-Toucan Nov 11, 2024
210fd63
Merge branch 'main' into beta
Alex-Toucan Nov 14, 2024
4dfc877
Add files via upload
Alex-Toucan Nov 15, 2024
28288c4
Add files via upload
Alex-Toucan Nov 17, 2024
8abf2fb
Add files via upload
Alex-Toucan Nov 17, 2024
75f931d
Fix conflicts.
Alex-Toucan Nov 21, 2024
fce5490
Merge branch 'main' into beta
Alex-Toucan Nov 21, 2024
a91cddb
Merge branch 'main' into beta
Alex-Toucan Nov 22, 2024
257403f
Add a new story, "Technology Influences Young Audiences". (#349)
Alex-Toucan Nov 24, 2024
e7bf00a
Update security policy. (#353)
Alex-Toucan Nov 24, 2024
a6084e3
Remove additional programming languages for PSON. (#354)
Alex-Toucan Nov 24, 2024
00d59f1
Fix title
Alex-Toucan Nov 24, 2024
884f150
Merge branch 'beta' of https://github.com/Alex-Toucan/atproducts.xyz …
Alex-Toucan Nov 24, 2024
6d1fa9f
Add NyaOS. (#356)
Alex-Toucan Nov 25, 2024
309d799
Add story 'Sci-Fi Stories Become Reality'. (#355)
Alex-Toucan Nov 25, 2024
874c0f5
Merge branch 'main' of https://github.com/Alex-Toucan/atproducts.xyz …
Alex-Toucan Nov 25, 2024
589fc28
Add RFC Editor to CodingHome Resources. (#357)
Alex-Toucan Nov 25, 2024
4370461
Merge branch 'beta' of https://github.com/Alex-Toucan/atproducts.xyz …
Alex-Toucan Nov 25, 2024
771de16
Update NyaOS.iso file.
Alex-Toucan Nov 26, 2024
fbe5eb9
Add files via upload
Alex-Toucan Nov 26, 2024
23c25b5
Add files via upload
Alex-Toucan Nov 26, 2024
5986113
Update scifi.astro
Alex-Toucan Nov 26, 2024
f9dfd68
Update other.css
Alex-Toucan Nov 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div align="center">
<a href="https://atproducts.xyz"><img src="/public/media/images/ATProductsLLC.png" alt="AT Products LLC" width="75%"></a>
<br><br>
<p>
<p>
<img src="https://img.shields.io/badge/made%20with-love-E760A4.svg" alt="Made with love">
<a href="https://opensource.org/licenses/MIT" target="_blank"><img src="https://img.shields.io/badge/license-MIT-green.svg" alt="License"></a>
<a href="https://atproducts.xyz#what-new"><img src="https://img.shields.io/badge/stable_version-2.20-blue" alt="Stable Version"></a>
Expand Down Expand Up @@ -32,4 +32,4 @@ AT Products LLC, otherwise known as AT Products, is an informative technology co
The "AT" in AT Products does stand for Alex Toucan.
<hr>
<h6>atproducts.xyz is under a MIT license. <a href="https://atproducts.xyz/licenses#ours">View more information</a>.
<h6>Last Recorded Version: 2.20.1</h6>
<h6>Last Recorded Version: 2.20.2</h6>
14 changes: 7 additions & 7 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Security Policy
##### Last Updated: April 10th, 2024.
##### Into Effect: May 15th, 2024.
##### Version: v2
##### Last Updated: November 21st, 2024
##### Into Effect: December 11th, 2024
##### Version: v3
<hr>

## Where We Look for Vulnerabilities
We look for and fix vulnerabilities as soon as possible with internal website code, external (outside domain) files, and files distributed by our products and communities.
We actively look for and address vulnerabilities in internal website code, external (outside domain) files, and files distributed by our products and communities.

## Reporting a Vulnerability
**DO NOT** report security vulnerabilities as an issue, pull request (PR), or discussion here on GitHub and the other external sites of Discord (applies to communities) and other online forums. Vulnerabilities should not be publicly known. Please report all vulnerabilities at [email protected] for private reporting.
**DO NOT** report security vulnerabilities as an issue, pull request (PR), or discussion on GitHub, Discord communities, or other online forums. Vulnerabilities should not be publicly disclosed. Please report all vulnerabilities privately at [[email protected]](mailto:[email protected]).

## Fixing Vulnerabilities
Our team attempts to fix these security vulnerabilities as soon as possible. All vulnerability patches trump scheduled release dates and should be released as soon as the patch is ready. These patches should only include vulnerability patches with no other content alongside them. This policy will be even more important as the upcoming updates may feature account-based components, making our security more prioritized.
Our team prioritizes fixing security vulnerabilities as soon as possible. All vulnerability patches take precedence over scheduled release dates and should be released as soon as the patch is ready. These patches should only include vulnerability fixes with no additional content. This policy is crucial as upcoming updates may consist of account-based components, making security even more vital.

## Embargo Policy / Team Disclosure
From the <a href="#reporting-a-vulnerability">Reporting a Vulnerability</a> section, **all members in the team behind security patches and ones who are aware of such security vulnerabilities shall not disclose the security vulnerabilities until the agreed-upon public disclosure date/time is satisfied by all higher-ups/team members**. Repeated offenses may lead to termination of the contributor team and your volunteerment/employment AT Products LLC.
Per the [Reporting a Vulnerability](#reporting-a-vulnerability) section, **all team members involved in security patches or aware of security vulnerabilities must not disclose these vulnerabilities until the agreed-upon public disclosure date/time is approved by all higher-ups/team members**. Repeated violations may lead to termination from the contributor team and your volunteer/employment status with AT Products LLC.
3 changes: 2 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "atproducts.xyz",
"version": "2.20.1",
"version": "2.20.2",
"config": {
"version_short": "2.20"
},
Expand Down
1 change: 0 additions & 1 deletion public/.well-known/atproto-did

This file was deleted.

Binary file added public/media/favicon/banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/media/files/NyaOS.iso
Binary file not shown.
Binary file removed public/media/images/C.png
Binary file not shown.
Binary file added public/media/images/banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/media/images/banner.webp
Binary file not shown.
Binary file removed public/media/images/go.png
Binary file not shown.
Binary file removed public/media/images/haskell.png
Binary file not shown.
Binary file removed public/media/images/java.png
Binary file not shown.
Binary file modified public/media/images/longblack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/media/images/longblack.webp
Binary file not shown.
Binary file modified public/media/images/longwhite.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/media/images/longwhite.webp
Binary file not shown.
Binary file removed public/media/images/rust.png
Binary file not shown.
Binary file modified public/media/images/storyviewer-black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/media/images/storyviewer-black.webp
Binary file not shown.
Binary file modified public/media/images/storyviewer-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/media/images/storyviewer-white.webp
Binary file not shown.
Binary file modified public/media/pdf/2.19.2.1 Patch Notes.pdf
Binary file not shown.
Binary file added public/media/pdf/CCTV Interception.pdf
Binary file not shown.
Binary file added public/media/pdf/How to Center a _div_.pdf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added public/media/slideshow/21921-1-091124.webp
Binary file not shown.
Binary file added public/media/slideshow/21921-2-091124.webp
Binary file not shown.
157 changes: 91 additions & 66 deletions public/static/other.css
Original file line number Diff line number Diff line change
Expand Up @@ -5968,13 +5968,13 @@ a:not(p a), p, code:not(p code), b:not(p b), i:not(p i) { /* Custom */
}

@media (max-width:767.98px) {
.disbr {
display: none;
}
.disbr {
display: none;
}
.imgdiv {
width: 30%;
margin-left: auto;
margin-right: auto;
width: 30%;
margin-left: auto;
margin-right: auto;
}
}

Expand All @@ -5998,15 +5998,15 @@ a:not(p a), p, code:not(p code), b:not(p b), i:not(p i) { /* Custom */

@media (min-width: 645.98px) {
.custom-lrpad {
margin-left: 10px !important;
margin-right: 10px !important;
margin-left: 10px !important;
margin-right: 10px !important;
}
}

@media (max-width:645.98px) {
.nolrpadding {
margin-left: 0 !Important;
margin-right: 0 !important;
margin-left: 0 !Important;
margin-right: 0 !important;
}
}

Expand Down Expand Up @@ -6034,23 +6034,23 @@ a:not(p a), p, code:not(p code), b:not(p b), i:not(p i) { /* Custom */
}

@media (min-width:767.98px) {
.padright {
margin-right: 5px;
}
.padleft {
margin-left: 5px;
}
.padright {
margin-right: 5px;
}

.padleft {
margin-left: 5px;
}
}


.sw-feature-box {
display: flex;
flex-wrap: wrap;
flex-wrap: wrap;
justify-content: center;
background-color: grey;
padding: 10px;
border: 1px solid black;
background-color: grey;
padding: 10px;
border: 1px solid black;
}

.sw-link {
Expand Down Expand Up @@ -6251,7 +6251,7 @@ html.fixedtopnavimage {

[data-bs-theme=dark] .back-to-top:hover {
color: black;
background-color: #f2f2f2;
background-colostr: #f2f2f2;
}

[data-bs-theme=dark] .back-to-top:active {
Expand All @@ -6260,30 +6260,31 @@ html.fixedtopnavimage {
}

@media (min-width: 901.98px) {
.bd-toc {
position: -webkit-fixed;
position: fixed;
right: 0;
z-index: 2;
height: calc(100vh - 7rem);
overflow-y: auto;
}
.bd-toc {
position: -webkit-fixed;
position: fixed;
right: 0;
z-index: 2;
height: calc(100vh - 7rem);
overflow-y: auto;
}

.story-top-body {
margin-top: 25px;
}
margin-top: 25px;
}
}


@media (min-width: 767.98px) and (max-width: 901.98px) {
.bd-toc {
position: -webkit-fixed;
position: fixed;
top: calc(72px + .75rem);
right: 0;
z-index: 2;
height: calc(100vh - 7rem);
overflow-y: auto;
}
.bd-toc {
position: -webkit-fixed;
position: fixed;
top: calc(72px + .75rem);
right: 0;
z-index: 2;
height: calc(100vh - 7rem);
overflow-y: auto;
}
}

.hero-drappear {
Expand All @@ -6292,7 +6293,7 @@ margin-top: 25px;

@media (max-width: 645.98px) {
.border-custom-fix {
border-bottom: solid 1px #dee2e6;
border-bottom: solid 1px #dee2e6;
}
}

Expand Down Expand Up @@ -6326,16 +6327,43 @@ margin-top: 25px;
}

@media (max-width:767.98px) and (min-height: 675.98px) {
.story-scroll {
height: calc(100vh - 448px);
overflow-y: scroll;

.story-scroll {
height: calc(100vh - 448px);
overflow-y: scroll;
}
}

@media (max-width:767.98px) {
.back-to-top {
bottom: 60px !important;
.back-to-top {
bottom: 60px !important;
}
}

@media (min-width: 645.98px) {
.container-story, .story-buttons {
max-width: 65ch;
margin-right: auto;
margin-left: auto;
}
}
@media (min-width: 768px) {
.container-story {
max-width: 70ch;
}
}
@media (min-width: 992px) {
.container-story {
max-width: 75ch;
}
}
@media (min-width: 1200px) {
.container-story {
max-width: 80ch;
}
}
@media (min-width: 1400px) {
.container-story {
max-width: 85ch;
}
}

Expand Down Expand Up @@ -6370,7 +6398,7 @@ height: calc(100vh - 448px);

@media (max-width:767.98px) {
.products-tabContent {
height: 20rem !important;
height: 20rem !important;
}
.products-2 img {
width: 75%;
Expand Down Expand Up @@ -6405,20 +6433,20 @@ height: calc(100vh - 448px);
text-decoration: none !important;
}

.start-25 {
left: 25% !important;
}

.start-33 {
left: 33.3333333% !important;
}

.start-66 {
left: 66.6666667% !important;
.progress-wrapper, .progress {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100%;
height: 1px !important;
z-index: -1;
}

.start-75 {
left: 75% !important;
.historyTabs {
display: flex;
flex-direction: column;
min-width: 300px;
}

.text-wrap {
Expand Down Expand Up @@ -6454,16 +6482,13 @@ height: calc(100vh - 448px);
.rounded-md-pill {
border-radius: var(--bs-border-radius-pill);
}

}

.rounded-6 {
border-radius: var(--bs-border-radius-2xl) !important;
}

iframe {
.container-story iframe {
padding-bottom: 1rem;
}

.tab {
tab-size: 8;
}
2 changes: 1 addition & 1 deletion public/static/version.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
document.write("2.20.1");
document.write("2.20.2");
39 changes: 39 additions & 0 deletions src/layouts/stories/CardPage.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
const { id, title, description, cardLinks, size } = Astro.props;
---

<div class={`hero hero-${id}`} data-bs-theme="dark">
<div class="hero-back h-100">
<div class="hero-filter">
<h1 class="display-4 fw-bold title pt-3 pb-2" set:html={title}></h1>
{description && (
<p class="fs-4 mt-0 mb-3 text-body-secondary container">{description}</p>
)}
<div class={`d-${size}-flex flex-wrap mx-2`}>
{cardLinks && cardLinks.map(({ cardTitle, cardDescription, cardImage, cardWidth, cardHref, pdfHref, additionalImageClasses }, index) => (
<div class="col-md mt-1 mb-3 m-1">
<div class="card text-center permcard shadow-sm h-100">
{cardImage && (
<div class="bg-white card-img-top">
<img src={cardImage} alt={cardTitle} class={additionalImageClasses} width="100%">
</div>
)}
<div class="card-body">
<h2 class="card-title">{cardTitle}</h2>
<p class="card-text" set:html={cardDescription}></p>
<div class="tab-link d-flex gap-2">
<a href={cardHref} class="btn btn-primary w-100 d-grid">
<span class="align-self-center">Visit</span>
</a>
<a href={pdfHref} class="btn btn-secondary px-2 py-1 fs-4" target="_blank" rel="noopener noreferrer">
<i class="bi bi-filetype-pdf"></i>
</a>
</div>
</div>
</div>
</div>
))}
</div>
</div>
</div>
</div>
7 changes: 5 additions & 2 deletions src/layouts/stories/Scrollspy.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const { id, scrollcontent } = Astro.props;

<main id={id}>
<div class="bd-toc col-md-3 p-3 pb-0 story-top-buttons">
<div id={`${id}-list`} class="list-group">
<div id={`${id}-list`} class="list-group story-buttons">
{scrollcontent ? (
scrollcontent.map(({ name, href, additionalClasses }, index) => (
<a class={`list-group-item list-group-item-action ${additionalClasses}`} href={href} key={index}>
Expand All @@ -17,6 +17,9 @@ const { id, scrollcontent } = Astro.props;
</div>
</div>
<div class="col-md-9 p-3 story-top-scroll story-top-body story-scroll" tabindex="0" data-bs-smooth-scroll="true" data-bs-target={`${id}-list`} data-bs-spy="scroll">
<slot name="scrollspy-content" />
<div class="mx-lg-auto text-justify container-story">
<slot name="scrollspy-content" />
</div>
</div>
</div>
</main>
Loading