mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 21:03:03 -05:00
feat: add email subsciption
This commit is contained in:
@@ -32,7 +32,7 @@ You should only override the jest configuration is the `unitTestRunner` option i
|
||||
export default {
|
||||
displayName: '< libName >', // 👈 lib name
|
||||
preset: '../../../jest.preset.js', // 👈 be careful with the path
|
||||
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
|
||||
setupFilesAfterEnv: ['<rootDir>/src/subscription-setup.ts'],
|
||||
transform: {
|
||||
'^.+\\.(ts|mjs|js|html)$': [
|
||||
'jest-preset-angular',
|
||||
|
||||
@@ -24,12 +24,20 @@ hero:
|
||||
import { Card, CardGrid } from '@astrojs/starlight/components';
|
||||
import MyIcon from '../../components/MyIcon.astro';
|
||||
|
||||
import SubscriptionForm from '../../components/SubscriptionForm.astro'
|
||||
|
||||
|
||||
<CardGrid>
|
||||
|
||||
<Card title="43 Challenges">
|
||||
This repository gathers 43 challenges related to <b>Angular</b>, <b>Nx</b>, <b>RxJS</b>, <b>Ngrx</b> and <b>Typescript</b>.
|
||||
These challenges resolve around real-life issues or specific features to elevate your skills.
|
||||
</Card>
|
||||
|
||||
<Card title="Subscribe to get notify of latest challenges">
|
||||
<SubscriptionForm isNote={false}/>
|
||||
</Card>
|
||||
|
||||
<Card title="Become an OSS Maintainer">
|
||||
One of the goals of this repository is to <b>lower the barrier</b> to entry
|
||||
for Open Source Software (OSS). By engaging with these challenges, you will
|
||||
|
||||
10
docs/src/content/docs/subscription/index.mdx
Normal file
10
docs/src/content/docs/subscription/index.mdx
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
title: Subscription
|
||||
description: Subscribe to email.
|
||||
noCommentSection: true
|
||||
---
|
||||
import SubscriptionForm from '../../../components/SubscriptionForm.astro'
|
||||
|
||||
<div>If you want to be informed of new challenges, you can subscribe to the email form.</div>
|
||||
<SubscriptionForm isNote={true} />
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
---
|
||||
title: Test
|
||||
description: Guide to checking out someone else's answer.
|
||||
sidebar:
|
||||
order: 3
|
||||
---
|
||||
import SubscriptionForm from '../../../components/SubscriptionForm.astro'
|
||||
|
||||
<SubscriptionForm />
|
||||
Reference in New Issue
Block a user