summaryrefslogtreecommitdiff
path: root/examples/ssr/src/pages/index.astro
blob: 1ce70bc81ea6f7c05280c44e3246137c551ea76c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
import Header from '../components/Header.astro';
import Container from '../components/Container.astro';
import ProductListing from '../components/ProductListing.astro';
import { getProducts } from '../api';
import '../styles/common.css';

const products = await getProducts(Astro.request);
---

<html lang="en">
	<head>
		<title>Online Store</title>
		<style>
			h1 {
				font-size: 36px;
			}

			.product-listing-title {
				text-align: center;
			}
		</style>
	</head>
	<body>
		<Header />

		<Container tag="main">
			<ProductListing products={products}>
				<h2 class="product-listing-title" slot="title">Product Listing</h2>
			</ProductListing>
		</Container>
	</body>
</html>
IC (for all shared builds) openPMD currently side-injects shared build defaults, thus this surfaced. 2022-11-14[pre-commit.ci] pre-commit autoupdate (#3524)Gravatar pre-commit-ci[bot] 1-1/+1 updates: - [github.com/hadialqattan/pycln: v2.1.1 → v2.1.2](https://github.com/hadialqattan/pycln/compare/v2.1.1...v2.1.2) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> 2022-11-14Abort when using Vay Deposition with FDTD (#3515)Gravatar Revathi Jambunathan 3-0/+8 Vay deposition is currently implemented only for PSATD. 2022-11-14Centralize the multi fab allocation (#3484)Gravatar David Grote 6-262/+326 * New Function to Allocate MultiFabs w/ Initial Value * Use New Function in PML Allocations * Added AllocInitMultiFab and multifab_map * Make initial_value argument of AllocInitMultiFab optional * More updates Added initialization for iMultiFabs Added imultifab_map Added initial values for several MFs Updated MF init for EB data * Small clean up of ncomps name * Added init value to rho_cp * Use AllocInitMultiFab in PML_RZ * RemakeMultiFab now calls AllocInitMultiFab * Fixed spelling of AddToMultiFabMap * Removed the initialization of charge_buf * Added commentation * Fix tag names for _aux MFs * Cleaned up code using temporaries in PML * Apply suggestions from code review * Added initial value to AliasInitMultiFab Co-authored-by: Edoardo Zoni <ezoni@lbl.gov> Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com> 2022-11-14CI: unbreak macOS (#3521)Gravatar Edoardo Zoni 1-1/+1 * CI: unbreak macOS (pydoc) * CI: unbreak macOS (python) 2022-11-14Flux injection: move particle only after performing checks (#3519)Gravatar Remi Lehe 2-38/+34 * Flux injection: move particle only after performing checks * Correct cylindrical to cartesian conversion * Update benchmarks 2022-11-12Fix warnings with ceil in BTD code (#3518)Gravatar David Grote 1-2/+2 * Added static_cast to some real to int conversions * Fixed typo 2022-11-12CI: unbreak macOS (2to3) (#3520)Gravatar Axel Huebl 1-1/+1 brew shipped a breaking update again. 2022-11-10Use makeParser function for laser field parsing option (#3517)Gravatar Neïl Zaim 6-33/+4 2022-11-10Vay Deposition: Filter D, Exchange Guard Cells of J (#3388)Gravatar Edoardo Zoni 2-2/+14 * Vay Deposition: Filter D, Exchange Guard Cells of J * Improve Inline Comment 2022-11-092D/RZ Embedded Boundaries Bug Fix (#3510)Gravatar Edoardo Zoni 1-1/+12 * Run embedded_boundary_cube_2d in debug mode * Fix bug * Use `lbound`/`ubound` instead of `begin`/`end` * Run embedded_boundary_cube_2d in release mode 2022-11-09BTD: remove old/legacy back-transformed diagnostics (#3485)Gravatar Remi Lehe 29-2671/+85 * Start removing old BTD * Remove GetCellCenteredData * Remove do_backtransform_fields and do_backtransform_particles * Remove more functions * Remove more variables * Update documentation * Fix CI test `RigidInjection_BTD` * Remove slicing from `BTD_ReducedSliceDiag` * Rename `BTD_ReducedSliceDiag` as `LaserAcceleration_BTD` * Query deprecated input and abort Co-authored-by: Edoardo Zoni <ezoni@lbl.gov> 2022-11-08Docs: Improve MPI Threading User FAQ (#3501)Gravatar Axel Huebl 1-5/+16 * Docs: Improve MPI Threading User FAQ Clarify that this FAQ entry explains the initial output of WarpX in stdout. * Mention: `amrex.async_out_nfiles` * Link Build Options, too 2022-11-07Allow `None` for Maxwell solver (#3504)Gravatar Roelof Groenewald 39-195/+199 * Add "None" as an option for the Maxwell solver * fixed some of the reasons for failing CI tests * no longer pass `do_electrostatic` to `GuardCellManager` * renamed `MaxwellSolverAlgo` to `ElectromagneticSolverAlgo` * rename `do_electrostatic` to `electrostatic_solver_id` * rename `maxwell_solver_id` to `electromagnetic_solver_id` * changes requested during PR review * remove `do_no_deposit` from tests without field evolution * Fix doc-string in `GuardCellManager.H` Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com> Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com> 2022-11-07Load balancing bug fix: remake MultiFabs for Vay deposition, current ↵Gravatar Revathi Jambunathan 1-2/+15 centering, time averaging (#3508) Additional MultiFabs for Vay deposition, current centering, and time averaging need to be allocated after load-balancing, otherwise the simulation crashes. 2022-11-07AMReX: Weekly Update (#3509)Gravatar Axel Huebl 5-5/+5 2022-11-04Clean Species Physical Properties (#3505)Gravatar Neïl Zaim 2-5/+7