Skip to content
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

fix indentation and change file name from 'top_bar' to 'topbar' #49

Merged
merged 1 commit into from
Dec 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 0 additions & 27 deletions app/views/components/admin_prodi/top_bar.php

This file was deleted.

27 changes: 27 additions & 0 deletions app/views/components/admin_prodi/topbar.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<nav class="navbar">
<div class="container-fluid mx-3">
<div class="text-center d-flex pt-3 ">
<img src="foto.jpg" alt="Profil" class="rounded-circle"
style="width: 30px; height: 30px; background-color: #ddd;">
<div class="ms-2 flex-column text-start">
<h5 class="mb-0">Sri Whariyanti</h5>
<p class="mt-0" style="font-size: 12px;">Admin Prodi TI</p>
</div>
</div>
<div>
<svg width="30" height="30" viewBox="0 0 50 50" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="25" cy="25" r="25" fill="white" />
<g clip-path="url(#clip0_530_8699)">
<path
d="M25 39.9998C25.9946 39.9998 26.9484 39.6047 27.6516 38.9015C28.3549 38.1982 28.75 37.2444 28.75 36.2498H21.25C21.25 37.2444 21.6451 38.1982 22.3483 38.9015C23.0516 39.6047 24.0054 39.9998 25 39.9998ZM26.8656 12.0604C26.8918 11.7997 26.863 11.5364 26.7812 11.2875C26.6993 11.0386 26.5662 10.8096 26.3905 10.6153C26.2147 10.421 26.0001 10.2657 25.7606 10.1594C25.5211 10.0531 25.262 9.99817 25 9.99817C24.738 9.99817 24.4789 10.0531 24.2394 10.1594C23.9999 10.2657 23.7853 10.421 23.6095 10.6153C23.4338 10.8096 23.3007 11.0386 23.2188 11.2875C23.137 11.5364 23.1082 11.7997 23.1344 12.0604C21.0151 12.4915 19.1099 13.6417 17.7414 15.3164C16.373 16.991 15.6253 19.0871 15.625 21.2498C15.625 23.3086 14.6875 32.4998 11.875 34.3748H38.125C35.3125 32.4998 34.375 23.3086 34.375 21.2498C34.375 16.7123 31.15 12.9248 26.8656 12.0604Z"
fill="#052C65" />
</g>
<defs>
<clipPath id="clip0_530_8699">
<rect width="30" height="30" fill="white" transform="translate(10 10)" />
</clipPath>
</defs>
</svg>
</div>
</div>
</nav>