Update funding design
Wrap each funder into the horizontal card with logo and description, increase margins for platinum/gold/... headers Signed-off-by: Egor Savkin <es@m-labs.hk>
This commit is contained in:
parent
cb99047571
commit
f8c19cf9b9
@ -6,6 +6,8 @@ template = "page.html"
|
||||
[extra]
|
||||
+++
|
||||
|
||||
{% layout_funding(position="center") %}
|
||||
|
||||
The free and open dissemination of methods and results is central to scientific progress.
|
||||
|
||||
The ARTIQ and Sinara authors, contributors, and supporters consider the free and open exchange of scientific tools to be equally important and have chosen the licensing terms of ARTIQ and Sinara accordingly. ARTIQ, including its gateware, the firmware, and the ARTIQ tools and libraries are licensed as LGPLv3+. The Sinara hardware designs are licensed under CERN OHL.
|
||||
@ -13,68 +15,105 @@ This ensures that a user of ARTIQ or Sinara hardware designs obtains broad right
|
||||
|
||||
ARTIQ and the related components that we are developing ([Migen/MiSoC](/gateware/migen), [nMigen](/gateware/nmigen), [smoltcp](/software/smoltcp), [minimq](https://github.com/quartiq/minimq), [zynq-rs](https://git.m-labs.hk/m-labs/zynq-rs), [SiPyCo](https://github.com/m-labs/sipyco), [RayOpt](https://github.com/quartiq/rayopt), [WFVM](https://git.m-labs.hk/m-labs/wfvm), ...) need to be kept on a sound financial basis. We have been relying on a combination of [hardware sales](../place-order), sponsorships, and grants.
|
||||
|
||||
##### Sponsors
|
||||
{% end %}
|
||||
|
||||
{% layout_funding(position="center", title="Sponsors") %}
|
||||
|
||||
We acknowledge support from our partners below. Please get in touch (sales@m-\*\*\*.hk) if you also want to move ARTIQ forward!
|
||||
|
||||
###### Platinum level
|
||||
{% end %}
|
||||
|
||||
[![log nist](/images/logo_nist.png)](https://www.nist.gov/pml/time-and-frequency-division/ion-storage)
|
||||
#### Platinum level
|
||||
|
||||
{% layout_funding(logo="/images/logo_nist.png", logo_link="https://www.nist.gov/pml/time-and-frequency-division/ion-storage", logo_alt="logo nist", title="NIST", position="left", icon="/images/icons/diamond.svg") %}
|
||||
|
||||
ARTIQ was initiated by the [Ion Storage Group](https://www.nist.gov/pml/time-and-frequency-division/ion-storage) at NIST, who provided valuable technical insight as well as financial support to develop the first version of the ARTIQ software and gateware targeting the KC705 development kit. This included some FPGA SoC libraries such as a SDRAM controller and PHYs, the first two iterations of the ARTIQ runtime including the development of [smoltcp](/software/smoltcp), the RTIO infrastructure and PHYs, the ARTIQ-Python LLVM-based compiler, RTIO DMA, the ARTIQ dashboard and browser, the ARTIQ master, and several controllers. They also supported the more recent ARTIQ port to Zynq, targeting the ZC706 development kit, and enabling ARTIQ-Python kernels to take advantage of the 1GHz CPU in the core device; as well as matrix and trigonometric function support in ARTIQ-Python kernels.
|
||||
<small>*Disclaimer: NIST and the United States government are not providing an endorsement of ARTIQ.*</small>
|
||||
|
||||
[![logo oxford](/images/logo_oxford.png)](https://www2.physics.ox.ac.uk/research/ion-trap-quantum-computing-group)
|
||||
{% end %}
|
||||
|
||||
|
||||
{% layout_funding(logo="/images/logo_oxford.png", logo_link="https://www2.physics.ox.ac.uk/research/ion-trap-quantum-computing-group", logo_alt="logo oxford", title="Oxford", icon="/images/icons/diamond.svg", position="right") %}
|
||||
|
||||
The [University of Oxford](https://www2.physics.ox.ac.uk/research/ion-trap-quantum-computing-group) funded major improvements to the RTIO infrastructure: the Distributed RTIO (DRTIO) system that allows clock synchronization and RTIO command transfer between FPGAs using cost-effective high-speed serial links (e.g. over fiber optics), and changes to the RTIO architecture to improve scalability. They also funded the Sinara Sampler hardware and software, the [SU-Servo](https://m-labs.hk/artiq/manual-beta/core_drivers_reference.html?highlight=suservo#artiq.coredevice.suservo.SUServo) integrated laser intensity servo, parts of Urukul and Zotino, firmware development on the Sinara Thermostat, the Kasli v2.0 ARTIQ support, the Fastino ARTIQ support, parts of the Sinara Phaser gateware and software development, and significant parts of the Booster RF amplifier.
|
||||
|
||||
[![logo wut](/images/logo_wut.png)](http://www.ise.pw.edu.pl)
|
||||
{% end %}
|
||||
|
||||
|
||||
{% layout_funding(logo="/images/logo_wut.png", logo_link="http://www.ise.pw.edu.pl", logo_alt="logo wut", title="Warsaw University of Technology", icon="/images/icons/diamond.svg", position="left") %}
|
||||
|
||||
[Warsaw University of Technology](http://www.ise.pw.edu.pl) contributed most of the hardware designs and prototypes for the Sinara ecosystem.
|
||||
|
||||
###### Gold level
|
||||
{% end %}
|
||||
|
||||
[![logo oregon](/images/logo_oregon.png)](https://ions.uoregon.edu/)
|
||||
|
||||
#### Gold level
|
||||
|
||||
{% layout_funding(logo="/images/logo_oregon.png", logo_link="https://ions.uoregon.edu/", logo_alt="logo oregon", title="University of Oregon", icon="/images/icons/gold-badge.svg", position="right") %}
|
||||
|
||||
The [University of Oregon](https://ions.uoregon.edu/) funded a large part of the Sinara Phaser gateware and software development, as well as firmware for the Pounder PDH/phase lock signal generator for Stabilizer.
|
||||
|
||||
[![logo duke](/images/duke_brown.svg)](https://brownlab.pratt.duke.edu/)
|
||||
{% end %}
|
||||
|
||||
{% layout_funding(logo="/images/duke_brown.svg", logo_link="https://brownlab.pratt.duke.edu/", logo_alt="logo duke brown", title="Brown Lab at Duke University", icon="/images/icons/gold-badge.svg", position="left") %}
|
||||
|
||||
The [Brown Lab at Duke University](https://brownlab.pratt.duke.edu/) funded the migration of ARTIQ softcore platforms to the RISC-V architecture, memory protection support, and floating point unit support.
|
||||
|
||||
[![logo arl](/images/logo_arl_devcom.png)](http://brittonlab.umd.edu/)
|
||||
{% end %}
|
||||
|
||||
{% layout_funding(logo="/images/logo_arl_devcom.png", logo_link="http://brittonlab.umd.edu/", logo_alt="logo arl", title="Army Research Lab", icon="/images/icons/gold-badge.svg", position="right") %}
|
||||
|
||||
The [Army Research Lab](http://brittonlab.umd.edu/) funded the SAWG high-throughput digital waveform generator, as well as ARTIQ support for the Sayma and Metlino boards.
|
||||
|
||||
{% end %}
|
||||
|
||||
###### Silver level
|
||||
#### Silver level
|
||||
|
||||
[![logo quest](/images/logo_luh.png)](https://www.quest-lfs.uni-hannover.de/)
|
||||
{% layout_funding(logo="/images/logo_luh.png", logo_link="https://www.quest-lfs.uni-hannover.de/", logo_alt="logo hannover", title="QUEST/Uni Hannover", icon="/images/icons/silver-badge.svg", position="left") %}
|
||||
|
||||
[QUEST/Uni Hannover](https://www.quest-lfs.uni-hannover.de/) funded gateware and software support for the Grabber EEM, partial Mirny support, part of the Fastino development, and part of Urukul synchronization support.
|
||||
|
||||
[![logo ptb](/images/logo_ptb.png)](http://ptb.de)
|
||||
{% end %}
|
||||
|
||||
{% layout_funding(logo="/images/logo_ptb.png", logo_link="http://ptb.de", logo_alt="logo ptb", title="PTB", icon="/images/icons/silver-badge.svg", position="right") %}
|
||||
|
||||
PTB funded the development of lock-in amplifier support for the Sinara Stabilizer, as well as part of Urukul synchronization support.
|
||||
|
||||
[![logo uwisc](/images/logo_uwisc.png)](http://hexagon.physics.wisc.edu/)
|
||||
{% end %}
|
||||
|
||||
{% layout_funding(logo="/images/logo_uwisc.png", logo_link="http://hexagon.physics.wisc.edu/", logo_alt="logo uwisc", title="University of Wisconsin-Madison", icon="/images/icons/silver-badge.svg", position="left") %}
|
||||
|
||||
The [University of Wisconsin-Madison](http://hexagon.physics.wisc.edu/) funded the development of Urukul RAM mode support.
|
||||
|
||||
{% end %}
|
||||
|
||||
{% layout_funding(title="MIT", icon="/images/icons/silver-badge.svg", position="right") %}
|
||||
|
||||
[MIT](http://web.mit.edu/~cua/www/quanta/) funded parts of the Sinara Phaser gateware and software development.
|
||||
|
||||
[![logo hu](/images/logo_hu.png)](https://www.physik.hu-berlin.de/en/qom/people/qom-group/markus/view)
|
||||
{% end %}
|
||||
|
||||
{% layout_funding(logo="/images/logo_hu.png", logo_link="https://www.physik.hu-berlin.de/en/qom/people/qom-group/markus/view", logo_alt="logo hu", title="Humboldt University of Berlin", icon="/images/icons/silver-badge.svg", position="left") %}
|
||||
|
||||
[Humboldt University of Berlin](https://www.physik.hu-berlin.de/en/qom/people/qom-group/markus/view) funded [prototype digital spectroscopy modulation/demodulation firmware](https://github.com/quartiq/queenmod), which is part of the "Optical quantum technologies on nanosatellites" (QUEEN) project.
|
||||
|
||||
##### Grants
|
||||
{% end %}
|
||||
|
||||
|
||||
{% layout_funding(position="center", title="Grants") %}
|
||||
|
||||
Parts of ARTIQ and Sinara have been developed through the participation of our sister company QUARTIQ GmbH in European research grant programmes.
|
||||
|
||||
[![logo opticlock](/images/logo_opticlock.png)](https://www.opticlock.de/)
|
||||
{% end %}
|
||||
|
||||
{% layout_funding(logo="/images/logo_opticlock.png", logo_link="https://www.opticlock.de/", logo_alt="logo opticlock", title="Opticlock", icon="/images/icons/grant.svg", position="left") %}
|
||||
|
||||
The BMBF project [Opticlock](https://www.opticlock.de/) developed an optical clock as a replacement for a hydrogen maser, based on a single ytterbium ion captured and laser-cooled in an ion trap. It helped fund the development of the Kasli, Urukul, Zotino and Sampler modules.
|
||||
|
||||
![logo aiartiq](/images/logo_aiartiq.png)
|
||||
{% end %}
|
||||
|
||||
{% layout_funding(logo="/images/logo_aiartiq.png", logo_link="https://www.opticlock.de/", logo_alt="logo aiartiq", title="AI-ARTIQ", icon="/images/icons/grant.svg", position="right") %}
|
||||
|
||||
AI-ARTIQ develops a control platform for laser sources and atom interferometer-based quantum sensors.
|
||||
|
||||
{% end %}
|
@ -83,10 +83,18 @@
|
||||
|
||||
|
||||
.card h5,
|
||||
.card h4,
|
||||
h5 {
|
||||
color: $brand-color;
|
||||
}
|
||||
|
||||
h4 {
|
||||
color: $color-primary;
|
||||
margin-top: 3rem;
|
||||
margin-bottom: 3rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
h3, h2, h1 {
|
||||
color: $color-secondary;
|
||||
}
|
||||
@ -236,4 +244,22 @@ img.kf25 {
|
||||
#root-shop, #root-shop>div {
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// follow respective border-[start, end, top, bottom] from bootstrap
|
||||
@media (max-width: 767px) {
|
||||
.funding-logo-start {
|
||||
border-bottom:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important;
|
||||
}
|
||||
.funding-logo-end {
|
||||
border-top:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important;
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
.funding-logo-start {
|
||||
border-right:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important;
|
||||
}
|
||||
.funding-logo-end {
|
||||
border-left:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important;
|
||||
}
|
||||
}
|
||||
|
1
static/images/icons/diamond.svg
Normal file
1
static/images/icons/diamond.svg
Normal file
@ -0,0 +1 @@
|
||||
<?xml version="1.0" ?><!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'><svg enable-background="new 0 0 128 128" height="128px" id="Layer_1" version="1.1" viewBox="0 0 128 128" width="128px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g><g><path d="M127.744,46.594c-0.777-2.07-3.086-3.113-5.152-2.34L94.655,54.731L79.847,2.902 C79.354,1.184,77.784,0,75.999,0H52c-1.785,0-3.355,1.184-3.848,2.902L33.344,54.731L5.406,44.254 c-2.063-0.773-4.375,0.27-5.152,2.34c-0.773,2.07,0.273,4.375,2.34,5.152l30.421,11.408l27.32,62.447 c0.637,1.457,2.074,2.398,3.664,2.398s3.027-0.941,3.664-2.398l27.32-62.447l30.421-11.408 C127.471,50.969,128.518,48.664,127.744,46.594z M55.015,8h17.968l13.712,48H41.303L55.015,8z M63.999,114.016L42.117,64h43.765 L63.999,114.016z" fill="#81D4FA"/></g></g><path d="M95.999,8l23.999,40l-55.999,72L8,48L32,8H95.999L95.999,8 M95.999,0H32c-2.809,0-5.414,1.473-6.859,3.883 l-24,40c-1.699,2.836-1.484,6.422,0.543,9.027l55.999,72c1.516,1.949,3.848,3.09,6.316,3.09s4.801-1.141,6.316-3.09l55.999-72 c2.027-2.605,2.242-6.191,0.543-9.027l-23.999-40C101.413,1.473,98.808,0,95.999,0L95.999,0z" fill="#03A9F4"/></svg>
|
After Width: | Height: | Size: 1.2 KiB |
1
static/images/icons/gold-badge.svg
Normal file
1
static/images/icons/gold-badge.svg
Normal file
@ -0,0 +1 @@
|
||||
<?xml version="1.0" ?><!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'><svg enable-background="new 0 0 128 128" height="128px" id="Layer_1" version="1.1" viewBox="0 0 128 128" width="128px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g><g><path d="M117.996,8.242C115.176,3.156,109.816,0,104,0H24c-5.816,0-11.176,3.156-13.996,8.242 c-2.816,5.086-2.656,11.305,0.43,16.234l11.605,18.57c1.809-2.055,3.742-3.992,5.832-5.766L17.215,20.234 c-1.539-2.461-1.621-5.57-0.215-8.109C18.41,9.578,21.094,8,24,8h80c2.906,0,5.59,1.578,6.996,4.117 c1.41,2.547,1.328,5.656-0.215,8.117l-10.656,17.047c2.09,1.773,4.027,3.711,5.836,5.766l11.605-18.57 C120.652,19.547,120.813,13.328,117.996,8.242z" fill="#F44336"/></g></g><path d="M64,56c13.234,0,24,10.766,24,24s-10.766,24-24,24S40,93.234,40,80S50.766,56,64,56 M64,48 c-17.672,0-32,14.328-32,32s14.328,32,32,32s32-14.328,32-32S81.672,48,64,48L64,48z" fill="#FFC107"/><path d="M64,40c22.055,0,40,17.945,40,40s-17.945,40-40,40s-40-17.945-40-40S41.945,40,64,40 M64,32 c-26.508,0-48,21.492-48,48s21.492,48,48,48s48-21.492,48-48S90.508,32,64,32L64,32z" fill="#FFA726"/></svg>
|
After Width: | Height: | Size: 1.2 KiB |
65
static/images/icons/grant.svg
Normal file
65
static/images/icons/grant.svg
Normal file
@ -0,0 +1,65 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
enable-background="new 0 0 128 128"
|
||||
height="128px"
|
||||
id="Layer_1"
|
||||
version="1.1"
|
||||
viewBox="0 0 128 128"
|
||||
width="128px"
|
||||
xml:space="preserve"
|
||||
sodipodi:docname="728958_economy_finance_money_shopping_currency_icon.svg"
|
||||
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"><defs
|
||||
id="defs1174" /><sodipodi:namedview
|
||||
id="namedview1172"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
showgrid="false"
|
||||
inkscape:zoom="6.2578125"
|
||||
inkscape:cx="64.0799"
|
||||
inkscape:cy="64.1598"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1011"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="g1155" /><g
|
||||
id="g1157"
|
||||
style="display:inline"><g
|
||||
id="g1155"><path
|
||||
d="M 97.469,32 H 30.531 C 28.119,38.793 22.793,44.121 16,46.531 V 81.469 C 22.793,83.875 28.125,89.207 30.531,96 H 97.469 C 99.879,89.207 105.207,83.879 112,81.469 V 46.531 C 105.207,44.121 99.879,38.793 97.469,32 Z M 104,76.441 C 99.211,79.226 95.227,83.211 92.441,88 H 35.559 C 32.774,83.211 28.789,79.227 24,76.441 V 51.559 c 4.789,-2.785 8.773,-6.77 11.559,-11.559 19.783981,0 36.595699,0 56.882,0 2.785,4.789 6.77,8.773 11.559,11.559 z"
|
||||
fill="#b0bec5"
|
||||
id="path1153"
|
||||
sodipodi:nodetypes="cccccccccccccccccc" /></g></g><path
|
||||
d="m 64,48 c 8.824,0 16,7.176 16,16 0,8.824 -7.176,16 -16,16 -8.824,0 -16,-7.176 -16,-16 0,-8.824 7.176,-16 16,-16 m 0,-8 C 50.746,40 40,50.746 40,64 40,77.25 50.746,88 64,88 77.254,88 88,77.25 88,64 88,50.746 77.254,40 64,40 Z"
|
||||
fill="#546e7a"
|
||||
id="path1159"
|
||||
style="display:inline" /><path
|
||||
d="m 0,16 v 96 H 128 V 16 Z m 16,88 C 16,99.578 12.422,96 8,96 V 32 c 4.422,0 8,-3.578 8,-8 h 96 c 0,4.422 3.578,8 8,8 v 64 c -4.422,0 -8,3.578 -8,8 z"
|
||||
fill="#546e7a"
|
||||
id="path1161"
|
||||
style="display:inline" /><path
|
||||
d="m 20,40 c 2.211,0 4,-1.789 4,-4 0,-2.211 -1.789,-4 -4,-4 -2.211,0 -4,1.789 -4,4 0,2.211 1.789,4 4,4 z"
|
||||
fill="#546e7a"
|
||||
id="path1163"
|
||||
style="display:inline" /><path
|
||||
d="m 20,88 c -2.211,0 -4,1.789 -4,4 0,2.211 1.789,4 4,4 2.211,0 4,-1.789 4,-4 0,-2.211 -1.789,-4 -4,-4 z"
|
||||
fill="#546e7a"
|
||||
id="path1165"
|
||||
style="display:inline" /><path
|
||||
d="m 108,88 c -2.211,0 -4,1.789 -4,4 0,2.211 1.789,4 4,4 2.211,0 4,-1.789 4,-4 0,-2.211 -1.789,-4 -4,-4 z"
|
||||
fill="#546e7a"
|
||||
id="path1167"
|
||||
style="display:inline" /><path
|
||||
d="m 108,32 c -2.211,0 -4,1.789 -4,4 0,2.211 1.789,4 4,4 2.211,0 4,-1.789 4,-4 0,-2.211 -1.789,-4 -4,-4 z"
|
||||
fill="#546e7a"
|
||||
id="path1169"
|
||||
style="display:inline" /></svg>
|
After Width: | Height: | Size: 3.0 KiB |
1
static/images/icons/silver-badge.svg
Normal file
1
static/images/icons/silver-badge.svg
Normal file
@ -0,0 +1 @@
|
||||
<?xml version="1.0" ?><!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'><svg enable-background="new 0 0 128 128" height="128px" id="Layer_1" version="1.1" viewBox="0 0 128 128" width="128px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g><g><path d="M117.996,8.242C115.176,3.156,109.816,0,104,0H24c-5.816,0-11.176,3.156-13.996,8.242 c-2.816,5.086-2.656,11.305,0.43,16.234l11.605,18.57c1.809-2.055,3.742-3.992,5.832-5.766L17.215,20.234 c-1.539-2.461-1.621-5.57-0.215-8.109C18.41,9.578,21.094,8,24,8h80c2.906,0,5.59,1.578,6.996,4.117 c1.41,2.547,1.328,5.656-0.215,8.117l-10.656,17.047c2.09,1.773,4.027,3.711,5.836,5.766l11.605-18.57 C120.652,19.547,120.813,13.328,117.996,8.242z" fill="#F44336"/></g></g><path d="M64,56c13.234,0,24,10.766,24,24s-10.766,24-24,24S40,93.234,40,80S50.766,56,64,56 M64,48 c-17.672,0-32,14.328-32,32s14.328,32,32,32s32-14.328,32-32S81.672,48,64,48L64,48z" fill="#BDBDBD"/><path d="M64,40c22.055,0,40,17.945,40,40s-17.945,40-40,40s-40-17.945-40-40S41.945,40,64,40 M64,32 c-26.508,0-48,21.492-48,48s21.492,48,48,48s48-21.492,48-48S90.508,32,64,32L64,32z" fill="#616161"/></svg>
|
After Width: | Height: | Size: 1.2 KiB |
66
templates/shortcodes/layout_funding.html
Normal file
66
templates/shortcodes/layout_funding.html
Normal file
@ -0,0 +1,66 @@
|
||||
{% if position == "left" %}
|
||||
|
||||
<div class="card mb-3 shadow" style="max-width: 80%;margin-right: 20%;">
|
||||
<div class="row g-0">
|
||||
<div class="col-md-4 funding-logo-start d-flex p-1 justify-content-center">
|
||||
{% if logo %}
|
||||
{% if logo_link %}<a href="{{ logo_link }}" class="align-self-center">{% endif %}
|
||||
<img src="{{ logo }}" class="img-fluid rounded" alt="{{ logo_alt }}"/>
|
||||
{% if logo_link %}</a>{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="col-md-8">
|
||||
<div class="card-body">
|
||||
{% if title %}<h5 class="card-title">{{ title | markdown | safe }}</h5>{% endif %}
|
||||
{% if icon %}
|
||||
<span class="badge bg-transparent position-absolute top-0 start-100 translate-middle-x">
|
||||
<img src="{{ icon }}" alt="{{ icon }}" class="rounded"
|
||||
style="height: 2rem;"/>
|
||||
</span>
|
||||
{% endif %}
|
||||
<p class="card-text">{{ body | markdown | safe }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% elif position == "right" %}
|
||||
|
||||
<div class="card mb-3 shadow" style="max-width: 80%;margin-left: 20%;">
|
||||
<div class="row g-0">
|
||||
<div class="col-md-8">
|
||||
<div class="card-body">
|
||||
{% if title %}<h5 class="card-title text-end">{{ title | markdown | safe }}</h5>{% endif %}
|
||||
{% if icon %}
|
||||
<span class="badge bg-transparent position-absolute top-0 start-0 translate-middle-x">
|
||||
<img src="{{ icon }}" alt="{{ icon }}" class="rounded"
|
||||
style="height: 2rem;"/>
|
||||
</span>
|
||||
{% endif %}
|
||||
<p class="card-text">{{ body | markdown | safe }}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4 funding-logo-end d-flex p-1 justify-content-center">
|
||||
{% if logo %}
|
||||
{% if logo_link %}<a href="{{ logo_link }}" class="align-self-center">{% endif %}
|
||||
<img src="{{ logo }}" class="img-fluid rounded" alt="{{ logo_alt }}"/>
|
||||
{% if logo_link %}</a>{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% else %}
|
||||
|
||||
<div class="card mb-3 shadow-sm" style="max-width: 100%;">
|
||||
<div class="row g-0">
|
||||
<div class="col-md-12">
|
||||
<div class="card-body">
|
||||
{% if title %}<h4 class="card-title text-center">{{ title | markdown | safe }}</h4>{% endif %}
|
||||
<p class="card-text">{{ body | markdown | safe }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endif %}
|
Loading…
Reference in New Issue
Block a user