구상한 모든것을 만들어 보았고 마무리 하는 단계를 진행한다.
1. 기본 기본경로 설정
딱 들어가면 바로 articlelist가 보이도록 설정한다.
urlpatterns = [
path('admin/', admin.site.urls),
path("", ArticleListView.as_view(), name='home'), # 요부분 추가
path('accounts/', include('accountapp.urls')),
path('profiles/', include('profileapp.urls')),
path('articles/', include('articleapp.urls')),
path('projects/', include('projectapp.urls')),
path('subscriptions/', include('subscriptionapp.urls'))
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
2. Google icon설정
head.html에 해당 링크 하단에 아이콘 링크를 추가한다.
그리고 두번째 링크에 있는 모양대로 텍스트를 변경해주고 class에 material-icons를 입력해주면 적용된다.
GitHub - google/material-design-icons: Material Design icons by Google
Material Design icons by Google. Contribute to google/material-design-icons development by creating an account on GitHub.
github.com
Material Symbols and Icons - Google Fonts
Material Symbols are our newest icons consolidating over 2,500 glyphs in a single font file with a wide range of design variants.
fonts.google.com
<!-- GOOGLE FONT ICONS LINK -->
<link href="https://fonts.googleapis.com/css2?family=Material+Icons"
rel="stylesheet">
css를 통해 하이퍼링크를 지워주면 끝!
수고했으요오
'FrameWork > pinterest clone' 카테고리의 다른 글
11. Subscriptionapp 만들기 (0) | 2023.07.25 |
---|---|
10. Projectapp 만들기 (0) | 2023.07.24 |
9. articleapp만들기 (0) | 2023.07.22 |
8. profileapp 만들기 (0) | 2023.07.22 |
7. accountapp 만들기 (0) | 2023.07.20 |