Skip to content

Commit

Permalink
Revert target user
Browse files Browse the repository at this point in the history
  • Loading branch information
brandstetterm committed Apr 3, 2024
1 parent b8b9c3e commit 4e1052c
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions src/views/TargetUser/TargetUser.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,29 @@
import './TargetUser.scss';
import getTranslatedContent from "../../utils/directus";
const {lang} = Astro.props;
const {lang} = Astro.params;
const content = await getTranslatedContent("TargetUser_Section", lang!);
---

<section class='target-user'>
<h2>{content.header}</h2>
<p>{content.text}</p>
<video
autoplay
loop
muted
playsinline
class='target-user__gif target-user__gif--light'
autoplay
loop
muted
playsinline
class='target-user__gif target-user__gif--light'
>
<source src='/assets/images/target-user_light.mp4' type='video/mp4;codecs=hvc1' >
<source src='/assets/images/target-user_light.webm' type='video/webm' >
<source src='/assets/images/target-user_light.webm' type='video/webm' />
</video>
<video
autoplay
loop
muted
playsinline
class='target-user__gif target-user__gif--dark'
autoplay
loop
muted
playsinline
class='target-user__gif target-user__gif--dark'
>
<source src='/assets/images/target-user_dark.webm' type='video/webm' />
<source src='/assets/images/target-user_dark.webm' type='video/webm' />
</video>
</section>

0 comments on commit 4e1052c

Please sign in to comment.