Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
Website
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jonas Leder
Website
Commits
73fa7ca4
Commit
73fa7ca4
authored
3 years ago
by
Jonas Leder
Browse files
Options
Downloads
Patches
Plain Diff
load svg banner from api
parent
cf144b1a
No related branches found
Branches containing commit
No related tags found
Loading
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
js/customElements/header.js
+1
-3
1 addition, 3 deletions
js/customElements/header.js
public/img/svg/banner.svg
+3
-0
3 additions, 0 deletions
public/img/svg/banner.svg
with
4 additions
and
3 deletions
js/customElements/header.js
+
1
−
3
View file @
73fa7ca4
...
...
@@ -12,9 +12,7 @@ class Header extends HTMLElement {
</div >
</div >
<div class="header-separator header-separator-bottom " >
<svg xmlns = "http://www.w3.org/2000/svg" viewBox = "0 0 1000 100" preserveAspectRatio = "none" >
<path class="svg-white-bg" d = "M737.9,94.7L0,0v100h1000V0L737.9,94.7z" ></path >
</svg >
<jl-svg data-name="banner"></jl-svg>
</div >
</div >
<jl-main_menu id = "mainMenu"></jl-main_menu>
...
...
This diff is collapsed.
Click to expand it.
public/img/svg/banner.svg
0 → 100644
+
3
−
0
View file @
73fa7ca4
<svg
xmlns =
"http://www.w3.org/2000/svg"
viewBox =
"0 0 1000 100"
preserveAspectRatio =
"none"
>
<path
class=
"svg-white-bg"
d =
"M737.9,94.7L0,0v100h1000V0L737.9,94.7z"
></path >
</svg >
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment