-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature/contacts #139
Open
jlcrodrigues
wants to merge
28
commits into
develop
Choose a base branch
from
feature/contacts
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Feature/contacts #139
Changes from 22 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
add6519
feat: background and navbar
marineve17 94b55e5
Added first footer instance
toni-santos e37b278
initial sidebar styling
marineve17 0990a65
improve sidebar logic
marineve17 b11602f
layout adjustments to better fit the intended design
toni-santos c582672
updated footers social networks links
toni-santos 3158ee8
Added contact form
jlcrodrigues ddb7f95
Added social media graph
jlcrodrigues 35cb072
Made adjustments to icon and graph size
jlcrodrigues 8019294
Merge branch 'develop'
jlcrodrigues e11dae9
Added buildings oultine
jlcrodrigues 6e9ac5b
Made small improvements to contacts page
jlcrodrigues 0059096
Fixed linter issues
jlcrodrigues a9bab3f
Small changes to contacts
jlcrodrigues 592635b
Merge branch 'develop'
jlcrodrigues 83600a2
Fixed errors according to suggestions
jlcrodrigues 0b1faa6
Linting and branch update
MRita443 090fec3
Merge branch 'develop' of github.com:NIAEFEUP/website-niaefeup-fronte…
MRita443 4575213
Fixes to mobile margin overflows
MRita443 9e3d0cc
Added page storybook component
MRita443 43a22de
Merge branch 'develop' into feature/contacts
rubuy-74 87d5322
Comply with requested changes
rubuy-74 0990186
Create Storybook Components
rubuy-74 dbf3dfa
Acessability Change
rubuy-74 0bae58a
Minor Changes
rubuy-74 c14c0c7
Merge branch 'develop' of github.com:NIAEFEUP/website-niaefeup-fronte…
rubuy-74 fb97e6b
Linter issue
rubuy-74 bdb0389
fix navbar hidden buttons
rubuy-74 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<script> | ||
export let label = ''; | ||
export let id = ''; | ||
export let type = 'text'; | ||
export let placeholder = ''; | ||
export let isTextArea = false; | ||
</script> | ||
|
||
<label class="m-1 font-source_code font-bold text-white" for={id}>{label}</label><br class="mb-1" /> | ||
{#if isTextArea} | ||
<textarea | ||
class="mb-2 w-full rounded-lg p-2 font-source_code text-primary placeholder-primary" | ||
{id} | ||
rows="4" | ||
/><br /> | ||
{:else} | ||
<input | ||
class="mb-2 w-full rounded-lg p-2 text-primary placeholder-primary" | ||
{type} | ||
{id} | ||
{placeholder} | ||
/><br /> | ||
{/if} | ||
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<script lang="ts"> | ||
import { Icon } from 'svelte-icons-pack'; | ||
import Graph from './graph.svelte'; | ||
import LabelInput from '@/lib/components/icons/label-input.svelte'; | ||
import Icons from '$lib/components/icons/icons'; | ||
</script> | ||
|
||
<section class="-10 my-20 flex flex-col justify-center"> | ||
<section class="mb-4 flex flex-col text-center font-raleway text-white"> | ||
<h1 class="text-2xl font-bold">< Contacta-nos /></h1> | ||
</section> | ||
<div class="mx-10 grid-cols-2 md:grid"> | ||
<form class="min-w-[85%] justify-self-end"> | ||
<LabelInput label="// Email" id="email" type="email" placeholder="[email protected]" /> | ||
<LabelInput label="// Nome" id="name" type="text" /> | ||
<LabelInput label="// Assunto" id="subject" type="text" /> | ||
<LabelInput label="// Mensagem" id="message" type="text" isTextArea={true} /> | ||
|
||
<button | ||
class="m-1 justify-self-start rounded-lg bg-vivid-red-900 px-5 py-1 text-white" | ||
type="submit">Enviar</button | ||
> | ||
</form> | ||
<div class="m-2 flex w-full justify-center md:m-5 md:my-0"> | ||
<Graph /> | ||
</div> | ||
</div> | ||
<picture> | ||
<source media="(max-width: 767px)" srcset="/images/feup_buildings.svg" /> | ||
<source media="(min-width: 767px)" srcset="/images/feup_buildings_md.svg" /> | ||
<img | ||
src="/images/feup_buildings.svg" | ||
alt="Feup Buildings Outline" | ||
class="align-center h-52 w-full justify-self-center object-none object-center" | ||
/> | ||
</picture> | ||
<span | ||
id="location" | ||
class="ml-3 flex justify-center overflow-x-hidden text-white md:justify-start md:self-center lg:w-[1039px]" | ||
> | ||
<Icon src={Icons.Pin} color="white" size="40" className="py-2 pl-1" /> | ||
<div> | ||
<p>Rua Dr. Roberto Frias 4200-465, Porto</p> | ||
<p>Sala B315</p> | ||
</div> | ||
</span> | ||
</section> |
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it'd be beneficial to put this component on storybook