-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change footer theme on long press to an alternate theme and rotate th…
…e lightbulb image. Add a member feed section to the page, displaying multiple member feed items with titles, descriptions, and links.
- Loading branch information
Showing
7 changed files
with
151 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,52 @@ | ||
<script lang="ts"> | ||
import MemberFeedItem from "./MemberFeedItem.svelte"; | ||
type memberPost = { | ||
title: string, | ||
description: string, | ||
postLink: string, | ||
siteLink: string, | ||
} | ||
type memberPosts = memberPost[] | ||
let memberFeed:memberPosts = [ | ||
{ | ||
title: 'Azure Dev: Problem starting the plugin CredentialProvider.Microsoft [Solved]', | ||
description: 'In this break/fix post, I’m going to show you how to fix a specific error that I was getting in an Azure DevOps pipeline during a dotnet publish command that stated “Problem starting the plugin \‘CredentialProvider.Microsoft\'”.', | ||
postLink: 'https://ryanhayes.net/azure-devproblem-starting-the-plugin-credentialprovider-microsoft-solved/', | ||
siteLink: 'https://ryanhayes.net/', | ||
}, | ||
{ | ||
title: 'Azure Dev: Problem starting the plugin CredentialProvider.Microsoft [Solved]', | ||
description: 'In this break/fix post, I’m going to show you how to fix a specific error that I was getting in an Azure DevOps pipeline during a dotnet publish command that stated “Problem starting the plugin \‘CredentialProvider.Microsoft\'”.', | ||
postLink: 'https://ryanhayes.net/azure-devproblem-starting-the-plugin-credentialprovider-microsoft-solved/', | ||
siteLink: 'https://ryanhayes.net/', | ||
}, | ||
{ | ||
title: 'Azure Dev: Problem starting the plugin CredentialProvider.Microsoft [Solved]', | ||
description: 'In this break/fix post, I’m going to show you how to fix a specific error that I was getting in an Azure DevOps pipeline during a dotnet publish command that stated “Problem starting the plugin \‘CredentialProvider.Microsoft\'”.', | ||
postLink: 'https://ryanhayes.net/azure-devproblem-starting-the-plugin-credentialprovider-microsoft-solved/', | ||
siteLink: 'https://ryanhayes.net/', | ||
}, | ||
] | ||
</script> | ||
|
||
<div class="member-feed"> | ||
{#each memberFeed as post, i} | ||
<MemberFeedItem title={ post.title } description={ post.description } postLink={ post.postLink } siteLink={ post.siteLink } /> | ||
{/each} | ||
</div> | ||
|
||
<style> | ||
.member-feed { | ||
display: flex; | ||
flex-direction: column; | ||
flex-wrap: nowrap; | ||
justify-content: flex-start; | ||
align-items: center; | ||
gap: 3rem; | ||
width: 100%; | ||
height: auto; | ||
padding: 2rem 0; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
<script lang="ts"> | ||
import CtaLink from "../ui/CtaLink.svelte"; | ||
export let title:string; | ||
export let description:string; | ||
export let postLink:string; | ||
export let siteLink:string; | ||
</script> | ||
|
||
<div class="member-feed-item"> | ||
<div class="member-feed-item-image"></div> | ||
<div class="member-feed-item-content"> | ||
<h3 class="feed-item-title">{ title }</h3> | ||
<p class="feed-item-description">{ description }</p> | ||
<CtaLink title="Read More..." link={postLink} /> | ||
</div> | ||
</div> | ||
|
||
<style> | ||
.member-feed-item { | ||
display: flex; | ||
flex-direction: row; | ||
flex-wrap: wrap; | ||
justify-content: flex-start; | ||
align-items: center; | ||
gap: 2rem; | ||
width: calc(100% - 10rem); | ||
} | ||
.member-feed-item-image { | ||
width: 13rem; | ||
height: 13rem; | ||
background-color: var(--gray); | ||
border-radius: 10px; | ||
z-index: 1; | ||
} | ||
.member-feed-item-content { | ||
flex: 1; | ||
display: flex; | ||
flex-direction: column; | ||
flex-wrap: nowrap; | ||
justify-content: flex-start; | ||
align-items: flex-start; | ||
gap: .75rem; | ||
} | ||
.feed-item-title { | ||
font-family: var(--header-font-family); | ||
font-size: 2rem; | ||
line-height: 1.2; | ||
color: var(--primary-text-color); | ||
} | ||
.feed-item-description { | ||
font-family: var(--body-font-family); | ||
color: var(--primary-text-color); | ||
font-size: 1.25rem; | ||
line-height: 1.6; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters