Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
single-page-application
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
Christopher Cottier
single-page-application
Commits
bff9ee2a
Commit
bff9ee2a
authored
Apr 20, 2021
by
ccottier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added images and styling for country routes
parent
7264f7b7
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
56 additions
and
3 deletions
+56
-3
app.component.css
src/app/app.component.css
+6
-0
app.module.ts
src/app/app.module.ts
+3
-1
england.component.css
src/app/england/england.component.css
+5
-0
england.component.html
src/app/england/england.component.html
+7
-0
france.component.css
src/app/france/france.component.css
+5
-0
france.component.html
src/app/france/france.component.html
+6
-0
greece.component.css
src/app/greece/greece.component.css
+5
-0
greece.component.html
src/app/greece/greece.component.html
+6
-0
header.component.html
src/app/header/header.component.html
+2
-2
spain.component.css
src/app/spain/spain.component.css
+5
-0
spain.component.html
src/app/spain/spain.component.html
+6
-0
greece-beach.jpg
src/assets/images/greece/greece-beach.jpg
+0
-0
greece-santorini.jpg
src/assets/images/greece/greece-santorini.jpg
+0
-0
No files found.
src/app/app.component.css
View file @
bff9ee2a
...
...
@@ -5,3 +5,9 @@
overflow-x
:
hidden
;
padding
:
50px
20px
20px
50px
;
}
.img
{
height
:
350px
;
width
:
350px
;
padding-left
:
5px
;
}
\ No newline at end of file
src/app/app.module.ts
View file @
bff9ee2a
import
{
NgModule
}
from
'@angular/core'
;
import
{
BrowserModule
}
from
'@angular/platform-browser'
;
import
{
NgbModule
}
from
'@ng-bootstrap/ng-bootstrap'
;
import
{
AppRoutingModule
}
from
'./app-routing.module'
;
import
{
AppComponent
}
from
'./app.component'
;
...
...
@@ -24,7 +25,8 @@ import { AccountComponent } from './account/account.component';
],
imports
:
[
BrowserModule
,
AppRoutingModule
AppRoutingModule
,
NgbModule
],
providers
:
[],
bootstrap
:
[
AppComponent
]
...
...
src/app/england/england.component.css
View file @
bff9ee2a
.img
{
height
:
350px
;
width
:
350px
;
padding-left
:
5px
;
}
src/app/england/england.component.html
View file @
bff9ee2a
<p>
england works!
</p>
<div
class=
'imgContainer'
>
<img
class=
'img'
src=
'/assets/images/england/england-bridge.jpg'
/>
<img
class=
'img'
src=
'/assets/images/england/england-parliament.jpg'
/>
<img
class=
'img'
src=
'/assets/images/england/england-stonehedge.jpg'
/>
</div>
\ No newline at end of file
src/app/france/france.component.css
View file @
bff9ee2a
.img
{
height
:
350px
;
width
:
350px
;
padding-left
:
5px
;
}
\ No newline at end of file
src/app/france/france.component.html
View file @
bff9ee2a
<p>
france works!
</p>
<div
class=
'imgContainer'
>
<img
class=
'img'
src=
'/assets/images/france/france-cafe.jpg'
/>
<img
class=
'img'
src=
'/assets/images/france/france-tower.jpg'
/>
<img
class=
'img'
src=
'/assets/images/france/france-town.jpg'
/>
</div>
\ No newline at end of file
src/app/greece/greece.component.css
View file @
bff9ee2a
.img
{
height
:
350px
;
width
:
350px
;
padding-left
:
5px
;
}
\ No newline at end of file
src/app/greece/greece.component.html
View file @
bff9ee2a
<p>
greece works!
</p>
<div
class=
'imgContainer'
>
<img
class=
'img'
src=
'/assets/images/greece/greece-beach.jpg'
/>
<img
class=
'img'
src=
'/assets/images/greece/greece-steps.jpg'
/>
<img
class=
'img'
src=
'/assets/images/greece/greece-santorini.jpg'
/>
</div>
\ No newline at end of file
src/app/header/header.component.html
View file @
bff9ee2a
...
...
@@ -2,8 +2,8 @@
<div
class=
'btnMenu'
>
<button
[
routerLink
]="['/
england
']"
>
England
</button>
<button
[
routerLink
]=
"['/
france
']"
>
France
</button>
<button
>
Greece
</button>
<button
>
Spain
</button>
<button
[
routerLink
]=
"['/
greece
']"
>
Greece
</button>
<button
[
routerLink
]=
"['/
spain
']"
>
Spain
</button>
</div>
<span
class=
'account'
>
<i
class=
"fa fa-user"
[
routerLink
]="['/
account
']"
></i>
...
...
src/app/spain/spain.component.css
View file @
bff9ee2a
.img
{
height
:
350px
;
width
:
350px
;
padding-left
:
5px
;
}
\ No newline at end of file
src/app/spain/spain.component.html
View file @
bff9ee2a
<p>
spain works!
</p>
<div
class=
'imgContainer'
>
<img
class=
'img'
src=
'/assets/images/spain/spain-barcelona.jpg'
/>
<img
class=
'img'
src=
'/assets/images/spain/spain-cathedral.jpg'
/>
<img
class=
'img'
src=
'/assets/images/spain/spain-dance.jpg'
/>
</div>
\ No newline at end of file
src/assets/images/greece/greece-
beach.jpg
→
src/assets/images/greece/greece-beach.jpg
View file @
bff9ee2a
File moved
src/assets/images/greece/gree
s
e-santorini.jpg
→
src/assets/images/greece/gree
c
e-santorini.jpg
View file @
bff9ee2a
File moved
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