-
Notifications
You must be signed in to change notification settings - Fork 25
Feature/speaker profile bio #258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
MrSunshyne
merged 7 commits into
frontendmu:main
from
christopher-adolphe:feature/speaker-profile-bio
Dec 6, 2024
Merged
Changes from 6 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
dc18153
feat: remove unnecessary computed properties
christopher-adolphe a7672e9
feat: enhance error handling on speaker page
christopher-adolphe 6a19faa
feat: add speakers-profile.json and update getSpeaker function to ret…
christopher-adolphe 9c6b6a8
feat: update markup in SpeakerSingle component to display profile det…
christopher-adolphe d3cfe60
feat: update getSpeaker to get speaker profile by github_account
christopher-adolphe 77a998d
feat: update spacing on mobile in SpeakerSingle component
christopher-adolphe 38c0dad
remove dummy data
MrSunshyne File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,34 @@ | ||
[ | ||
{ | ||
"bio": "Front-end Developer based in Mauritius.", | ||
"job_title": "Front-end", | ||
"location": "Mauritius", | ||
"website": "https://sandeep.ramgolam.com", | ||
"github": "MrSunshyne", | ||
"twitter": "@__sun__" | ||
}, | ||
{ | ||
"bio": "", | ||
"job_title": "", | ||
"location": "Mauritius", | ||
"website": "", | ||
"github": "saamiyah", | ||
"twitter": "" | ||
}, | ||
{ | ||
"bio": "", | ||
"job_title": "", | ||
"location": "Mauritius", | ||
"website": "", | ||
"github": "kushul", | ||
"twitter": "" | ||
}, | ||
{ | ||
"bio": "", | ||
"job_title": "", | ||
"location": "Mauritius", | ||
"website": "", | ||
"github": "cedpoilly", | ||
"twitter": "" | ||
} | ||
] |
This file contains hidden or 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 hidden or 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,34 @@ | ||
<script setup lang="ts"> | ||
import type { NuxtError } from '#app' | ||
|
||
const props = defineProps({ | ||
error: Object as () => NuxtError, | ||
}) | ||
christopher-adolphe marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
const handleError = () => clearError({ redirect: '/' }) | ||
</script> | ||
|
||
<template> | ||
<NuxtLayout name="simple"> | ||
<ContentBlock> | ||
<div class="flex flex-col justify-start items-center gap-10 mx-auto max-w-[60ch] text-center"> | ||
<BaseHeading :level="1" weight="bold"> | ||
Oops! | ||
</BaseHeading> | ||
|
||
<BaseHeading :level="3" weight="bold"> | ||
{{ error.statusCode }} - The page you are looking for doesn't exist | ||
</BaseHeading> | ||
|
||
<p>{{ error.message }}</p> | ||
|
||
<button | ||
class="mx-auto bg-verse-500 hover:bg-verse-600 transition-colors duration-200 text-md block rounded-full px-4 py-4 text-center font-medium text-white md:px-6 md:text-lg cursor-pointer" | ||
@click="handleError" | ||
> | ||
Back to Home | ||
</button> | ||
</div> | ||
</ContentBlock> | ||
</NuxtLayout> | ||
</template> |
This file contains hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.