Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sevenpro-frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
FAP
sevenpro-frontend
Commits
cd244789
Commit
cd244789
authored
Jun 09, 2024
by
Wellton Quirino
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: component banner
parent
cac76b8a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
10 deletions
+17
-10
banner.tsx
src/components/banner.tsx
+14
-8
footer.tsx
src/components/footer.tsx
+2
-2
tailwind.config.ts
tailwind.config.ts
+1
-0
No files found.
src/components/banner.tsx
View file @
cd244789
...
...
@@ -5,14 +5,20 @@ import banner from '../../public/images/banner.png'
export
function
Banner
()
{
return
(
<
div
className=
"w-full h-[400px]"
>
<
div
/>
<
Image
src=
{
banner
}
className=
"absolute right-0"
alt=
"Banner"
unoptimized
/>
<
div
className=
"w-full h-[400px] relative bg-green-900"
>
<
div
className=
"absolute right-0"
>
<
div
className=
"absolute h-[400px] w-full md:w-[400px] bg-gradient-to-r from-green-900 md:from-10% z-20"
/>
<
h1
className=
"absolute z-20 font-bold text-2xl bottom-24 left-7 max-w-44 text-primary"
>
Transforme sua vida através do conhecimento
</
h1
>
<
Image
src=
{
banner
}
alt=
"Banner"
className=
"h-[400px] object-cover"
unoptimized
/>
<
div
className=
"absolute right-0 top-0 h-[400px] w-[200px] md:w-[600px] bg-gradient-to-l from-green-900 md:from-30% z-20"
/>
</
div
>
</
div
>
)
}
src/components/footer.tsx
View file @
cd244789
...
...
@@ -7,10 +7,10 @@ import { Button } from './ui/button'
export
function
Footer
()
{
return
(
<
footer
className=
"px-6 py-10 bg-primary-main"
>
<
footer
className=
"px-6 py-10 bg-primary-main
md:flex gap-3 flex-row-reverse justify-between items-center
"
>
<
Image
src=
{
imgFooter
}
alt=
"Educação Adventista"
/>
<
nav
className=
"py-8"
>
<
ul
>
<
ul
className=
"flex flex-col gap-4"
>
<
li
>
<
Button
asChild
variant=
"link"
className=
"p-0"
>
<
Link
href=
"#"
>
...
...
tailwind.config.ts
View file @
cd244789
...
...
@@ -23,6 +23,7 @@ const config = {
400
:
'#26AAA7'
,
700
:
'#007D77'
,
800
:
'#036D67'
,
900
:
'#045149'
,
},
yellow
:
{
500
:
'var(--yellow-500)'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment